CVE-2024-38390
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 21 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.1, < 6.1.93 | 6.1.93 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.33 | 6.6.33 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.9.4 | 6.9.4 |
References
- https://git.kernel.org/stable/c/247849eeb3fd88f8990ed73e33af70d5c10f9aec · Patch
- https://git.kernel.org/stable/c/46d4efcccc688cbacdd70a238bedca510acaa8e4 · Patch
- https://git.kernel.org/stable/c/617e3d1680504a3f9d88e1582892c68be155498f · Patch
- https://git.kernel.org/stable/c/a1955a6df91355fef72a3a254700acd3cc1fec0d · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Jun 2024)