CVE-2024-46804·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add array index check for hdcp ddc access [Why] Coverity reports OVERRUN warning. Do not check if array index valid. [How] Check msg_id valid and valid array index.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.9
- Published
- 2024-09-27
Affected versions
From: 6.7
Until: 6.10.9
Fixed in: 6.10.9
How to fix this CVE
Update your Linux kernel to version 6.10.9 or later to patch a bounds-checking flaw in the AMD display driver's HDCP DDC message handling. This vulnerability allows local attackers with user privileges to trigger out-of-bounds memory access, potentially leading to privilege escalation or system crashes. Ensure your system receives the latest kernel updates through your distribution's package manager.
sudo dnf update kernel kernel-devel kernel-headersDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — verify the version is 6.10.9 or later
- Confirm AMD GPU driver presence: lspci | grep -i amd — check if AMD display device is present on system
- Review kernel module loading: lsmod | grep amdgpu — verify the amdgpu or amd display module is active
- Verify patch application: grep -i hdcp /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/amd/display/* — confirm bounds-checking code is present in compiled modules
FAQ
What is CVE-2024-46804?
CVE-2024-46804 is a kernel vulnerability in AMD's display driver that fails to validate array indices when accessing HDCP DDC (Display Data Channel) message structures, potentially allowing out-of-bounds memory reads or writes.
Is CVE-2024-46804 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available.
What versions of Kernel are affected by CVE-2024-46804?
Linux kernel versions 6.7 through 6.10.8 are vulnerable; the issue is resolved in version 6.10.9 and later.
How do I check if my server is vulnerable to CVE-2024-46804?
Run `uname -r` to check your kernel version — if it is between 6.7 and 6.10.8 and you have an AMD GPU present (verified with `lspci | grep AMD`), your system is vulnerable.
Does Defensia detect CVE-2024-46804?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is installed on a monitored server, CVE-2024-46804 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0ee4387c5a4b57ec733c3fb4365188d5979cd9c7
- https://git.kernel.org/stable/c/2a63c90c7a90ab2bd23deebc2814fc5b52abf6d2
- https://git.kernel.org/stable/c/4e70c0f5251c25885c31ee84a31f99a01f7cf50e
- https://git.kernel.org/stable/c/8b5ccf3d011969417be653b5a145c72dbd30472c
- https://git.kernel.org/stable/c/a3b5ee22a9d3a30045191da5678ca8451ebaea30
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-46804. Free for 1 server.
Get started free