First published: Fri Jul 12 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: iommu: Return right value in iommu_sva_bind_device() iommu_sva_bind_device() should return either a sva bond handle or an ERR_PTR value in error cases. Existing drivers (idxd and uacce) only check the return value with IS_ERR(). This could potentially lead 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. In this case, iommu_dev_enable_feature(dev, IOMMU_DEV_FEAT_SVA) will return an error, and the device drivers won't call iommu_sva_bind_device() at all.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <5.4.279 | 5.4.279 |
redhat/kernel | <5.10.221 | 5.10.221 |
redhat/kernel | <5.15.162 | 5.15.162 |
redhat/kernel | <6.6.35 | 6.6.35 |
redhat/kernel | <6.9.6 | 6.9.6 |
redhat/kernel | <6.10 | 6.10 |
debian/linux | <=6.1.123-1<=6.1.119-1 | 5.10.223-1 5.10.226-1 6.12.10-1 6.12.11-1 |
Linux Kernel | >=5.2<5.4.279 | |
Linux Kernel | >=5.5<5.10.221 | |
Linux Kernel | >=5.11<5.15.162 | |
Linux Kernel | >=5.16<6.6.35 | |
Linux Kernel | >=6.7<6.9.6 | |
Linux Kernel | =6.10-rc1 | |
Linux Kernel | =6.10-rc2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-40945 is classified as a high severity vulnerability in the Linux kernel.
To fix CVE-2024-40945, upgrade to the latest kernel versions specified in the remediation list.
CVE-2024-40945 affects Linux kernel versions prior to 5.4.279, 5.10.221, 5.15.162, 6.6.35, 6.9.6, and 6.10.
CVE-2024-40945 could potentially lead to improper handling of device binding in the kernel, causing system instability or security issues.
As of now, there are no publicly known exploits specifically targeting CVE-2024-40945.