Skip to main content
Network Thinking Solutions Logo

CVE-2024-50156

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.

All CVEs
CVE-2024-50156Published 11/7/2024

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.

Vendor advisory
CVSS5.5Medium

Overview

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/

Published
11/7/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.14, < 5.15.170

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.115

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.59

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.11.6

Verify advisory

Source
linux kernel
linux
6.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 98659487b845c05b6bed85d881713545db674c7c, < 42cf045086feae77b212f0f66e742b91a5b566b7

Verify advisory

Source
Linux
Linux
≥ 98659487b845c05b6bed85d881713545db674c7c, < e8e9f2a12a6214080c8ea83220a596f6e1dedc6c

Verify advisory

Source
Linux
Linux
≥ 98659487b845c05b6bed85d881713545db674c7c, < f7ad916273483748582d97cfa31054ccb19224f3

Verify advisory

Source
Linux
Linux
≥ 98659487b845c05b6bed85d881713545db674c7c, < 563aa81fd66a4e7e6e551a0e02bcc23957cafe2f

Verify advisory

Source
Linux
Linux
≥ 98659487b845c05b6bed85d881713545db674c7c, < 293f53263266bc4340d777268ab4328a97f041fa

Verify advisory

Source
Linux
Linux
5.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.