5.5

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

Modified
AliasesUBUNTU-CVE-2024-40945DEBIAN-CVE-2024-40945
Published 12-07-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-40945 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 30 · Related 27

Timeline

  1. 12-07-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.26% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu124 products
  • linux< 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1015.16
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < 700f564758882db7c039dfba9443fe762561a3f8 | ≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < cf34f8f66982a36e5cba0d05781b21ec9606b91e | ≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < 2973b8e7d127754de9013177c41c0b5547406998 | ≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < 6325eab6c108fed27f60ff51852e3eac0ba23f3f | ≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < 7388ae6f26c0ba95f70cc96bf9c5d5cb06c908b6 | ≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < 61a96da9649a6b6a1a5d5bde9374b045fdb5c12e | ≥ 26b25a2b98e45aeb40eedcedc586ad5034cbd984, < 89e8a2366e3bce584b6c01549d5019c5cda1205e | 5.2
  • linux_kernel≥ 5.2, < 5.4.279 | ≥ 5.5, < 5.10.221 | ≥ 5.11, < 5.15.162 | ≥ 5.16, < 6.6.35 | ≥ 6.7, < 6.9.6 | 6.10:rc1 | 6.10:rc2
Debian1 product
  • linux< 6.1.129-1 | < 6.9.7-1

3 vendors · 127 products

References

35 links
Show all 35 references