{"id":"CVE-2026-99661","aliases":[],"title":"mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00211,"percentile":0.12},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=5.10.4, <5.10.275","fixed":"5.10.275"},{"ecosystem":"Linux","name":"Kernel","range":">=5.10.4, <5.11","fixed":"5.11"},{"ecosystem":"Linux","name":"Kernel","range":">=5.11.0, <5.15.226","fixed":"5.15.226"},{"ecosystem":"Linux","name":"Kernel","range":">=5.11.0, <6.12.118","fixed":"6.12.118"},{"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":">=5.10.4, <5.10.275","fixed":"5.10.275"},{"ecosystem":"vendor","name":"Linux","range":">=5.10.4, <5.11","fixed":"5.11"},{"ecosystem":"vendor","name":"Linux","range":">=bcb0f647c1fae9496e6ce499618a8da003c56088, <b83b181b1232f950c2c8789d8d877f776c56cd27","fixed":"b83b181b1232f950c2c8789d8d877f776c56cd27"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <063cd7c398fb837d811a72e19a6f71df9f104d9b","fixed":"063cd7c398fb837d811a72e19a6f71df9f104d9b"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <21a3888d3d2f87b7f15ccea1f0befd57346fe899","fixed":"21a3888d3d2f87b7f15ccea1f0befd57346fe899"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <4609adbe69a1604a015def7458bda9b3bf332400","fixed":"4609adbe69a1604a015def7458bda9b3bf332400"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <666516c935a353eda4dd43fbbd063d39b7f743bb","fixed":"666516c935a353eda4dd43fbbd063d39b7f743bb"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <6e97f285bc3f914047d57267f735cd999a2b8c8e","fixed":"6e97f285bc3f914047d57267f735cd999a2b8c8e"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <89eed2a8f389d09d75d90633d879e0f5825f9376","fixed":"89eed2a8f389d09d75d90633d879e0f5825f9376"},{"ecosystem":"vendor","name":"Linux","range":">=c28b1fc70390df32e29991eedd52bd86e7aba080, <b087093ed2b817ad56c9db1ab104e85c2cea8c29","fixed":"b087093ed2b817ad56c9db1ab104e85c2cea8c29"}],"references":[{"url":"https://git.kernel.org/stable/c/89eed2a8f389d09d75d90633d879e0f5825f9376","type":"other"},{"url":"https://git.kernel.org/stable/c/666516c935a353eda4dd43fbbd063d39b7f743bb","type":"other"},{"url":"https://git.kernel.org/stable/c/063cd7c398fb837d811a72e19a6f71df9f104d9b","type":"other"},{"url":"https://git.kernel.org/stable/c/21a3888d3d2f87b7f15ccea1f0befd57346fe899","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99661.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99661","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://git.kernel.org/stable/c/b83b181b1232f950c2c8789d8d877f776c56cd27","type":"other"},{"url":"https://git.kernel.org/stable/c/4609adbe69a1604a015def7458bda9b3bf332400","type":"other"},{"url":"https://git.kernel.org/stable/c/b087093ed2b817ad56c9db1ab104e85c2cea8c29","type":"other"},{"url":"https://git.kernel.org/stable/c/6e97f285bc3f914047d57267f735cd999a2b8c8e","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.516Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99661","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.059Z"},{"name":"osv","at":"2026-11-25T16:35:10.485Z","url":"https://osv.dev/vulnerability/CVE-2026-99661","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T21:22:47.597Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:57.962Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99661","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:14.104Z"}],"firstSeenAt":"2026-11-20T06:28:14.104Z","publishedAt":"2026-11-20T05:50:12.495Z","modifiedAt":"2026-11-25T15:42:28.249Z"}