CVE-2024-53108·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Adjust VSDB parser for replay feature At some point, the IEEE ID identification for the replay check in the AMD EDID was added. However, this check causes the following out-of-bounds issues when using KASAN: [ 27.804016] BUG: KASAN: slab-out-of-bounds in amdgpu_dm_update_freesync_caps+0xefa/0x17a0 [amdgpu] [ 27.804788] Read of size 1 at addr ffff8881647fdb00 by task systemd-udevd/383 ... [ 27.821207] Memory state around the buggy address: [ 27.821215] ffff8881647fda00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.821224] ffff8881647fda80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.821234] >ffff8881647fdb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.821243] ^ [ 27.821250] ffff8881647fdb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.821259] ffff8881647fdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.821268] ================================================================== This is caused because the ID extraction happens outside of the range of the edid lenght. This commit addresses this issue by considering the amd_vsdb_block size. (cherry picked from commit b7e381b1ccd5e778e3d9c44c669ad38439a861d8)
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.10
- Published
- 2024-12-02
Affected versions
From: 6.7
Until: 6.11.10
Fixed in: 6.11.10
How to fix this CVE
Update your Linux kernel to version 6.11.10 or later to resolve this memory safety vulnerability affecting AMD display drivers. The fix corrects improper boundary checking in the VSDB parser that could cause kernel panics or memory corruption during display capability detection. Systems running kernel versions 6.7 through 6.11.9 should prioritize this update to eliminate the out-of-bounds memory access risk.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r | awk -F'.' '{print $1"."$2"."$3}'
- Verify if kernel is affected: if uname -r | grep -qE '^6\.(7|8|9|10|11\.[0-9])'; then echo 'VULNERABLE'; fi
- Search kernel logs for KASAN memory errors: dmesg | grep -i 'KASAN\|slab-out-of-bounds\|amdgpu_dm_update_freesync'
- Verify patch application after update: grep 'drm/amd/display' /var/log/apt/history.log || journalctl -u apt | grep -i 'kernel\|amd'
FAQ
What is CVE-2024-53108?
This vulnerability exists in the AMD display driver's VSDB (Vendor-Specific Data Block) parser, which fails to properly validate buffer boundaries when extracting IEEE ID information for replay feature detection, leading to out-of-bounds memory reads detected by KASAN.
Is CVE-2024-53108 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for this vulnerability. It is primarily a stability and memory safety concern rather than a direct security threat.
What versions of Kernel are affected by CVE-2024-53108?
Linux kernel versions 6.7 through 6.11.9 are vulnerable. Kernel 6.11.10 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-53108?
Run `uname -r` to check your kernel version; if it reports 6.7.x through 6.11.9, your system is vulnerable. Additionally, check dmesg for KASAN errors mentioning 'amdgpu_dm_update_freesync' or 'slab-out-of-bounds'.
Does Defensia detect CVE-2024-53108?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-53108 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-53108. Free for 1 server.
Get started free