Kernel memory corruption via SMB Direct SGE overflow
Published Jul 4, 2025 · Updated Aug 5, 2026
An out-of-bounds write in affected Linux 6.12 through 6.16-rc2 kernels allows local users to corrupt memory during SMB Direct writes. smb_extract_folioq_to_rdma() joins its capacity and byte-budget loop tests with OR and fails to reduce maxsize, so smb_set_sge() writes beyond the allocated scatter-gather list. Reachability requires the SMB Direct RDMA path and a write workload using a folio-queue iterator; the demonstrated result is an eight-byte slab out-of-bounds write.
Summary
What happened
An out-of-bounds write in affected Linux 6.12 through 6.16-rc2 kernels allows local users to corrupt memory during SMB Direct writes. smb_extract_folioq_to_rdma() joins its capacity and byte-budget loop tests with OR and fails to reduce maxsize, so smb_set_sge() writes beyond the allocated scatter-gather list. Reachability requires the SMB Direct RDMA path and a write workload using a folio-queue iterator; the demonstrated result is an eight-byte slab out-of-bounds write.
The record
- CVE
- CVE-2025-38179
- Published
- Jul 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 4, 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=6.12
- Affected versionversion=c45ebd636c32d33c75e51ce977520ff146bd41a1 <8ae7814589d7bd850294ac14ec4c1725dafd42ca
- Affected versionversion=c45ebd636c32d33c75e51ce977520ff146bd41a1 <a379a8a2a0032e12e7ef397197c9c2ad011588d6
- Affected versionversion=c45ebd636c32d33c75e51ce977520ff146bd41a1 <e0ba9b2f188166550296005e64b15e80db82ad8a
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.
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