Skip to content
Fencer Vulns
high 7.5

CVE-2022-48827 json

NFSD: Fix the behavior of READ near OFFSET_MAX

published 2024-07-16 2 y ago modified 2026-10-14 25 d ago also EUVD-2022-53706

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 50%
public exploits
0
none known

Summary

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

NFSD: Fix the behavior of READ near OFFSET_MAX

Dan Aloni reports: > Due to commit 8cfb9015280d ("NFS: Always provide aligned buffers to > the RPC read layers") on the client, a read of 0xfff is aligned up > to server rsize of 0x1000. > > As a result, in a test where the server has a file of size > 0x7fffffffffffffff, and the client tries to read from the offset > 0x7ffffffffffff000, the read causes loff_t overflow in the server > and it returns an NFS code of EINVAL to the client. The client as > a result indefinitely retries the request.

The Linux NFS client does not handle NFS?ERR_INVAL, even though all NFS specifications permit servers to return that status code for a READ.

Instead of NFS?ERR_INVAL, have out-of-range READ requests succeed and return a short result. Set the EOF flag in the result to prevent the client from retrying the READ request. This behavior appears to be consistent with Solaris NFS servers.

Note that NFSv3 and NFSv4 use u64 offset values on the wire. These must be converted to loff_t internally before use -- an implicit type cast is not adequate for this purpose. Otherwise VFS checks against sb->s_maxbytes do not work properly.

Patch / fix

  • Linux Linux 5.10.220, 5.15.24, 5.16.10, 5.17
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
  • linux Debian 14, Debian 13, Debian 12 5.16.10-1

debian advisories DEBIAN-CVE-2022-48827

  • linux-intel-iotg-5.15 Ubuntu 20.04 LTS 5.15.0-1008.11~20.04.1

ubuntu advisories UBUNTU-CVE-2022-48827

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • perf RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • bpftool RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • kernel-core RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • kernel-tools RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • python3-perf RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • kernel-modules RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.18.0-372.118.1.el8_6
  • kernel-zfcpdump RHEL 8.6 E4S 4.18.0-372.118.1.el8_6

red hat advisories RHSA-2024:5281RHSA-2024:5282RHSA-2024:5266

  • kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.174.1
  • kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
  • kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
  • kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.174.1
  • kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
  • kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
  • kernel-default-base SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 5.3.18-150300.59.174.1.150300.18.103.1
  • kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.181.2

suse advisories SUSE-SU-2024:3249-1SUSE-SU-2024:3225-1SUSE-SU-2024:2947-1SUSE-SU-2024:2940-1SUSE-SU-2024:2939-1SUSE-SU-2024:2929-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-48827 updated cvss 5.5

kernel: NFSD: Fix the behavior of READ near OFFSET_MAX

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    affected: workaround, no fix available
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.138.1.el8_4, kernel 4.18.0-305.138.1.el8_4, bpftool 4.18.0-305.138.1.el8_4, kernel-core 4.18.0-305.138.1.el8_4, kernel-tools 4.18.0-305.138.1.el8_4, python3-perf 4.18.0-305.138.1.el8_4, +8 more
    fixed: vendor fix RHSA-2024:5266
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.118.1.el8_6, kernel 4.18.0-372.118.1.el8_6, bpftool 4.18.0-372.118.1.el8_6, kernel-core 4.18.0-372.118.1.el8_6, kernel-tools 4.18.0-372.118.1.el8_6, python3-perf 4.18.0-372.118.1.el8_6, +8 more
    fixed: vendor fix RHSA-2024:5281
  • Red Hat Enterprise Linux BaseOS E4S (v.8.4) perf 4.18.0-305.138.1.el8_4, kernel 4.18.0-305.138.1.el8_4, bpftool 4.18.0-305.138.1.el8_4, kernel-core 4.18.0-305.138.1.el8_4, kernel-tools 4.18.0-305.138.1.el8_4, python3-perf 4.18.0-305.138.1.el8_4, +9 more
    fixed: vendor fix RHSA-2024:5266
  • Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.118.1.el8_6, kernel 4.18.0-372.118.1.el8_6, bpftool 4.18.0-372.118.1.el8_6, kernel-core 4.18.0-372.118.1.el8_6, kernel-tools 4.18.0-372.118.1.el8_6, python3-perf 4.18.0-372.118.1.el8_6, +15 more
    fixed: vendor fix RHSA-2024:5281
  • Red Hat Enterprise Linux BaseOS TUS (v.8.4) perf 4.18.0-305.138.1.el8_4, kernel 4.18.0-305.138.1.el8_4, bpftool 4.18.0-305.138.1.el8_4, kernel-core 4.18.0-305.138.1.el8_4, kernel-tools 4.18.0-305.138.1.el8_4, python3-perf 4.18.0-305.138.1.el8_4, +8 more
    fixed: vendor fix RHSA-2024:5266
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.118.1.el8_6, kernel 4.18.0-372.118.1.el8_6, bpftool 4.18.0-372.118.1.el8_6, kernel-core 4.18.0-372.118.1.el8_6, kernel-tools 4.18.0-372.118.1.el8_6, python3-perf 4.18.0-372.118.1.el8_6, +8 more
    fixed: vendor fix RHSA-2024:5281
show 2 more
  • Red Hat Enterprise Linux NFV TUS (v.8.4) kernel-rt 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-kvm 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-core 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-modules 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-debug-kvm 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-debug-core 4.18.0-305.138.1.rt7.214.el8_4, +4 more Red Hat Enterprise Linux RT TUS (v.8.4) kernel-rt 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-core 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-modules 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-debug-core 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-debug-modules 4.18.0-305.138.1.rt7.214.el8_4, kernel-rt-modules-extra 4.18.0-305.138.1.rt7.214.el8_4, +2 more
    fixed: vendor fix RHSA-2024:5282
  • Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux BaseOS AUS (v.8.6) kernel-headers 4.18.0-372.118.1.el8_6, kernel-cross-headers 4.18.0-372.118.1.el8_6 Red Hat Enterprise Linux BaseOS E4S (v.8.6) kernel-headers 4.18.0-372.118.1.el8_6, kernel-cross-headers 4.18.0-372.118.1.el8_6 Red Hat Enterprise Linux BaseOS TUS (v.8.6) kernel-headers 4.18.0-372.118.1.el8_6, kernel-cross-headers 4.18.0-372.118.1.el8_6
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-102-01 updated cvss 6.5

Siemens SIMATIC S7-1500 TM MFP

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-226-07 updated

Siemens Third-Party Components in SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
    not affected

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

  • Linux Linux
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.