{"id":"CVE-2026-99661","aliases":["CVE-2026-99661"],"related":[],"kind":"vulnerability","state":"published","title":"mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: check for overflow when converting nr_pages to bytes in GUP-fast\n\nThe overflow check in gup_fast_fallback() only covers the addition to\nstart. The preceding nr_pages << PAGE_SHIFT can already have truncated\nthe length on 32bit.\n\nUsers such as RapidIO's rio_dma_transfer() can derive such page counts\nfrom a 64-bit userspace length.\n\nLet's just check_shl_overflow() to reject any such overflow with\n-EOVERFLOW early.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: check for overflow when converting nr_pages to bytes in GUP-fast\n\nThe overflow check in gup_fast_fallback() only covers the addition to\nstart. The preceding nr_pages << PAGE_SHIFT can already have truncated\nthe length on 32bit.\n\nUsers such as RapidIO's rio_dma_transfer() can derive such page counts\nfrom a 64-bit userspace length.\n\nLet's just check_shl_overflow() to reject any such overflow with\n-EOVERFLOW early.","source":"cvelist"}],"published":"2026-11-20T05:50:12.495Z","modified":"2026-11-23T08:18:07.230Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bcb0f647c1fae9496e6ce499618a8da003c56088","fixed":"b83b181b1232f950c2c8789d8d877f776c56cd27","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"4609adbe69a1604a015def7458bda9b3bf332400","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"b087093ed2b817ad56c9db1ab104e85c2cea8c29","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"6e97f285bc3f914047d57267f735cd999a2b8c8e","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"89eed2a8f389d09d75d90633d879e0f5825f9376","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"666516c935a353eda4dd43fbbd063d39b7f743bb","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"063cd7c398fb837d811a72e19a6f71df9f104d9b","status":"affected"},{"type":"git","introduced":"c28b1fc70390df32e29991eedd52bd86e7aba080","fixed":"21a3888d3d2f87b7f15ccea1f0befd57346fe899","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/b83b181b1232f950c2c8789d8d877f776c56cd27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4609adbe69a1604a015def7458bda9b3bf332400","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b087093ed2b817ad56c9db1ab104e85c2cea8c29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e97f285bc3f914047d57267f735cd999a2b8c8e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89eed2a8f389d09d75d90633d879e0f5825f9376","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/666516c935a353eda4dd43fbbd063d39b7f743bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/063cd7c398fb837d811a72e19a6f71df9f104d9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21a3888d3d2f87b7f15ccea1f0befd57346fe899","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99661","url":"https://www.cve.org/CVERecord?id=CVE-2026-99661","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:42.611Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99661","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99661","licence":"Public domain","modified":"2026-11-23T08:18:07.230Z"}],"updatedAt":"2026-11-25T22:59:52.298Z","epss":{"score":0.00211,"percentile":0.12027,"date":"2026-12-01T12:00:22.000Z"}}