Kernel crash via over-reverted netfs write iterator
Published Jul 3, 2025 · Updated Aug 5, 2026
Out-of-bounds access in the Linux netfs write-retry path allows remote attackers controlling a 9p server to crash the kernel. netfs_retry_write_stream() resets a shortened subrequest iterator by the full length instead of subtracting transferred bytes, causing iov_iter_revert() to walk before valid storage. Reachability requires an existing privileged netfs mount and attacker-controlled short-write replies; the corrupted iterator can also expose kernel memory or corrupt page references.
Summary
What happened
Out-of-bounds access in the Linux netfs write-retry path allows remote attackers controlling a 9p server to crash the kernel. netfs_retry_write_stream() resets a shortened subrequest iterator by the full length instead of subtracting transferred bytes, causing iov_iter_revert() to walk before valid storage. Reachability requires an existing privileged netfs mount and attacker-controlled short-write replies; the corrupted iterator can also expose kernel memory or corrupt page references.
The record
- CVE
- CVE-2025-38139
- Published
- Jul 3, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 3, 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=cd0277ed0c188dd40e7744e89299af7b78831ca4 <4481f7f2b3df123ec77e828c849138f75cff2bf2
- Affected versionversion=cd0277ed0c188dd40e7744e89299af7b78831ca4 <bd0edaf99a920b1a9decd773179caacacb61d0fd
- Affected versionversion=cd0277ed0c188dd40e7744e89299af7b78831ca4 <e0fefe9bc07e6101fdc57abda3644f296c114e31
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