{"id":"CVE-2026-64289","aliases":["CVE-2026-64289"],"related":[],"kind":"vulnerability","state":"published","title":"iommufd: Set upper bounds on cache invalidation entry_num and entry_len","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Set upper bounds on cache invalidation entry_num and entry_len\n\niommufd_hwpt_invalidate() takes a user-controlled entry_num and entry_len,\neach bounded only by U32_MAX. An entry_len beyond the kernel's struct size\nmakes the copy helper verify the extra bytes are zero, scanning that excess\nin one uninterruptible pass; a multi-gigabyte value over zeroed user memory\ntrips the soft-lockup watchdog.\n\nA large entry_num is the other half, driving the backend invalidation loop\nwith no reschedule. The VT-d nested handler, for one, copies each entry and\nflushes caches per iteration, pinning the CPU on a non-preemptible kernel.\n\nCap both in the ioctl. entry_len is held under PAGE_SIZE, above any request\nstruct, and entry_num under 1 << 19, the order of a hardware invalidation\nqueue and well beyond any real batch, bounding the per-call loop length.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Set upper bounds on cache invalidation entry_num and entry_len\n\niommufd_hwpt_invalidate() takes a user-controlled entry_num and entry_len,\neach bounded only by U32_MAX. An entry_len beyond the kernel's struct size\nmakes the copy helper verify the extra bytes are zero, scanning that excess\nin one uninterruptible pass; a multi-gigabyte value over zeroed user memory\ntrips the soft-lockup watchdog.\n\nA large entry_num is the other half, driving the backend invalidation loop\nwith no reschedule. The VT-d nested handler, for one, copies each entry and\nflushes caches per iteration, pinning the CPU on a non-preemptible kernel.\n\nCap both in the ioctl. entry_len is held under PAGE_SIZE, above any request\nstruct, and entry_num under 1 << 19, the order of a hardware invalidation\nqueue and well beyond any real batch, bounding the per-call loop length.","source":"cvelist"}],"published":"2026-07-25T08:49:29.434Z","modified":"2026-11-06T17:18:45.487Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8c6eabae3807e048b9f17733af5e20500fbf858c","fixed":"d2bd041e0efaf7d81789779b135279d18b33d6d5","status":"affected"},{"type":"git","introduced":"8c6eabae3807e048b9f17733af5e20500fbf858c","fixed":"32ca4aed2a66205b072fcfecabe220289a8149ff","status":"affected"},{"type":"git","introduced":"8c6eabae3807e048b9f17733af5e20500fbf858c","fixed":"2c6381d90898089287e0a358f06f89f6b4b389f2","status":"affected"},{"type":"git","introduced":"8c6eabae3807e048b9f17733af5e20500fbf858c","fixed":"4d70986002f2f3eaaed89124fb2522bded38b016","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.8","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d2bd041e0efaf7d81789779b135279d18b33d6d5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32ca4aed2a66205b072fcfecabe220289a8149ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c6381d90898089287e0a358f06f89f6b4b389f2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d70986002f2f3eaaed89124fb2522bded38b016","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:33:46.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64289","url":"https://www.cve.org/CVERecord?id=CVE-2026-64289","licence":"CVE Terms of Use","modified":"2026-11-06T16:34:32.610Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64289","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64289","licence":"Public domain","modified":"2026-11-06T17:18:45.487Z"}],"updatedAt":"2026-11-25T22:59:30.053Z","epss":{"score":0.0016,"percentile":0.05395,"date":"2026-12-01T12:00:22.000Z"}}