# CVE-2022-49280: NFSD: prevent underflow in nfssvc\_decode\_writeargs()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **CWE:** CWE-191
- **Published:** 2025-02-26T01:56:22.662Z
- **Modified:** 2026-08-05T08:54:34.949Z

## Who should check

- Anyone running Linux \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 614a61e1592051cc42d3c38f899c9f7bdaad8a1d; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 2764af8ce0bf03cc43ee4a11897cab96bde6caae; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 413d8fefafe531a9442bb623e3fe292a38f88d65; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 184416d4b98509fb4c3d8fc3d6dc1437896cc159
- Anyone running Linux 5.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

NFSD: prevent underflow in nfssvc\_decode\_writeargs()

Smatch complains:

	fs/nfsd/nfsxdr.c:341 nfssvc\_decode\_writeargs()
	warn: no lower bound on 'args-\>len'

Change the type to unsigned to prevent this issue.

## Affected and fixed versions

- Linux: \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 614a61e1592051cc42d3c38f899c9f7bdaad8a1d; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 2764af8ce0bf03cc43ee4a11897cab96bde6caae; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 413d8fefafe531a9442bb623e3fe292a38f88d65; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 184416d4b98509fb4c3d8fc3d6dc1437896cc159 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 184416d4b98509fb4c3d8fc3d6dc1437896cc159 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49280. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49280.md
Affected: Linux >= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, < 614a61e1592051cc42d3c38f899c9f7bdaad8a1d; >= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, < 2764af8ce0bf03cc43ee4a11897cab96bde6caae; >= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, < 413d8fefafe531a9442bb623e3fe292a38f88d65; >= a51b5b737a0be93fae6ea2a…
Fixed in: Linux 614a61e1592051cc42d3c38f899c9f7bdaad8a1d, Linux 2764af8ce0bf03cc43ee4a11897cab96bde6caae, Linux 413d8fefafe531a9442bb623e3fe292a38f88d65, Linux 184416d4b98509fb4c3d8fc3d6dc1437896cc159

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49280 being exploited?

There is no confirmed exploitation: CVE-2022-49280 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49280?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-49280?

Linux \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 614a61e1592051cc42d3c38f899c9f7bdaad8a1d; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 2764af8ce0bf03cc43ee4a11897cab96bde6caae; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 413d8fefafe531a9442bb623e3fe292a38f88d65; \>= a51b5b737a0be93fae6ea2a18df03ab2359a3f4b, \< 184416d4b98509fb4c3d8fc3d6dc1437896cc159; Linux 5.12.

### Is there a fix for CVE-2022-49280?

Yes. Fixed in Linux 614a61e1592051cc42d3c38f899c9f7bdaad8a1d, Linux 2764af8ce0bf03cc43ee4a11897cab96bde6caae, Linux 413d8fefafe531a9442bb623e3fe292a38f88d65, Linux 184416d4b98509fb4c3d8fc3d6dc1437896cc159. Upgrade Linux to 184416d4b98509fb4c3d8fc3d6dc1437896cc159 or later.

### How do I check if I'm affected by CVE-2022-49280?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/614a61e1592051cc42d3c38f899c9f7bdaad8a1d>
- patch: <https://git.kernel.org/stable/c/2764af8ce0bf03cc43ee4a11897cab96bde6caae>
- patch: <https://git.kernel.org/stable/c/413d8fefafe531a9442bb623e3fe292a38f88d65>
- patch: <https://git.kernel.org/stable/c/184416d4b98509fb4c3d8fc3d6dc1437896cc159>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49280>

HTML: <https://flawdb.com/CVE-2022-49280> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49280>
