Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 iommu 组件的 iommu_sva_bind_device 函数在出错时返回的值处理不当,可能导致内核空指针取消引用问题。

EPSS 0.26% · P16

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux 26b25a2b98e45aeb40eedcedc586ad5034cbd984< 700f564758882db7c039dfba9443fe762561a3f8 affected
26b25a2b98e45aeb40eedcedc586ad5034cbd984< cf34f8f66982a36e5cba0d05781b21ec9606b91e affected
26b25a2b98e45aeb40eedcedc586ad5034cbd984< 2973b8e7d127754de9013177c41c0b5547406998 affected
26b25a2b98e45aeb40eedcedc586ad5034cbd984< 6325eab6c108fed27f60ff51852e3eac0ba23f3f affected
26b25a2b98e45aeb40eedcedc586ad5034cbd984< 7388ae6f26c0ba95f70cc96bf9c5d5cb06c908b6 affected
26b25a2b98e45aeb40eedcedc586ad5034cbd984< 61a96da9649a6b6a1a5d5bde9374b045fdb5c12e affected
26b25a2b98e45aeb40eedcedc586ad5034cbd984< 89e8a2366e3bce584b6c01549d5019c5cda1205e affected
5.2 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-40945

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
iommu: Return right value in iommu_sva_bind_device()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 iommu 组件的 iommu_sva_bind_device 函数在出错时返回的值处理不当,可能导致内核空指针取消引用问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 26b25a2b98e45aeb40eedcedc586ad5034cbd984 ~ 700f564758882db7c039dfba9443fe762561a3f8 -
Linux Linux 5.2 -

II. Public POCs for CVE-2024-40945

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-40945

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-40945 (1)

Other References for CVE-2024-40945 (5)

Same Patch Batch · Linux · 2024-07-12 · 122 CVEs total

CVE-2024-40937 9.8 CRITICAL gve: Clear napi->skb before dev_kfree_skb_any()
CVE-2024-40907 9.8 CRITICAL ionic: fix kernel panic in XDP_TX action
CVE-2024-40999 9.8 CRITICAL net: ena: Add validation for completion descriptors consistency
CVE-2024-40923 9.8 CRITICAL vmxnet3: disable rx data ring on dma allocation failure
CVE-2024-40983 9.8 CRITICAL tipc: force a dst refcount before doing decryption
CVE-2024-40910 8.8 HIGH ax25: Fix refcount imbalance on inbound connections
CVE-2024-40911 8.8 HIGH wifi: cfg80211: Lock wiphy in cfg80211_get_station
CVE-2024-40941 8.1 HIGH wifi: iwlwifi: mvm: don't read past the mfuart notifcation
CVE-2024-40953 7.9 HIGH KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()
CVE-2024-40947 7.8 HIGH ima: Avoid blocking in RCU read-side critical section
CVE-2024-39495 7.8 HIGH greybus: Fix use-after-free bug in gb_interface_release due to race condition.
CVE-2024-40909 7.8 HIGH bpf: Fix a potential use-after-free in bpf_link_free()
CVE-2024-40991 7.8 HIGH dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id()
CVE-2024-40990 7.8 HIGH RDMA/mlx5: Add check for srq max_sge attribute
CVE-2024-40989 7.8 HIGH KVM: arm64: Disassociate vcpus from redistributor region on teardown
CVE-2024-40949 7.8 HIGH mm: shmem: fix getting incorrect lruvec when replacing a shmem folio
CVE-2024-40925 7.8 HIGH block: fix request.queuelist usage in flush
CVE-2024-40984 7.8 HIGH ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
CVE-2024-40924 7.8 HIGH drm/i915/dpt: Make DPT object unshrinkable
CVE-2024-40970 7.8 HIGH Avoid hw_desc array overrun in dw-axi-dmac

Showing top 20 of 122 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-40945

No comments yet


Leave a comment