CVE-2022-48827: NFSD: Fix the behavior of READ near OFFSET_MAX
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.62% (FIRST EPSS); higher than 50.4% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0cb4d23ae08c48f6bf3c29a8e5c4a74b8388b960, 1726a39b0879acfb490b22dca643f26f4f907da9, 44502aca8e02ab32d6b0eb52e006a5ec9402719b.
Low priority for now. Upgrade to Linux Linux 0cb4d23ae08c48f6bf3c29a8e5c4a74b8388b960, 1726a39b0879acfb490b22dca643f26f4f907da9, 44502aca8e02ab32d6b0eb52e006a5ec9402719b or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 16, 2024
- Updated
- Oct 14, 2026
- EPSS
- 0.6% · 50th percentile
- CWE
- CWE-125
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.1
- CNA · Linux
- 7.5
- 0.4 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.12affected
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 1726a39b0879acfb490b22dca643f26f4f907da9affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before c6eff5c4277146a78b4fb8c9b668dd64542c41b0affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 44502aca8e02ab32d6b0eb52e006a5ec9402719baffected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 0cb4d23ae08c48f6bf3c29a8e5c4a74b8388b960affected · git
- before 2.6.12not affected · semver
- 5.10.220 and later · up to and including 5.10.*not affected · semver
- 5.15.24 and later · up to and including 5.15.*not affected · semver
- 5.16.10 and later · up to and including 5.16.*not affected · semver
- 5.17 and laternot affected · original_commit_for_fix
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 5.10.220
- linux linux kernel5.11 and later · before 5.15.24
- linux linux kernel5.16 and later · before 5.16.10
- linux linux kernel5.17
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.16.10-1 | 5.16.10-1 |
| Red Hat:rhel_aus:8.4::baseos | bpftool | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | bpftool-debuginfo | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-abi-stablelists | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-core | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debug | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debug-core | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debug-debuginfo | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debug-devel | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debug-modules | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debug-modules-extra | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debuginfo | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-debuginfo-common-x86_64 | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-devel | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-doc | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-modules | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-modules-extra | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-tools | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-tools-debuginfo | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | kernel-tools-libs | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | perf | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | perf-debuginfo | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
| Red Hat:rhel_aus:8.4::baseos | python3-perf | before 0:4.18.0-305.138.1.el8_4 | 0:4.18.0-305.138.1.el8_4 |
+62
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-48866Jul 16, 2024 · HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts28Monitor
- ← EarlierCVE-2022-48816Jul 16, 2024 · SUNRPC: lock against ->sock changing during sysfs read18Monitor
- Later →CVE-2022-48828Jul 16, 2024 · NFSD: Fix ia_size underflow22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0cb4d23ae08c48f6bf3c29a8e5c4a74b8388b960 | Vendor (CNA) |
| Linux Linux | 1726a39b0879acfb490b22dca643f26f4f907da9 | Vendor (CNA) |
| Linux Linux | 44502aca8e02ab32d6b0eb52e006a5ec9402719b | Vendor (CNA) |
| Linux Linux | c6eff5c4277146a78b4fb8c9b668dd64542c41b0 | Vendor (CNA) |
| debian:linux | 5.16.10-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-core | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debug | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debug-core | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules-extra | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-305.138.1.el8_4 · Red Hat:rhel_aus:8.4::baseos | Package registry (OSV) |
| suse:kernel-64kb | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-default | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-default-base | 5.3.18-150300.59.174.1.150300.18.103.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-docs | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_48 | 1-150300.7.3.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-obs-build | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-preempt | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-rt | 5.3.18-150300.181.2 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-source | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-source-rt | 5.3.18-150300.181.2 · SUSE:Linux Enterprise Micro 5.1 | Package registry (OSV) |
| suse:kernel-syms | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.3.18-150300.59.174.1 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- git.kernel.org/stable/c/1726a39b0879acfb490b22dca643f26f4f907da9
- git.kernel.org/stable/c/44502aca8e02ab32d6b0eb52e006a5ec9402719b
- git.kernel.org/stable/c/c6eff5c4277146a78b4fb8c9b668dd64542c41b0
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com/productcert/html/ssa-355557.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.