CVE-2022-49280

NFSD: prevent underflow in nfssvc_decode_writeargs()

State
Published
Severity
9.8 Critical
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected Products

ProductVersions
LinuxLinux
  • a51b5b737a0be93fae6ea2a18df03ab2359a3f4b to before 614a61e1592051cc42d3c38f899c9f7bdaad8a1dAffected
  • a51b5b737a0be93fae6ea2a18df03ab2359a3f4b to before 2764af8ce0bf03cc43ee4a11897cab96bde6caaeAffected
  • a51b5b737a0be93fae6ea2a18df03ab2359a3f4b to before 413d8fefafe531a9442bb623e3fe292a38f88d65Affected
  • a51b5b737a0be93fae6ea2a18df03ab2359a3f4b to before 184416d4b98509fb4c3d8fc3d6dc1437896cc159Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.