Linux kernel iommufd shift-out-of-bounds in iova_bitmap
CVE-2025-21724High
The iova_bitmap_offset_to_index() function in the Linux kernel performs a bitwise shift operation using a 32-bit integer constant on a value that can exceed 31 bits, causing undefined behaviour. An attacker with access to iommufd operations could trigger this flaw by providing a page shift value greater than 31. The fix changes the constant from a 32-bit int to an unsigned long to match the operand type.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 6.1, before 6.1.129
- linux linux kernel: from 6.2, before 6.6.76
- linux linux kernel: from 6.7, before 6.12.13
- linux linux kernel: from 6.13, before 6.13.2
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)