Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-64016

ksmbd: fix durable reconnect error path file lifetime
Back to all
CVE

CVE-2026-64016

ksmbd: fix durable reconnect error path file lifetime

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix durable reconnect error path file lifetime

After a durable reconnect succeeds, ksmbdreopendurable_fd() republishes

the same ksmbdfile into the session volatile-id table. If smb2open()

then takes a later error path, cleanup first calls ksmbdfdput(work, fp)

and then unconditionally calls ksmbdputdurablefd(dhinfo.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

_ksmbdclose_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/3515503322f4819277091839eed46b695096aca5, https://git.kernel.org/stable/c/6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3, https://git.kernel.org/stable/c/a1a39f227c80cbf369767badc32cba2b225147d1, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64016.json, https://nvd.nist.gov/vuln/detail/CVE-2026-64016, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00649%
EPSS Percentile
0.48511%
Introduced Version
ce2e164c1c51c3f7813b80f8c926836e896bcbb3,97a0cd55283b4e63fd92804da91c8d9896adcad9,1baff47b81f94f9231c91236aa511420d0e266b9,6.18.33,7.0.10,0
Fix Available
a1a39f227c80cbf369767badc32cba2b225147d1,6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3,3515503322f4819277091839eed46b695096aca5,6.18.34,7.0.11

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading