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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-46683— drm/xe: prevent UAF around preempt fence

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存在资源管理错误漏洞,该漏洞源于在处理预占用栅栏时未能正确管理内存引用计数,可能导致内存释放后重用问题。

CVSS 7.8 · High EPSS 0.21% · P11

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux dd08ebf6c3525a7ea2186e636df064ea47281987< 10081b0b0ed201f53e24bd92deb2e0f3c3e713d4 affected
dd08ebf6c3525a7ea2186e636df064ea47281987< 730b72480e29f63fd644f5fa57c9d46109428953 affected
6.8 affected
< 6.8 unaffected
6.10.8≤ 6.10.* unaffected
6.11≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-46683

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
drm/xe: prevent UAF around preempt fence
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe: prevent UAF around preempt fence The fence lock is part of the queue, therefore in the current design anything locking the fence should then also hold a ref to the queue to prevent the queue from being freed. However, currently it looks like we signal the fence and then drop the queue ref, but if something is waiting on the fence, the waiter is kicked to wake up at some later point, where upon waking up it first grabs the lock before checking the fence state. But if we have already dropped the queue ref, then the lock might already be freed as part of the queue, leading to uaf. To prevent this, move the fence lock into the fence itself so we don't run into lifetime issues. Alternative might be to have device level lock, or only release the queue in the fence release callback, however that might require pushing to another worker to avoid locking issues. References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2454 References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2342 References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2020 (cherry picked from commit 7116c35aacedc38be6d15bd21b2fc936eed0008b)
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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存在资源管理错误漏洞,该漏洞源于在处理预占用栅栏时未能正确管理内存引用计数,可能导致内存释放后重用问题。
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 dd08ebf6c3525a7ea2186e636df064ea47281987 ~ 10081b0b0ed201f53e24bd92deb2e0f3c3e713d4 -
Linux Linux 6.8 -

II. Public POCs for CVE-2024-46683

# 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-46683

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

Patches & Fixes for CVE-2024-46683 (2)

Same Patch Batch · Linux · 2024-09-13 · 40 CVEs total

CVE-2024-46697 9.8 CRITICAL nfsd: ensure that nfsd4_fattr_args.context is zeroed out
CVE-2024-46695 9.8 CRITICAL selinux,smack: don't bypass permissions check in inode_setsecctx hook
CVE-2024-46696 9.8 CRITICAL nfsd: fix potential UAF in nfsd4_cb_getattr_release
CVE-2024-46690 9.8 CRITICAL nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease
CVE-2024-46673 7.8 HIGH scsi: aacraid: Fix double-free on probe failure
CVE-2024-46713 7.8 HIGH perf/aux: Fix AUX buffer serialization
CVE-2024-46710 7.8 HIGH drm/vmwgfx: Prevent unmapping active read buffers
CVE-2024-46709 7.8 HIGH drm/vmwgfx: Fix prime with external buffers
CVE-2024-46705 7.8 HIGH drm/xe: reset mmio mappings with devm
CVE-2024-46687 7.8 HIGH btrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk()
CVE-2024-46674 7.8 HIGH usb: dwc3: st: fix probed platform device ref count on probe error path
CVE-2024-46680 7.8 HIGH Bluetooth: btnxpuart: Fix random crash seen while removing driver
CVE-2024-46678 7.8 HIGH bonding: change ipsec_lock from spin lock to mutex
CVE-2024-46679 ethtool: check device is present when getting link settings
CVE-2024-46712 drm/vmwgfx: Disable coherent dumb buffers without 3d
CVE-2024-46711 mptcp: pm: fix ID 0 endp usage after multiple re-creations
CVE-2024-46675 usb: dwc3: core: Prevent USB core invalid event buffer address access
CVE-2024-46708 pinctrl: qcom: x1e80100: Fix special pin offsets
CVE-2024-46676 nfc: pn533: Add poll mod list filling check
CVE-2024-46707 KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-46683

No comments yet


Leave a comment