---
id: CVE-2022-48829
title: |-
  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 v…
summary: |-
  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 v…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.4.295
  - 'linux_kernel >= 5.5, < 5.10.220'
  - 'linux_kernel >= 5.11, < 5.15.24'
  - 'linux_kernel >= 5.16, < 5.16.10'
  - linux_kernel = 5.17
patched:
  - linux_kernel 5.16.10
published: '2024-07-16'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T19:16:57.790'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-48829'
references:
  - url: 'https://git.kernel.org/stable/c/37f2d2cd8eadddbbd9c7bda327a9393399b2f89b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/72c14aed6838b5d90b4dd926b6a339b34bb02e08'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a231ae6bb50e7c0a9e9efd7b0d10687f1d71b3a3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a648fdeb7c0e17177a2280344d015dba3fbe3314'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/37f2d2cd8eadddbbd9c7bda327a9393399b2f89b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a231ae6bb50e7c0a9e9efd7b0d10687f1d71b3a3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a648fdeb7c0e17177a2280344d015dba3fbe3314'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00653
epssPercentile: 0.51093
ingestedAt: '2026-10-14T19:49:57.532Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T16:57:33.741233Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.4.295`
- `linux_kernel >= 5.5, < 5.10.220`
- `linux_kernel >= 5.11, < 5.15.24`
- `linux_kernel >= 5.16, < 5.16.10`
- `linux_kernel = 5.17`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.16.10`
