Skip to content
9.1 Critical

CVE-2022-48828 In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix ia_size underflow iattr::ia_size is a…

Description

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

Affected products and versions

Product Affected versions Fixed in
Linux 5.17 earliest → < 5.17 5.17
Linux 5.16 earliest → < 5.16.10 5.16.10
Linux 5.15 earliest → < 5.15.24 5.15.24
Linux 5.10 earliest → < 5.10.220 5.10.220
Linux 5.4 earliest → < 5.4.295 5.4.295
Linux 2.6.12 No fix stated
RUGGEDCOM RST2428P Versions not published
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions not published
SCALANCE XCM-/XRM-/XCH-/XRH-300 family Versions not published
Show the other branch
Product Affected versions Fixed in
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE