# CVE-2022-48829: NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-07-16T11:44:13.313Z
- Modified: 2026-10-14T19:16:57.790Z
- 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: Fix NFSv3 SETATTR/CREATE's handling of large file sizes

iattr::ia_size is a loff_t, so these NFSv3 procedures must be
careful to deal with incoming client size values that are larger
than s64_max without corrupting the value.

Silently capping the value results in storing a different value
than the client passed in which is unexpected behavior, so remove
the min_t() check in decode_sattr3().

Note that RFC 1813 permits only the WRITE procedure to return
NFS3ERR_FBIG. We believe that NFSv3 reference implementations
also return NFS3ERR_FBIG when ia_size is too large.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 72c14aed6838b5d90b4dd926b6a339b34bb02e08; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a231ae6bb50e7c0a9e9efd7b0d10687f1d71b3a3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 37f2d2cd8eadddbbd9c7bda327a9393399b2f89b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a648fdeb7c0e17177a2280344d015dba3fbe3314; 2.6.12 (not affected: before 2.6.12; from 5.4.295 up to 5.4.*; from 5.10.220 up to 5.10.*; from 5.15.24 up to 5.15.*; from 5.16.10 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: before 5.4.295; from 5.5 before 5.10.220; from 5.11 before 5.15.24; from 5.16 before 5.16.10; 5.17

## Every score

- Linux: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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/72c14aed6838b5d90b4dd926b6a339b34bb02e08> (patch)
- <https://git.kernel.org/stable/c/a231ae6bb50e7c0a9e9efd7b0d10687f1d71b3a3> (patch)
- <https://git.kernel.org/stable/c/37f2d2cd8eadddbbd9c7bda327a9393399b2f89b> (patch)
- <https://git.kernel.org/stable/c/aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0> (patch)
- <https://git.kernel.org/stable/c/a648fdeb7c0e17177a2280344d015dba3fbe3314> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

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

---

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