CVE-2026-64016
ksmbd: fix durable reconnect error path file lifetime
Mitigation
- Upgrade Linux to 3515503322f4819277091839eed46b695096aca5 or later.
- Upgrade Linux to 7.0.11 or later.
Who should check
- Anyone running Linux >= f0ff7f12398e85b3a11745ff7feab6246f3d75c2, < 5e641e4ee0bc1937408d41051a908ad4151be63b; >= 4db3dcac84c2f14a45ae201efb38de1fb1bfc009, < 478bfaa036bd0c7e179acff8b8484bccdee3b8c7; >= ce2e164c1c51c3f7813b80f8c926836e896bcbb3, < a1a39f227c80cbf369767badc32cba2b225147d1; >= 97a0cd55283b4e63fd92804da91c8d9896adcad9, < 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3; >= 1baff47b81f94f9231c91236aa511420d0e266b9, < 3515503322f4819277091839eed46b695096aca5
- Anyone running Linux >= 6.18.33, < 6.18.34; >= 7.0.10, < 7.0.11
Vulnerability facts
- Affected
- Linux >= f0ff7f12398e85b3a11745ff7feab6246f3d75c2, < 5e641e4ee0bc1937408d41051a908ad4151be63b; >= 4db3dcac84c2f14a45ae201efb38de1fb1bfc009, < 478bfaa036bd0c7e179acff8b8484bccdee3b8c7; >= ce2e164c1c51c3f7813b80f8c926836e896bcbb3, < a1a39f227c80cbf369767badc32cba2b225147d1; >= 97a0cd55283b4e63fd92804da91c8d9896adcad9, < 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3; >= 1baff47b81f94f9231c91236aa511420d0e266b9, < 3515503322f4819277091839eed46b695096aca5; Linux >= 6.18.33, < 6.18.34; >= 7.0.10, < 7.0.11
- Fixed in
- Linux 5e641e4ee0bc1937408d41051a908ad4151be63b, Linux 478bfaa036bd0c7e179acff8b8484bccdee3b8c7, Linux 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3, Linux 3515503322f4819277091839eed46b695096aca5, Linux 6.18.34, Linux 7.0.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f0ff7f12398e85b3a11745ff7feab6246f3d75c2, < 5e641e4ee0bc1937408d41051a908ad4151be63b; >= 4db3dcac84c2f14a45ae201efb38de1fb1bfc009, < 478bfaa036bd0c7e179acff8b8484bccdee3b8c7; >= ce2e164c1c51c3f7813b80f8c926836e896bcbb3, < a1a39f227c80cbf369767badc32cba2b225147d1; >= 97a0cd55283b4e63fd92804da91c8d9896adcad9, < 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3; >= 1baff47b81f94f9231c91236aa511420d0e266b9, < 3515503322f4819277091839eed46b695096aca5 | — | cvelist |
| Linux | >= 6.18.33, < 6.18.34; >= 7.0.10, < 7.0.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64016. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64016.md Affected: Linux >= f0ff7f12398e85b3a11745ff7feab6246f3d75c2, < 5e641e4ee0bc1937408d41051a908ad4151be63b; >= 4db3dcac84c2f14a45ae201efb38de1fb1bfc009, < 478bfaa036bd0c7e179acff8b8484bccdee3b8c7; >= ce2e164c1c51c3f7813b80f8c926836e896bcbb3, < a1a39f227c80cbf369767badc32cba2b225147d1; >= 97a0cd55283b4e63fd92804… Fixed in: Linux 5e641e4ee0bc1937408d41051a908ad4151be63b, Linux 478bfaa036bd0c7e179acff8b8484bccdee3b8c7, Linux 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3, Linux 3515503322f4819277091839eed46b695096aca5, Linux 6.18.34, Linux 7.0.11 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/5e641e4ee0bc1937408d41051a908ad4151be63b
- https://git.kernel.org/stable/c/478bfaa036bd0c7e179acff8b8484bccdee3b8c7
- https://git.kernel.org/stable/c/a1a39f227c80cbf369767badc32cba2b225147d1
- https://git.kernel.org/stable/c/6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3
- https://git.kernel.org/stable/c/3515503322f4819277091839eed46b695096aca5
FAQ
Is CVE-2026-64016 being exploited?
There is no confirmed exploitation: CVE-2026-64016 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64016?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-64016?
Linux >= f0ff7f12398e85b3a11745ff7feab6246f3d75c2, < 5e641e4ee0bc1937408d41051a908ad4151be63b; >= 4db3dcac84c2f14a45ae201efb38de1fb1bfc009, < 478bfaa036bd0c7e179acff8b8484bccdee3b8c7; >= ce2e164c1c51c3f7813b80f8c926836e896bcbb3, < a1a39f227c80cbf369767badc32cba2b225147d1; >= 97a0cd55283b4e63fd92804da91c8d9896adcad9, < 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3; >= 1baff47b81f94f9231c91236aa511420d0e266b9, < 3515503322f4819277091839eed46b695096aca5; Linux >= 6.18.33, < 6.18.34; >= 7.0.10, < 7.0.11.
Is there a fix for CVE-2026-64016?
Yes. Fixed in Linux 5e641e4ee0bc1937408d41051a908ad4151be63b, Linux 478bfaa036bd0c7e179acff8b8484bccdee3b8c7, Linux 6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3, Linux 3515503322f4819277091839eed46b695096aca5, Linux 6.18.34, Linux 7.0.11. Upgrade Linux to 3515503322f4819277091839eed46b695096aca5 or later. Upgrade Linux to 7.0.11 or later.
How do I check if I'm affected by CVE-2026-64016?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.