Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2026-64397

ksmbd: serialize QUERY_DIRECTORY requests per file

Description

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 the shared directory enumeration state. The lock covers scan restart, dot entry state, readdir_data setup and iteration, and response construction. This prevents another request from replacing readdir_data.private before the current request has finished using it and also serializes the shared file position.

Timeline

  1. ID reserved

    By Linux

  2. · 6 days later

    Published

  3. · 23 days later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2026-64397, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Analyzed3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.48% · top 58% of all CVEs (11 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.

Affected products

  • Linux · Linux

    • affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 1426fd79102539bc0ab5c8fced047ad4313b9908
    • affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 2a64dbf9c739ddf7a25a066507597bf89f8f73d2
    • affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 64dac2d486ec1eb18dc00968b16a230b6b75ec24
    • affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < a1d5d31cad593ea5e1b637f2f39c9ef6d09d1199
    • affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < fd22b039a5a05bc1d6818e9dcd1001fb432a829d
    • affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < be6d26bf27499977c746abc163659915082348d8
  • Linux · Linux

    • affected 5.15
    • unaffected < 5.15
    • unaffected 6.1.178 – ≤ 6.1.*
    • unaffected 6.6.145 – ≤ 6.6.*
    • unaffected 6.12.96 – ≤ 6.12.*
    • unaffected 6.18.39 – ≤ 6.18.*
    • unaffected 7.1.4 – ≤ 7.1.*
    • unaffected 7.2 – ≤ *

References

References6

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2026-64397 badge
[![CVE-2026-64397](https://cveledger.app/badge/CVE-2026-64397.svg)](https://cveledger.app/cve/CVE-2026-64397)

Record last updated .