CVE-2026-64016 in the critical feed json
ksmbd: fix durable reconnect error path file lifetime
published 2026-07-19 3 mo ago modified 2026-10-13 26 d ago also EUVD-2026-45589
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.18.34, 7.0.11
- linux Debian 14 7.0.12-1
debian advisories DEBIAN-CVE-2026-64016
- git.kernel.org/stable/c/5e641e4ee0bc1937408d41051a908ad4151be63b commit
- git.kernel.org/stable/c/478bfaa036bd0c7e179acff8b8484bccdee3b8c7 commit
- git.kernel.org/stable/c/a1a39f227c80cbf369767badc32cba2b225147d1 commit
- git.kernel.org/stable/c/6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3 commit
- git.kernel.org/stable/c/3515503322f4819277091839eed46b695096aca5 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-64016 updated
kernel: ksmbd: fix durable reconnect error path file lifetime
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/5e641e4ee0bc1937408d41051a908ad4151be63b
patch
-
git.kernel.org
/stable/c/478bfaa036bd0c7e179acff8b8484bccdee3b8c7
patch
-
git.kernel.org
/stable/c/a1a39f227c80cbf369767badc32cba2b225147d1
patch
-
git.kernel.org
/stable/c/6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3
patch
-
git.kernel.org
/stable/c/3515503322f4819277091839eed46b695096aca5
patch
Sources
- CVE List CVE-2026-64016
- NVD CVE-2026-64016
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.