Kernel compromise via oversized NFSv2 WRITE length
Published Feb 26, 2025 · Updated Aug 5, 2026
Integer underflow in the NFSD NFSv2 WRITE decoder in the Linux kernel allows remote attackers to corrupt kernel memory. nfssvc_decode_writeargs treats the attacker-controlled opaque length as signed, so oversized values bypass the maximum-size check and wrap during alignment before becoming ULONG_MAX downstream. A reachable NFSD service with NFSv2 enabled is sufficient; crafted WRITE RPCs can disclose or overwrite kernel memory and panic the host without prior authentication or user interaction.
Summary
What happened
Integer underflow in the NFSD NFSv2 WRITE decoder in the Linux kernel allows remote attackers to corrupt kernel memory. nfssvc_decode_writeargs treats the attacker-controlled opaque length as signed, so oversized values bypass the maximum-size check and wrap during alignment before becoming ULONG_MAX downstream. A reachable NFSD service with NFSv2 enabled is sufficient; crafted WRITE RPCs can disclose or overwrite kernel memory and panic the host without prior authentication or user interaction.
The record
- CVE
- CVE-2022-49280
- Published
- Feb 26, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-191, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 26, 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=5.12
- Affected versionversion=a51b5b737a0be93fae6ea2a18df03ab2359a3f4b <184416d4b98509fb4c3d8fc3d6dc1437896cc159
- Affected versionversion=a51b5b737a0be93fae6ea2a18df03ab2359a3f4b <2764af8ce0bf03cc43ee4a11897cab96bde6caae
- Affected versionversion=a51b5b737a0be93fae6ea2a18df03ab2359a3f4b <413d8fefafe531a9442bb623e3fe292a38f88d65
- Affected versionversion=a51b5b737a0be93fae6ea2a18df03ab2359a3f4b <614a61e1592051cc42d3c38f899c9f7bdaad8a1d
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