Kernel memory exhaustion via unreleased SID buffers
Published Jul 19, 2026 · Updated Jul 19, 2026
Memory leak in Linux Kernel ksmbd allows local users to exhaust kernel memory through a file with excessive POSIX ACL entries. In set_posix_acl_entries_dacl(), overflow guards break out after kmalloc_obj() allocates each smb_sid but before the matching kfree(sid). Local access to create or modify such a file and repeatedly request its DACL is required; each request leaks kernel memory until service is interrupted.
Summary
What happened
Memory leak in Linux Kernel ksmbd allows local users to exhaust kernel memory through a file with excessive POSIX ACL entries. In set_posix_acl_entries_dacl(), overflow guards break out after kmalloc_obj() allocates each smb_sid but before the matching kfree(sid). Local access to create or modify such a file and repeatedly request its DACL is required; each request leaks kernel memory until service is interrupted.
The record
- CVE
- CVE-2026-64139
- Published
- Jul 19, 2026
- Updated
- Jul 19, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-401, T1499.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 19, 2026CVE publishedPublication date reported by the CVE source.
- Jul 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=299f962c0b02d048fb45d248b4da493d03f3175d <af92ee994cc7f7e83a41c2025f32257a2f82a7ef
- Affected versionversion=41e53a773db6342ac9a689ee5ba635c31744c9f0
- Affected versionversion=5e7b8f3c539d69b2ed5f2408e2f75e68ce7eef43 <0e198f09cb2a554c04de0fea4e790f1250a943ca
- Affected versionversion=6.1.175 <6.2
- Affected versionversion=6.12.84 <6.12.92
- Affected versionversion=6.18.25 <6.18.34
- Affected versionversion=6.6.136 <6.6.142
- Affected versionversion=7.0.2 <7.0.11
- Affected versionversion=8d5729350b236896f51379588d9a690b7fafb8db <9d378e17c864da08c3a4df41dae92cfa6468b00a
- Affected versionversion=e1955a94b6f17f4b058afa955a6f187eb3ed7615 <519fb0a42ce5d7e46935577309fb282a5f2c6ea3
- Affected versionversion=ef7902be3f215b6bf7babe4dc9dd9a7d57dad7a7 <eced48cb08f07393a5ea770fdd1026452883c3ad
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo