CVE-2023-52486

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Mar 11, 2024
Updated: Jan 14, 2025
CWE ID 667

Summary

CVE-2023-52486 is a vulnerability affecting the Linux kernel. It was discovered that in the function `drm_mode_page_flip_ioctl()`, if a deadlock occurs after looking up a framebuffer (fb), the kernel would attempt to unreference the same fb again before performing another lookup. This error would result in the fb being freed while still in use, leading to unintended consequences. To mitigate this issue, it is now ensured that the fb pointer is reset to NULL once it has been unreffed. This vulnerability was found to be easily exploitable on DG2 hardware when performing async flips with the `CONFIG_DEBUG_WW_MUTEX_SLOWPATH` enabled. The initial symptom of the vulnerability was a busy loop in `drm_closefb()` as it walked the framebuffer list.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share