{"id":"CVE-2025-40293","published":"2025-12-08T00:46:16Z","modified":"2026-05-11T21:46:32Z","title":"iommufd: Don't overflow during division for dirty tracking","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Don't overflow during division for dirty tracking\n\nIf pgshift is 63 then BITS_PER_TYPE(*bitmap->bitmap) * pgsize will overflow\nto 0 and this triggers divide by 0.\n\nIn this case the index should just be 0, so reorganize things to divide\nby shift and avoid hitting any overflows.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00216,"percentile":0.12034,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/07105e61882ff4a7d58db63cc5f9e90c6c60506c","tags":[]},{"url":"https://git.kernel.org/stable/c/4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69","tags":[]},{"url":"https://git.kernel.org/stable/c/de7f2c67ceb1941b05b04ac35458a03e93cc57b1","tags":[]},{"url":"https://git.kernel.org/stable/c/dbf316fc90aa954dcd5440817f4b944627ed63e0","tags":[]},{"url":"https://git.kernel.org/stable/c/cb30dfa75d55eced379a42fd67bd5fb7ec38555e","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.41}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 07105e61882ff4a7d58db63cc5f9e90c6c60506c",">= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < 4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69",">= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < de7f2c67ceb1941b05b04ac35458a03e93cc57b1",">= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < dbf316fc90aa954dcd5440817f4b944627ed63e0",">= 58ccf0190d19d9a8a41f8a02b9e06742b58df4a1, < cb30dfa75d55eced379a42fd67bd5fb7ec38555e"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"euvd":{"id":"EUVD-2025-201651","exploited":false,"provenance":"source"}}