CVE-2024-50156drm/msm: Avoid NULL dereference in msm_disp_state_print_regs()
- 5.5MediumCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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/
Timeline
ID reserved
By Linux
- 17 days later
· 17 days later
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 98659487b845c05b6bed85d881713545db674c7c – < 42cf045086feae77b212f0f66e742b91a5b566b7
- affected 98659487b845c05b6bed85d881713545db674c7c – < e8e9f2a12a6214080c8ea83220a596f6e1dedc6c
- affected 98659487b845c05b6bed85d881713545db674c7c – < f7ad916273483748582d97cfa31054ccb19224f3
- affected 98659487b845c05b6bed85d881713545db674c7c – < 563aa81fd66a4e7e6e551a0e02bcc23957cafe2f
- affected 98659487b845c05b6bed85d881713545db674c7c – < 293f53263266bc4340d777268ab4328a97f041fa
- affected 5.14
- unaffected < 5.14
- unaffected 5.15.170 – ≤ 5.15.*
- unaffected 6.1.115 – ≤ 6.1.*
- unaffected 6.6.59 – ≤ 6.6.*
- unaffected 6.11.6 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References6
- https://git.kernel.org/stable/c/42cf045086feae77b212f0f66e742b91a5b566b7 (opens in a new tab)
- https://git.kernel.org/stable/c/e8e9f2a12a6214080c8ea83220a596f6e1dedc6c (opens in a new tab)
- https://git.kernel.org/stable/c/f7ad916273483748582d97cfa31054ccb19224f3 (opens in a new tab)
- https://git.kernel.org/stable/c/563aa81fd66a4e7e6e551a0e02bcc23957cafe2f (opens in a new tab)
- https://git.kernel.org/stable/c/293f53263266bc4340d777268ab4328a97f041fa (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-44658 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50156)Record last updated .