CVE-2024-38390: drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails

Published Jun 21, 2024
·
Updated

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

drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails

Calling a6xxdestroy() before adrenogpuinit() leads to a null pointer dereference on:

msmgpucleanup() : platformsetdrvdata(gpu->pdev, NULL);

as gpu->pdev is only assigned in:

a6xxgpuinit() | adrenogpuinit | msmgpuinit()

Instead of relying on handwavy null checks down the cleanup chain, explicitly de-allocate the LLC data and free a6xxgpu instead.

Patchwork: https://patchwork.freedesktop.org/patch/588919/

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.1<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
Description
Sep 11, 2024
Data Sourced
via Launchpad·04:24 PM
Description
Nov 30, 2024
Data Sourced
via Ubuntu·04:43 PM
RemedyDescriptionSeverityAffected Software
Apr 27, 2025
Data Sourced
via Debian·05:13 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38390?

CVE-2024-38390 has a severity rating that indicates it could lead to a null pointer dereference affecting system stability.

2

How do I fix CVE-2024-38390?

To mitigate CVE-2024-38390, you should update to the recommended patched versions of the Linux Kernel, such as 6.1.123-1 or newer.

3

Which versions of the Linux Kernel are affected by CVE-2024-38390?

CVE-2024-38390 affects Linux Kernel versions between 6.1 and 6.9, excluding the specified patched versions.

4

Is there a workaround for CVE-2024-38390?

There are no specific workarounds for CVE-2024-38390 other than applying the appropriate updates.

5

What components are vulnerable due to CVE-2024-38390?

CVE-2024-38390 primarily affects the DRM subsystem in the Linux Kernel, specifically related to the Adreno GPU during initialization.

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