CVE-2024-57887·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm: adv7511: Fix use-after-free in adv7533_attach_dsi() The host_node pointer was assigned and freed in adv7533_parse_dt(), and later, adv7533_attach_dsi() uses the same. Fix this use-after-free issue by dropping of_node_put() in adv7533_parse_dt() and calling of_node_put() in error path of probe() and also in the remove().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.9
- Published
- 2025-01-15
Affected versions
From: 6.7
Until: 6.12.9
Fixed in: 6.12.9
How to fix this CVE
Update your Linux kernel to version 6.12.9 or later to resolve a use-after-free vulnerability in the ADV7511 display driver's DSI attachment code. This memory safety issue affects kernel versions 6.7 through 6.12.8 and requires a kernel upgrade followed by system reboot to take effect.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — verify if it falls between 6.7 and 6.12.8 (vulnerable range)
- Verify ADV7511 driver presence: grep -r 'adv7533' /sys/devices/ — confirms if the affected display driver component is loaded
- Search kernel logs for DSI initialization errors: journalctl -b | grep -i 'adv7511\|adv7533\|dsi' — look for driver probe failures or memory warnings
- Confirm fix application post-reboot: uname -r — ensure kernel version is 6.12.9 or higher
FAQ
What is CVE-2024-57887?
A use-after-free memory vulnerability in the Linux kernel's ADV7511 HDMI transmitter driver where a pointer freed during device tree parsing could be accessed later during DSI attachment, potentially leading to kernel memory corruption or crash.
Is CVE-2024-57887 being actively exploited?
No — this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities catalog, and no public exploits are available. Exploitation requires local kernel-level access.
What versions of Kernel are affected by CVE-2024-57887?
Linux kernel versions 6.7 through 6.12.8 are vulnerable. Version 6.12.9 and later include the fix.
How do I check if my server is vulnerable to CVE-2024-57887?
Run 'uname -r' and compare your kernel version to the vulnerable range (6.7–6.12.8). If your version falls within this range and you use ADV7511/ADV7533 display drivers, your system is vulnerable.
Does Defensia detect CVE-2024-57887?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is present on a monitored server, CVE-2024-57887 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1f49aaf55652580ae63ab83d67211fe6a55d83dc
- https://git.kernel.org/stable/c/81adbd3ff21c1182e06aa02c6be0bfd9ea02d8e8
- https://git.kernel.org/stable/c/acec80d9f126cd3fa764bbe3d96bc0cb5cd2b087
- https://git.kernel.org/stable/c/ca9d077350fa21897de8bf64cba23b198740aab5
- https://git.kernel.org/stable/c/d208571943ffddc438a7ce533d5d0b9219806242
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57887. Free for 1 server.
Get started free