{"id":"CVE-2026-99677","aliases":[],"title":"xfs: clamp the pNFS layout range to the maximum file size","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: clamp the pNFS layout range to the maximum file size\n\nxfs_fs_map_blocks() lets two bad layout ranges through. An offset of\n2^63 or more is negative and passes \"offset > limit\". A length above\nthe limit, such as NFS4_UINT64_MAX, wraps \"offset > limit - length\"\nand stays unclamped. With NFS4_UINT64_MAX, a read layout is built from\nan uninitialized mapping.\n\nReject a negative offset and one at the limit, and clamp the length.\nThis needs \"xfs: cap the block count of xfs_iomap_write_direct() at one\nextent\".","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00177,"percentile":0.07583},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=4.0.0, <5.10.275","fixed":"5.10.275"},{"ecosystem":"Linux","name":"Kernel","range":">=4.0.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=5.11.0, <5.15.226","fixed":"5.15.226"},{"ecosystem":"Linux","name":"Kernel","range":">=5.16.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <26658a10a18cd59f1f270e4fe3b30165a187f8e3","fixed":"26658a10a18cd59f1f270e4fe3b30165a187f8e3"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <29f3c1be4e554c9dbc66e13333034e0947477cb6","fixed":"29f3c1be4e554c9dbc66e13333034e0947477cb6"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4","fixed":"7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <8e0cea93da8755cfebe9a0ea7e2b37e68d59118d","fixed":"8e0cea93da8755cfebe9a0ea7e2b37e68d59118d"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <bddce9ea41ffab37e71b7a668eceed515a3c4b3d","fixed":"bddce9ea41ffab37e71b7a668eceed515a3c4b3d"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <d892672cb91a831de7e4059bf9a15f4ce56333ab","fixed":"d892672cb91a831de7e4059bf9a15f4ce56333ab"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <df8632f36be4693677c18966319ae546b4341061","fixed":"df8632f36be4693677c18966319ae546b4341061"},{"ecosystem":"vendor","name":"Linux","range":">=527851124d10f9c50b1c578e0a56fcd49922422d, <e8c7a13a7b63542753ab3c6c55b142b09d207c78","fixed":"e8c7a13a7b63542753ab3c6c55b142b09d207c78"}],"references":[{"url":"https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061","type":"other"},{"url":"https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d","type":"other"},{"url":"https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78","type":"other"},{"url":"https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99677.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99677","type":"advisory"},{"url":"https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4","type":"other"},{"url":"https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d","type":"other"},{"url":"https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3","type":"other"},{"url":"https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.530Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99677","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.110Z"},{"name":"osv","at":"2026-11-23T10:59:14.977Z","url":"https://osv.dev/vulnerability/CVE-2026-99677","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:08.863Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:58.171Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99677","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:14.592Z"}],"firstSeenAt":"2026-11-20T06:28:14.592Z","publishedAt":"2026-11-20T05:50:24.903Z","modifiedAt":"2026-11-23T10:02:09.518Z"}