SecurityContext

CVE-2024-38390: Linux Kernel - Null Pointer Dereference

  • Cve: CVE-2024-38390
  • Name: Linux Kernel - Null Pointer Dereference
  • 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/
  • Impact: Kernel panic or crash, leading to denial of service or potential privilege escalation.
  • Remediation: Apply the patch to explicitly de-allocate LLC data and free a6xx_gpu as per the patch link.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00222
  • Epss percentile: 0.12725
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-06-21T11:15:10Z
  • Age in days: 886
  • Modified at: 2026-06-17T07:40:02Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-38390
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/247849eeb3fd88f8990ed73e33af70d5c10f9aec
https://git.kernel.org/stable/c/46d4efcccc688cbacdd70a238bedca510acaa8e4
https://git.kernel.org/stable/c/617e3d1680504a3f9d88e1582892c68be155498f
https://git.kernel.org/stable/c/a1955a6df91355fef72a3a254700acd3cc1fec0d

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.7, < 6.9.4; >= 6.2, < 6.6.33; >= 6.1, < 6.1.93nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports