CVE-2026-99677

Source
https://cve.org/CVERecord?id=CVE-2026-99677
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99677.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-99677
Downstream
Published
2026-11-20T05:50:24Z
Modified
2026-11-23T10:02:28Z
Summary
xfs: clamp the pNFS layout range to the maximum file size
Details

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

xfs: clamp the pNFS layout range to the maximum file size

xfs_fs_map_blocks() lets two bad layout ranges through. An offset of 2^63 or more is negative and passes "offset > limit". A length above the limit, such as NFS4_UINT64_MAX, wraps "offset > limit - length" and stays unclamped. With NFS4_UINT64_MAX, a read layout is built from an uninitialized mapping.

Reject a negative offset and one at the limit, and clamp the length. This needs "xfs: cap the block count of xfs_iomap_write_direct() at one extent".

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99677.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
527851124d10f9c50b1c578e0a56fcd49922422d
Fixed
7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4
Fixed
bddce9ea41ffab37e71b7a668eceed515a3c4b3d
Fixed
26658a10a18cd59f1f270e4fe3b30165a187f8e3
Fixed
d892672cb91a831de7e4059bf9a15f4ce56333ab
Fixed
df8632f36be4693677c18966319ae546b4341061
Fixed
8e0cea93da8755cfebe9a0ea7e2b37e68d59118d
Fixed
e8c7a13a7b63542753ab3c6c55b142b09d207c78
Fixed
29f3c1be4e554c9dbc66e13333034e0947477cb6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99677.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99677.json"