CVE-2024-46866 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/client: add missing bo locking in show_meminfo() bo_meminfo() wants to inspect bo state like tt and the ttm resource, however this state can change at any point leading to stuff like NPD and UAF, if the bo lock is not held. Grab the bo lock when calling bo_meminfo(), ensuring we drop any spinlocks first. In the case of object_idr we now also need to hold a ref. v2 (MattB) - Also add xe_bo_assert_held() (cherry picked from commit 4f63d712fa104c3ebefcb289d1e733e86d8698c7)
A vulnerability in the Linux kernel's Direct Rendering Manager (DRM) for the Xe graphics driver has been addressed. The issue arose because the memory information function for buffer objects (BOs) could be called without holding the necessary lock, allowing the BO state to change unpredictably. This oversight could lead to a use-after-free (UAF) or a null pointer dereference (NPD) error. The vulnerability has been fixed by ensuring the BO lock is held when accessing the BO memory information, and by adding a function to assert that the lock is properly held.
Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The patched version is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 29, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/94c4aa266111262c96c98f822d1bccc494786fee | kernel.org | Patch |
| https://git.kernel.org/stable/c/abc8feacacf8fae10eecf6fea7865e8c1fee419c | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-667 | Improper Locking | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.8, < 6.10.11 6.11 rc1 6.11 rc2 6.11 rc3 6.11 rc4 6.11 rc5 6.11 rc6 6.11 rc7 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2024 | Reanalysis | [email protected] |
| Oct 1, 2024 | Initial Analysis | [email protected] |
| Sep 27, 2024 | New CVE Received | kernel.org |