SecurityContext

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

  • Cve: CVE-2024-50156
  • Name: Linux Kernel - Null Pointer Dereference
  • Description: In the Linux kernel, the following vulnerability has been resolved: drm/msm: Avoid NULL dereference in msm_disp_state_print_regs() If the allocation in msm_disp_state_dump_regs() failed then `block->state` can be NULL. The msm_disp_state_print_regs() function _does_ have code to try to handle it with: if (*reg) dump_addr = *reg; ...but since "dump_addr" is initialized to NULL the above is actually a noop. The code then goes on to dereference `dump_addr`. Make the function print "Registers not stored" when it sees a NULL to solve this. Since we're touching the code, fix msm_disp_state_print_regs() not to pointlessly take a double-pointer and properly mark the pointer as `const`. Patchwork: https://patchwork.freedesktop.org/patch/619657/
  • Impact: Local attackers can cause kernel panic or crash, leading to denial of service or potential privilege escalation.
  • Remediation: Apply the patch from https://patchwork.freedesktop.org/patch/619657/ to fix the NULL dereference issue.
  • 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.00216
  • Epss percentile: 0.119
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-11-07T10:15:07Z
  • Age in days: 747
  • Modified at: 2026-06-17T08:03:44Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-50156
  • 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
UrlTags
https://git.kernel.org/stable/c/293f53263266bc4340d777268ab4328a97f041faPatch
https://git.kernel.org/stable/c/42cf045086feae77b212f0f66e742b91a5b566b7Patch
https://git.kernel.org/stable/c/563aa81fd66a4e7e6e551a0e02bcc23957cafe2fPatch
https://git.kernel.org/stable/c/e8e9f2a12a6214080c8ea83220a596f6e1dedc6cPatch
https://git.kernel.org/stable/c/f7ad916273483748582d97cfa31054ccb19224f3Patch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.12 rc1; = 6.12 rc2; = 6.12 rc3; >= 6.7, < 6.11.6; >= 6.2, < 6.6.59; >= 5.16, < 6.1.115; >= 5.14, < 5.15.170nonvd/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