CVE-2026-64397: In the Linux kernel, the following vulnerability has been resolved: ksmbd: serialize QUERY_DIRECTORY requests
CVE-2026-64397 is a critical-severity flaw (CVSS 9.8) affecting linux kernel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: serialize QUERY_DIRECTORY requests per file smb2_query_dir() stores a pointer to its stack-allocated private data in the ksmbd_file readdir_data. Concurrent QUERY_DIRECTORY requests using the same file handle can overwrite this pointer while an iterate_dir() callback is still using it, resulting in a stack use-after-free. Add a per-file mutex and hold it while accessing
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2026-07-25 |
| Last modified | 2026-09-04 |
Last updated 2026-09-04 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-64397?
linux kernel: upgrade to 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4. Exact commands for each OS are on this page.
Is CVE-2026-64397 being exploited?
CVE-2026-64397 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-64397 affect?
CVE-2026-64397 affects linux kernel. Severity is critical (CVSS 9.8). In the Linux kernel, the following vulnerability has been resolved: ksmbd: serialize QUERY_DIRECTORY requests per file smb2_query_dir() stores a pointer to its stack-allocated private data in the ksmbd_file readdir_data. Concurrent QUERY_
How urgent is CVE-2026-64397?
Priority 55/100. Critical severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-63938 CRITICAL 9.3 UPGRADE In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Check PSC request indices again
- CVE-2026-63937 HIGH 8.8 UPGRADE In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Use READ_ONCE() when reading en
- CVE-2026-63927 HIGH 7.8 UPGRADE In the Linux kernel, the following vulnerability has been resolved: usb: dwc2: Fix use after free in debug co
- CVE-2026-63925 HIGH 8.1 UPGRADE In the Linux kernel, the following vulnerability has been resolved: macsec: fix replay protection at XPN lowe
- CVE-2026-63923 HIGH 8.8 UPGRADE In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: validate body pcifunc in rv