# CVE-2022-49280: NFSD: prevent underflow in nfssvc_decode_writeargs()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-02)
- Published: 2025-02-26T01:56:22.662Z
- Modified: 2026-08-05T08:54:34.949Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a51b5b737a0be93fae6ea2a18df03ab2359a3f4b before 614a61e1592051cc42d3c38f899c9f7bdaad8a1d; from a51b5b737a0be93fae6ea2a18df03ab2359a3f4b before 2764af8ce0bf03cc43ee4a11897cab96bde6caae; from a51b5b737a0be93fae6ea2a18df03ab2359a3f4b before 413d8fefafe531a9442bb623e3fe292a38f88d65; from a51b5b737a0be93fae6ea2a18df03ab2359a3f4b before 184416d4b98509fb4c3d8fc3d6dc1437896cc159; 5.12 (not affected: before 5.12; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-49280](https://www.cve.org/CVERecord?id=CVE-2022-49280), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49280](https://nvd.nist.gov/vuln/detail/CVE-2022-49280), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49280 · Whole record: https://cve.day/CVE-2022-49280.json · Rebuilt by cve.day 2026-11-25T22:58:20.355Z
