{"id":"CVE-2026-99677","aliases":["CVE-2026-99677"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: clamp the pNFS layout range to the maximum file size","summary":"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\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\".","source":"cvelist"}],"published":"2026-11-20T05:50:24.903Z","modified":"2026-11-23T08:18:08.487Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"bddce9ea41ffab37e71b7a668eceed515a3c4b3d","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"26658a10a18cd59f1f270e4fe3b30165a187f8e3","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"d892672cb91a831de7e4059bf9a15f4ce56333ab","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"df8632f36be4693677c18966319ae546b4341061","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"8e0cea93da8755cfebe9a0ea7e2b37e68d59118d","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"e8c7a13a7b63542753ab3c6c55b142b09d207c78","status":"affected"},{"type":"git","introduced":"527851124d10f9c50b1c578e0a56fcd49922422d","fixed":"29f3c1be4e554c9dbc66e13333034e0947477cb6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99677","url":"https://www.cve.org/CVERecord?id=CVE-2026-99677","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:52.519Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99677","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99677","licence":"Public domain","modified":"2026-11-23T08:18:08.487Z"}],"updatedAt":"2026-11-25T22:59:52.304Z","epss":{"score":0.00177,"percentile":0.07593,"date":"2026-12-01T12:00:22.000Z"}}