Back to CVE records
Medium 5.5Published Jul 12, 2024

CVE-2024-40945iommu: Return right value in iommu_sva_bind_device()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 5 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before 700f564758882db7c039dfba9443fe762561a3f8; from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before cf34f8f66982a36e5cba0d05781b21ec9606b91e; from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before 2973b8e7d127754de9013177c41c0b5547406998; from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before 6325eab6c108fed27f60ff51852e3eac0ba23f3f; from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before 7388ae6f26c0ba95f70cc96bf9c5d5cb06c908b6; from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before 61a96da9649a6b6a1a5d5bde9374b045fdb5c12e; from 26b25a2b98e45aeb40eedcedc586ad5034cbd984 before 89e8a2366e3bce584b6c01549d5019c5cda1205e
CNA record
Siemens RUGGEDCOM RST2428P
siemens:ruggedcom_rst2428p (from the name)
before V3.1
CISA ADP
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
siemens:scalance_xc_300_xr_300_xc_400_xr_500wg_xr_500_family (from the name)
all versions not affected
CISA ADP
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
siemens:scalance_xcm_xrm_xch_xrh_300_family (from the name)
before V3.1
CISA ADP
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
all versions
CISA ADP
linux linux_kernel
linux:linux_kernel
from 5.2 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.6.35; from 6.7 before 6.9.6; 6.10; 6.10
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.