CVE-2026-64016

Source
https://cve.org/CVERecord?id=CVE-2026-64016
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64016.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64016
Downstream
Published
2026-07-19T15:39:11.266Z
Modified
2026-07-22T05:29:41.915560010Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ksmbd: fix durable reconnect error path file lifetime
Details

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

ksmbd: fix durable reconnect error path file lifetime

After a durable reconnect succeeds, ksmbdreopendurablefd() 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(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 __ksmbdclosefd(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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64016.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ce2e164c1c51c3f7813b80f8c926836e896bcbb3
Fixed
a1a39f227c80cbf369767badc32cba2b225147d1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
97a0cd55283b4e63fd92804da91c8d9896adcad9
Fixed
6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1baff47b81f94f9231c91236aa511420d0e266b9
Fixed
3515503322f4819277091839eed46b695096aca5

Affected versions

v6.*
v6.18.33
v7.*
v7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64016.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.33
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
7.0.10
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64016.json"