PT-2023-9388 · Linux+8 · Linux Kernel+8

Published

2023-10-26

·

Updated

2025-09-29

·

CVE-2023-52817

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.15.0-43-generic #46
Description The vulnerability is related to a null pointer access in the drm/amdgpu component of the Linux kernel. It can be triggered by reading the amdgpu regs smc file in certain types of chips, such as VEGA20, when the smc rreg pointer is NULL. This can result in a kernel NULL pointer dereference, leading to a denial of service.
To exploit this issue, an attacker would need to navigate to the directory /sys/kernel/debug/dri/0 and execute the command cat amdgpu regs smc. The vulnerability can be identified by the exception log, which includes the error message BUG: kernel NULL pointer dereference, address: 0000000000000000.
The amdgpu debugfs regs smc read function is vulnerable to this issue, and the full proxy read, vfs read, ksys read, and x64 sys read functions are also involved in the call trace.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for the drm/amdgpu null pointer access vulnerability. Specifically, update to a version later than 5.15.0-43-generic #46.
As a temporary workaround, consider disabling the amdgpu debugfs regs smc read function until a patch is available. However, this may have unintended consequences and should be done with caution.
At the moment, there is no information about a newer version that contains a fix for this vulnerability for versions other than 5.15.0-43-generic #46.

Exploit

Fix

DoS

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2023-7921
BDU:2024-06986
CESA-2024_7000
CESA-2024_7001
CVE-2023-52817
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_9315
OESA-2024-1677
OESA-2024-1678
OESA-2024-1679
OESA-2024-1680
OESA-2024-1681
OESA-2024-1682
OPENSUSE-SU-2024_2189-1
RHSA-2024:2394
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024:9315
RHSA-2024_2394
RHSA-2024_7000
RHSA-2024_7001
RHSA-2024_9315
RLSA-2024:7001
SUSE-SU-2024:2008-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:2493-1
SUSE-SU-2024:2561-1
SUSE-SU-2024:2571-1
SUSE-SU-2024:2896-1
SUSE-SU-2024:2901-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse