CVE-2024-46813 drm/amd/display: Check link_index before accessing dc->links[]
A missing bounds check in the AMD display driver allows out-of-bounds access, potentially causing a null pointer dereference and system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46813?
CVE-2024-46813 is a high-severity vulnerability in Linux kernel, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check link_index before accessing dc->links[]
[WHY & HOW] dc->links[] has max size of MAX_LINKS and NULL is return when trying to access with out-of-bound index.
This fixes 3 OVERRUN and 1 RESOURCE_LEAK issues reported by Coverity.
Weakness: CWE-129
Which versions are affected by CVE-2024-46813?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-46813?
Apply the vendor's patch.
Is CVE-2024-46813 being exploited?
There is no known exploitation of CVE-2024-46813 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-49918, BELL-CVE-2024-46813, DEBIAN-CVE-2024-46813, GHSA-2vgc-pr6w-4gq9, ROOT-OS-DEBIAN-11-CVE-2024-46813, ROOT-OS-DEBIAN-12-CVE-2024-46813 and 2 more.