{"id":"CVE-2026-99662","aliases":["CVE-2026-99662"],"related":[],"kind":"vulnerability","state":"published","title":"mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast\n\nWith nr_pages == 0, GUP-fast still enters its page table walk and can\nwrite past the caller's page array. The old end <= start check caught\nempty ranges, but was replaced with an overflow check.\n\nUsers such as OrangeFS can pass a zero page count derived from a\nuserspace-supplied length. So let's return zero for nr_pages == 0 before\nstarting the walk, just like GUP-slow.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify description ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast\n\nWith nr_pages == 0, GUP-fast still enters its page table walk and can\nwrite past the caller's page array. The old end <= start check caught\nempty ranges, but was replaced with an overflow check.\n\nUsers such as OrangeFS can pass a zero page count derived from a\nuserspace-supplied length. So let's return zero for nr_pages == 0 before\nstarting the walk, just like GUP-slow.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify description ]","source":"cvelist"}],"published":"2026-11-20T05:50:13.325Z","modified":"2026-11-23T08:18:07.357Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bcb0f647c1fae9496e6ce499618a8da003c56088","fixed":"0452d6d24ee4d65226824bcbefaf187707b72ced","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"6ac370032a68a343be599d8476ded2c36b43b53a","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"21854ef8dc4e9398d84e4129db52dad69622fd9b","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"32717a0763b2170eae5693fe4afbeecaa168ffdc","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"11536b9b6bed3cc4d684a70d468493775e7d1d48","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"0794c5809fa6322e8b43b70601700fd6c48e69ea","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"5697a3b58722b15fcb06fb30368ce9f46458a95a","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"1dfe4b276c23189394afb42d114ee8a54cc3aff2","status":"affected"},{"type":"semver","introduced":"5.10.4","fixed":"5.10.275","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","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/0452d6d24ee4d65226824bcbefaf187707b72ced","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ac370032a68a343be599d8476ded2c36b43b53a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21854ef8dc4e9398d84e4129db52dad69622fd9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32717a0763b2170eae5693fe4afbeecaa168ffdc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11536b9b6bed3cc4d684a70d468493775e7d1d48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0794c5809fa6322e8b43b70601700fd6c48e69ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5697a3b58722b15fcb06fb30368ce9f46458a95a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1dfe4b276c23189394afb42d114ee8a54cc3aff2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99662","url":"https://www.cve.org/CVERecord?id=CVE-2026-99662","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:43.708Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99662","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99662","licence":"Public domain","modified":"2026-11-23T08:18:07.357Z"}],"updatedAt":"2026-11-25T22:59:52.299Z","epss":{"score":0.00164,"percentile":0.05843,"date":"2026-12-01T12:00:22.000Z"}}