CVE-2024-46866: drm/xe/client: add missing bo locking in show_meminfo()

Published Sep 27, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/client: add missing bo locking in showmeminfo()

bomeminfo() 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 bomeminfo(), ensuring we drop any spinlocks first. In the case of objectidr we now also need to hold a ref.

v2 (MattB) - Also add xeboassertheld()

(cherry picked from commit 4f63d712fa104c3ebefcb289d1e733e86d8698c7)

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=6.8<6.10.11
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
Linux Linux kernel=6.11-rc6
Linux Linux kernel=6.11-rc7
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Sep 27, 2024
CVE Published
via MITRE·12:42 PM
Data Sourced
via MITRE·12:42 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 13, 2025
Data Sourced
via Ubuntu·06:34 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46866?

CVE-2024-46866 is considered to be of medium severity due to potential null pointer dereferences and use-after-free vulnerabilities.

2

How do I fix CVE-2024-46866?

To fix CVE-2024-46866, update to a patched version of the Linux kernel, such as 5.10.223-1 or newer.

3

Which versions of the Linux kernel are affected by CVE-2024-46866?

CVE-2024-46866 affects Linux kernel versions from 6.8 to 6.10.11 and specific 6.11 release candidates.

4

What types of systems are at risk due to CVE-2024-46866?

Systems running the affected versions of the Linux kernel, particularly those using graphics drivers or utilizing the DRM subsystem, are at risk.

5

Is there a workaround for CVE-2024-46866?

Currently, there are no known effective workarounds for CVE-2024-46866; updating the kernel is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203