{"id":"CVE-2026-64289","published":"2026-07-25T08:49:29Z","modified":"2026-11-06T16:34:32Z","title":"iommufd: Set upper bounds on cache invalidation entry_num and entry_len","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.05251,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d2bd041e0efaf7d81789779b135279d18b33d6d5","tags":[]},{"url":"https://git.kernel.org/stable/c/32ca4aed2a66205b072fcfecabe220289a8149ff","tags":[]},{"url":"https://git.kernel.org/stable/c/2c6381d90898089287e0a358f06f89f6b4b389f2","tags":[]},{"url":"https://git.kernel.org/stable/c/4d70986002f2f3eaaed89124fb2522bded38b016","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.05}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8c6eabae3807e048b9f17733af5e20500fbf858c, < d2bd041e0efaf7d81789779b135279d18b33d6d5",">= 8c6eabae3807e048b9f17733af5e20500fbf858c, < 32ca4aed2a66205b072fcfecabe220289a8149ff",">= 8c6eabae3807e048b9f17733af5e20500fbf858c, < 2c6381d90898089287e0a358f06f89f6b4b389f2",">= 8c6eabae3807e048b9f17733af5e20500fbf858c, < 4d70986002f2f3eaaed89124fb2522bded38b016"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-06T16:33:46.830505Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49001","exploited":false,"provenance":"source"}}