CVE Explore

NULL pointer dereference in Linux

CVE-2024-38390

CVSS v3
5.5 Medium
Public exploits
None known
EPSS
0.002 · 13.0th percentile
Published
2024-06-21

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/

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 13.0th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 6.9.4, 5fea4202b5faccfc6449381a299e8ce4b994d666, 6.0.10
  • Linux Kernel

Weakness classification (CWE)

References