PT-2024-29162 · Linux+7 · Linux Kernel+7

Lu Baolu

·

Published

2024-05-28

·

Updated

2026-01-12

·

CVE-2024-40945

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the iommu sva bind device() function, which should return either a sva bond handle or an ERR PTR value in error cases. However, existing drivers, such as idxd and uacce, only check the return value with IS ERR(), potentially leading to a kernel NULL pointer dereference issue if the function returns NULL instead of an error pointer. In reality, this doesn't cause any problems because iommu sva bind device() only returns NULL when the kernel is not configured with CONFIG IOMMU SVA, and in this case, iommu dev enable feature(dev, IOMMU DEV FEAT SVA) will return an error, preventing the device drivers from calling iommu sva bind device().
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2025-03027
CVE-2024-40945
DLA-4102-1
DSA-5730-1
INFSA-2024_9315
OESA-2024-1941
OESA-2024-1942
OESA-2024-2028
OESA-2024-2076
OPENSUSE-SU-2024_2947-1
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2894-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-6999-1
USN-6999-2
USN-7003-1
USN-7003-2
USN-7003-3
USN-7003-4
USN-7003-5
USN-7004-1
USN-7005-1
USN-7005-2
USN-7006-1
USN-7007-1
USN-7007-2
USN-7007-3
USN-7008-1
USN-7009-1
USN-7009-2
USN-7019-1
USN-7029-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu