NFSD: Fix the behavior of READ near OFFSET_MAX
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 8 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-125 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.12 and later | 5.10.220, 5.15.24, 5.16.10, 5.17 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.12 and later Fixed in 5.10.220, 5.15.24, 5.16.10, 5.17 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 5.10.220; 5.11 to before 5.15.24; 5.16 to before 5.16.10 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* | 5.17 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:* | 5.17 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* | 5.17 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 5.10.220; 5.11 to before 5.15.24; 5.16 to before 5.16.10 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* Versions 5.17 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:* Versions 5.17 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* Versions 5.17 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.220, 5.15.24, 5.16.10, 5.17
Red Hat 3 advisories
- RHSA-2024:5281 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.118.1.el8_6, kernel-4.18.0-372.118.1.el8_6, kernel-abi-stablelists-4.18.0-372.118.1.el8_6 +14
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) bpftool-4.18.0-372.118.1.el8_6, kernel-4.18.0-372.118.1.el8_6, kernel-abi-stablelists-4.18.0-372.118.1.el8_6 +19
- Red Hat Enterprise Linux BaseOS TUS (v.8.6) bpftool-4.18.0-372.118.1.el8_6, kernel-4.18.0-372.118.1.el8_6, kernel-abi-stablelists-4.18.0-372.118.1.el8_6 +14
- RHSA-2024:5282 Released 2024-08-13 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV 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-debug-4.18.0-305.138.1.rt7.214.el8_4 +9
- 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-debug-4.18.0-305.138.1.rt7.214.el8_4 +7
- RHSA-2024:5266 Released 2024-08-13 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.4) bpftool-4.18.0-305.138.1.el8_4, kernel-4.18.0-305.138.1.el8_4, kernel-abi-stablelists-4.18.0-305.138.1.el8_4 +14
- Red Hat Enterprise Linux BaseOS E4S (v.8.4) bpftool-4.18.0-305.138.1.el8_4, kernel-4.18.0-305.138.1.el8_4, kernel-abi-stablelists-4.18.0-305.138.1.el8_4 +14
- Red Hat Enterprise Linux BaseOS TUS (v.8.4) bpftool-4.18.0-305.138.1.el8_4, kernel-4.18.0-305.138.1.el8_4, kernel-abi-stablelists-4.18.0-305.138.1.el8_4 +14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux BaseOS AUS (v.8.4) | Fixed | RHSA-2024:5266 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.6) | Fixed | RHSA-2024:5281 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.4) | Fixed | RHSA-2024:5266 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.6) | Fixed | RHSA-2024:5281 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.4) | Fixed | RHSA-2024:5266 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.6) | Fixed | RHSA-2024:5281 |
| Red Hat Enterprise Linux NFV TUS (v.8.4) | Fixed | RHSA-2024:5282 |
| Red Hat Enterprise Linux RT TUS (v.8.4) | Fixed | RHSA-2024:5282 |
Not affected: 4 products
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- Red Hat Enterprise Linux BaseOS E4S (v.8.6)
- Red Hat Enterprise Linux BaseOS TUS (v.8.6)
Timeline
- 2026-10-02 Threatist record created from CVE-2022-48827
- 2026-10-03 Alias added: GHSA-g43c-r7c6-fhrv
- 2026-11-05 EPSS moved to the 50th–90th percentile
References
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-48827 · CVE Program
- CVE-2022-48827 · NVD
- FIRST EPSS
- GHSA-g43c-r7c6-fhrv · GitHub Advisory Database · CC BY 4.0
- CVE-2022-48827 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences