Local kernel corruption via CIFS unmount allocation failure
Published Jul 10, 2025 · Updated Aug 5, 2026
Memory corruption in the Linux kernel CIFS client allows local users to corrupt kernel memory during a low-memory SMB unmount. close_all_cached_dirs() can fail to allocate a temporary dentry list, leaving references that outlive superblock destruction and causing later dput() operations to read and write freed kernel memory. A low-privileged local account can reach the path through user-mountable or automounted SMB shares, resulting in kernel read/write primitives or a panic.
Summary
What happened
Memory corruption in the Linux kernel CIFS client allows local users to corrupt kernel memory during a low-memory SMB unmount. close_all_cached_dirs() can fail to allocate a temporary dentry list, leaving references that outlive superblock destruction and causing later dput() operations to read and write freed kernel memory. A low-privileged local account can reach the path through user-mountable or automounted SMB shares, resulting in kernel read/write primitives or a panic.
The record
- CVE
- CVE-2025-38321
- Published
- Jul 10, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=3fa640d035e5ae526769615c35cb9ed4be6e3662 <4479db143390bdcadc1561292aab579cdfa9f6c6
- Affected versionversion=3fa640d035e5ae526769615c35cb9ed4be6e3662 <a2182743a8b4969481f64aec4908ff162e8a206c
- Affected versionversion=548812afd96982a76a93ba76c0582ea670c40d9e <43f26094d6702e494e800532c3f1606e7a68eb30
- Affected versionversion=6.11.11 <6.12
- Affected versionversion=6.12.2 <6.12.35
- Affected versionversion=6.13
- Affected versionversion=6.6.64 <6.6.95
- Affected versionversion=73934e535cffbda1490fa97d82690a0f9aa73e94 <b8ced2b9a23a1a2c1e0ed8d0d02512e51bdf38da
- Affected versionversion=ff4528bbc82d0d90073751f7b49e7b9e9c7e5638
What conditions does exploitation require?
What is affected?
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