PT-2026-61333 · Linux · Linux
CVE-2026-64016
·
Published
2026-07-19
·
Updated
2026-07-19
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix durable reconnect error path file lifetime
After a durable reconnect succeeds, ksmbd reopen durable fd() republishes
the same ksmbd file into the session volatile-id table. If smb2 open()
then takes a later error path, cleanup first calls ksmbd fd put(work, fp)
and then unconditionally calls ksmbd put durable fd(dh info.fp).
In this case fp and dh info.fp are the same object. The first put drops the
reconnect lookup reference, but the final durable put can run
ksmbd close fd(NULL, fp). Because the final close is not session-aware,
it can free the file object without removing the volatile-id entry that was
just published into the session table.
Use the session-aware put for the final reconnect drop when the reconnect
had already succeeded and the error path is cleaning up the republished
file. Earlier reconnect failures, before fp is assigned to dh info.fp, keep
using the durable-only put path.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux