CVE-2024-38390

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

No CVSS score yet EPSS 0.22%

Published 21 Jun 2024 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2024-38390

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38390 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

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

Calling a6xx_destroy() before adreno_gpu_init() leads to a null pointer dereference on:

msm_gpu_cleanup() : platform_set_drvdata(gpu->pdev, NULL);

as gpu->pdev is only assigned in:

a6xx_gpu_init() |_ adreno_gpu_init |_ msm_gpu_init()

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

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

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 76efc2453d0e8e5d6692ef69981b183ad674edea, before 247849eeb3fd88f8990ed73e33af70d5c10f9aec
affected from 76efc2453d0e8e5d6692ef69981b183ad674edea, before a1955a6df91355fef72a3a254700acd3cc1fec0d
affected from 76efc2453d0e8e5d6692ef69981b183ad674edea, before 617e3d1680504a3f9d88e1582892c68be155498f
affected from 76efc2453d0e8e5d6692ef69981b183ad674edea, before 46d4efcccc688cbacdd70a238bedca510acaa8e4
affected 5fea4202b5faccfc6449381a299e8ce4b994d666
affected from 6.0.10, before 6.1
Other versions: unaffected
Linux
affected 6.1
unaffected before 6.1
unaffected from 6.1.93 up to and including 6.1.*
unaffected from 6.6.33 up to and including 6.6.*
unaffected from 6.9.4 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38390 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38390

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-38390
trivy image --scanners vuln IMAGE | grep CVE-2024-38390

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-38390 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.