Linux kernel iommu_sva_bind_device() incorrect error return
CVE-2024-40945Medium
The iommu_sva_bind_device() function in the Linux kernel can return NULL instead of an error pointer in certain conditions. Device drivers using this function only check for error pointers with IS_ERR(), which would not catch a NULL return value, potentially leading to a kernel NULL pointer dereference. An attacker would need to trigger the function call on a system where CONFIG_IOMMU_SVA is not configured, though in practice this scenario is prevented by earlier error checking in the device driver initialisation path.
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:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 5.2, before 5.4.279
- linux linux kernel: from 5.5, before 5.10.221
- linux linux kernel: from 5.11, before 5.15.162
- linux linux kernel: from 5.16, before 6.6.35
- linux linux kernel: from 6.7, before 6.9.6
- linux linux kernel: 6.10
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)