CVE-2024-49901
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-49901 affects the Linux kernel and involves a NULL pointer dereference vulnerability in the drm/msm/adreno GPU driver. The issue was discovered when msmgpucleanup() attempts to call platformsetdrvdata(gpu->pdev, NULL) while gpu->pdev is NULL, occurring when the GPU device has not been fully initialized. This can happen in scenarios such as when speedbin data exists in the catalog but opp-supported-hw is missing in the Device Tree (NVD).

Technical details

The vulnerability is caused by improper initialization order in the MSM GPU driver code, where gpu->pdev is assigned too late in the initialization sequence. This can lead to a NULL pointer dereference when cleanup is called before full initialization, particularly in error paths. The issue has a CVSS v3.1 Base Score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can result in a NULL pointer dereference, potentially causing a system crash (denial of service) when the affected driver encounters certain error conditions during GPU initialization (NVD).

Mitigation and workarounds

The issue has been fixed by moving the assignment of msmgpu->pdev earlier in the initialization sequence. The fix involves relocating the pdev assignment from msmgpuinit() to adrenogpu_init(), ensuring the pointer is set before any potential cleanup paths are triggered (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management