CVE-2022-48828CWE-191

CVE-2022-48828

Critical · published July 16, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
49.6
In the wild
Unconfirmed
What it is

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

NFSD: Fix ia_size underflow

iattr::ia_size is a loff_t, which is a signed 64-bit type. NFSv3 and

NFSv4 both define file size as an unsigned 64-bit type. Thus there

is a range of valid file size values an NFS client can send that is

already larger than Linux can handle.

Currently decode_fattr4() dumps a full u64 value into ia_size. If

that value happens to be larger than S64_MAX, then ia_size

underflows. I'm about to fix up the NFSv3 behavior as well, so let's

catch the underflow in the common code path: nfsd_setattr().

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00631 · 49.6th percentile
Weakness
CWE-191 · Integer Underflow (Wrap or Wraparound)
Published
2024-07-16T16:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel< 5.4.2955.4.295
linux/linux_kernel≥ 5.5, < 5.10.2205.10.220
linux/linux_kernel≥ 5.11, < 5.15.245.15.24
linux/linux_kernel≥ 5.16, < 5.16.105.16.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 16 JUL 11:44Z
    NFSD: Fix ia_size underflow
    cvelistv5