CVE-2024-35799
📋 TL;DR
A NULL pointer dereference vulnerability in the AMD display driver component of the Linux kernel can cause a kernel crash when disabling a display stream. This affects Linux systems with AMD graphics hardware using the affected kernel versions.
💻 Affected Systems
- Linux kernel with AMD display driver (drm/amd/display)
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, potentially causing data loss or system instability.
Likely Case
System crash or instability when display operations are performed, particularly with multiple displays or display mode changes.
If Mitigated
Minor system instability that may require reboot if triggered during display operations.
🎯 Exploit Status
Exploitation requires ability to perform display operations, typically requiring local access and appropriate permissions.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in stable kernel trees (commits referenced in CVE)
Vendor Advisory: https://git.kernel.org/stable/c/2b17133a0a2e0e111803124dad09e803718d4a48
Restart Required: Yes
Instructions:
1. Update to a patched kernel version from your distribution's repositories. 2. Reboot the system to load the new kernel.
🔧 Temporary Workarounds
Disable AMD display driver
linuxPrevent loading of the vulnerable AMD display driver module
echo 'blacklist amdgpu' >> /etc/modprobe.d/blacklist.conf
update-initramfs -u
reboot
🧯 If You Can't Patch
- Restrict local user access to systems with AMD graphics
- Monitor for system crashes and investigate display-related kernel panics
🔍 How to Verify
Check if Vulnerable:
Check kernel version and if AMD display driver is loaded: 'uname -r' and 'lsmod | grep amdgpu'
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version is updated and check dmesg for display-related errors after patch
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages in dmesg or /var/log/kern.log
- Display driver crash logs
- System crash reports
Network Indicators:
- None - local vulnerability
SIEM Query:
source="kernel" AND ("panic" OR "Oops" OR "NULL pointer dereference") AND "display"
🔗 References
- https://git.kernel.org/stable/c/2b17133a0a2e0e111803124dad09e803718d4a48
- https://git.kernel.org/stable/c/4356a2c3f296503c8b420ae8adece053960a9f06
- https://git.kernel.org/stable/c/59772327d439874095516673b4b30c48bd83ca38
- https://git.kernel.org/stable/c/72d72e8fddbcd6c98e1b02d32cf6f2b04e10bd1c
- https://git.kernel.org/stable/c/2b17133a0a2e0e111803124dad09e803718d4a48
- https://git.kernel.org/stable/c/4356a2c3f296503c8b420ae8adece053960a9f06
- https://git.kernel.org/stable/c/59772327d439874095516673b4b30c48bd83ca38
- https://git.kernel.org/stable/c/72d72e8fddbcd6c98e1b02d32cf6f2b04e10bd1c