CVE-2024-50156

CVE Details

Release Date:2024-11-07

Description


In the Linux kernel, the following vulnerability has been resolved:\ndrm/msm: Avoid NULL dereference in msm_disp_state_print_regs()\nIf the allocation in msm_disp_state_dump_regs() failed then\n`block->state` can be NULL. The msm_disp_state_print_regs() function\n_does_ have code to try to handle it with:\nif (*reg)\ndump_addr = *reg;\n...but since 'dump_addr' is initialized to NULL the above is actually\na noop. The code then goes on to dereference `dump_addr`.\nMake the function print 'Registers not stored' when it sees a NULL to\nsolve this. Since we're touching the code, fix\nmsm_disp_state_print_regs() not to pointlessly take a double-pointer\nand properly mark the pointer as `const`.\nPatchwork: https://patchwork.freedesktop.org/patch/619657/

See more information about CVE-2024-50156 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 5.5
Vector String: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Version: 3.1
Attack Vector: Local
Attack Complexity: Low
Privileges Required: Low
User Interaction: None
Scope: Unchanged
Confidentiality: None
Integrity: None
Availability: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 8 (kernel-uek)ELSA-2024-128872024-12-18
Oracle Linux version 9 (kernel-uek)ELSA-2024-128872024-12-18


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete