{"id":"CVE-2025-40293","summary":"iommufd: Don't overflow during division for dirty tracking","details":"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-\u003ebitmap) * 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.","modified":"2026-05-18T05:57:29.779296880Z","published":"2025-12-08T00:46:16.850Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40293.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/07105e61882ff4a7d58db63cc5f9e90c6c60506c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb30dfa75d55eced379a42fd67bd5fb7ec38555e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dbf316fc90aa954dcd5440817f4b944627ed63e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de7f2c67ceb1941b05b04ac35458a03e93cc57b1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40293.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40293"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"58ccf0190d19d9a8a41f8a02b9e06742b58df4a1"},{"fixed":"07105e61882ff4a7d58db63cc5f9e90c6c60506c"},{"fixed":"4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69"},{"fixed":"de7f2c67ceb1941b05b04ac35458a03e93cc57b1"},{"fixed":"dbf316fc90aa954dcd5440817f4b944627ed63e0"},{"fixed":"cb30dfa75d55eced379a42fd67bd5fb7ec38555e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40293.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.58"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40293.json"}}],"schema_version":"1.7.5"}