NULL pointer dereference in Linux
CVE-2024-49913
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 16.3th percentile
- Published
- 2024-10-21
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream
This commit addresses a null pointer dereference issue in the
`commit_planes_for_stream` function at line 4140. The issue could occur
when `top_pipe_to_program` is null.
The fix adds a check to ensure `top_pipe_to_program` is not null before
accessing its stream_res. This prevents a null pointer dereference.
Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:4140 commit_planes_for_stream() error: we previously assumed 'top_pipe_to_program' could be null (see line 3906)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 16.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, 4.15, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/1ebfa6663807c144be8c8b6727375012409d2356 (Patch)
- git.kernel.org/stable/c/8ab59527852a6f7780aad6185729550ca0569122 (Patch)
- git.kernel.org/stable/c/40193ff73630adf76bc0d82398f7d90fb576dba4 (Patch)
- git.kernel.org/stable/c/e47e563c6f0db7d792a559301862c19ead0dfc2f (Patch)
- git.kernel.org/stable/c/3929e382e4758aff42da0102a60d13337c99d3b8 (Patch)
- git.kernel.org/stable/c/73efd2a611b62fee71a7b7f27d9d08bb60da8a72 (Patch)
- git.kernel.org/stable/c/66d71a72539e173a9b00ca0b1852cbaa5f5bf1ad (Patch)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html