Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-48827

published high CVSS 3.1 · 7.5

NFSD: Fix the behavior of READ near OFFSET_MAX

Published
16 Jul 2024, 11:44:12 UTC
Updated
14 Oct 2026, 18:44:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1726a39b0879acfb490b22dca643f26f4f907da9 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c6eff5c4277146a78b4fb8c9b668dd64542c41b0 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 44502aca8e02ab32d6b0eb52e006a5ec9402719b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0cb4d23ae08c48f6bf3c29a8e5c4a74b8388b960 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.220 through 5.10.* (unaffected · semver) · 5.15.24 through 5.15.* (unaffected · semver) · 5.16.10 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-064 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-106 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-305.138.1.el8_4 RHSA-2024:5266
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-372.118.1.el8_6 RHSA-2024:5281
Red Hat Enterprise Linux RHEL-8 kernel-rtsrc Advisory build 4.18.0-305.138.1.rt7.214.el8_4 RHSA-2024:5282
Red Hat Enterprise Linux RHEL-8 kernel-rtx86_64 Advisory build 4.18.0-305.138.1.rt7.214.el8_4 RHSA-2024:5282
Red Hat Enterprise Linux RHEL-8 kernel-rt-corex86_64 Advisory build 4.18.0-305.138.1.rt7.214.el8_4 RHSA-2024:5282
Red Hat Enterprise Linux RHEL-8 kernel-rt-debugx86_64 Advisory build 4.18.0-305.138.1.rt7.214.el8_4 RHSA-2024:5282

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The bug is in the in-kernel NFS server (nfsd3_proc_read / nfsd4_read) and is reached by processing NFSv3/v4 READ RPCs over the network (TCP/UDP 2049); a remote NFS client triggers it by reading near OFFSET_MAX. AC:L - An attacker who can write to an export on a filesystem that allows MAX_LFS_FILESIZE (e.g. XFS) can create a sparse file of size OFFSET_MAX and then read it; the loff_t overflow and NFSERR_INVAL response occur reliably with no race or other condition outside attacker control. PR:N - Typical nfsd deployments use AUTH_SYS/AUTH_NULL with IP-based exports, so a remote peer that can reach the export self-asserts credentials with no cryptographic authentication and can open/read (and create) files that exercise the READ path. UI:N - The attacker drives file creation and the triggering READ entirely via NFS RPCs; no separate action by a victim user or administrator on the server is required. S:U - Impact is confined to the NFS server and its Linux clients’ use of that service within the same host/kernel authority; there is no VM escape, IOMMU bypass, or other cross-boundary scope change. C:N - The defect only causes an out-of-range READ to fail with NFSERR_INVAL after VFS rejects the overflowing loff_t; there is no out-of-bounds read, UAF, or other information-disclosure primitive. I:N - There is no memory corruption, OOB write, or attacker-controlled modification of kernel or file data—only a protocol error return for an overflowing offset/length pair. A:H - Linux NFS clients treat NFSERR_INVAL as non-fatal, drop the page without PageError, and indefinitely reissue the READ, hanging the reader and continuously hammering nfsd; infinite retry/hang is high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1726a39b0879acfb490b22dca643f26f4f907da9 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c6eff5c4277146a78b4fb8c9b668dd64542c41b0 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 44502aca8e02ab32d6b0eb52e006a5ec9402719b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0cb4d23ae08c48f6bf3c29a8e5c4a74b8388b960 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.220 through 5.10.* (unaffected · semver)5.15.24 through 5.15.* (unaffected · semver)5.16.10 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

4

Linux · cna

NFSD: Fix the behavior of READ near OFFSET_MAX

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
8e9b3a832bda7b00b10ed77aa16b68e4f381cdc1bc9e386d5ff3698e7af575a2
Ingested
14 Oct 2026, 20:24:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected