CVE-2023-52731: fbdev: Fix invalid page access after closing deferred I/O devices
In the Linux kernel, the following vulnerability has been resolved:
fbdev: Fix invalid page access after closing deferred I/O devices
The Linux kernel CVE team has assigned CVE-2023-52731 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052159-CVE-2023-52731-29ab@gregkh/T
Other sources
In the Linux kernel, the following vulnerability has been resolved:
fbdev: Fix invalid page access after closing deferred I/O devices
When a fbdev with deferred I/O is once opened and closed, the dirty pages still remain queued in the pageref list, and eventually later those may be processed in the delayed work. This may lead to a corruption of pages, hitting an Oops.
This patch makes sure to cancel the delayed work and clean up the pageref list at closing the device for addressing the bug. A part of the cleanup code is factored out as a new helper function that is called from the common fbrelease().
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.1.13 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.2
Event History
Frequently Asked Questions
What is the severity of CVE-2023-52731?
CVE-2023-52731 is classified as a medium severity vulnerability.
How do I fix CVE-2023-52731?
To fix CVE-2023-52731, update the Linux kernel to version 6.1.13 or 6.2.
Which Linux kernel versions are affected by CVE-2023-52731?
CVE-2023-52731 affects Linux kernel versions from 5.19 up to but not including 6.1.13, and 6.2 release candidates.
What type of vulnerability is CVE-2023-52731?
CVE-2023-52731 is a vulnerability related to invalid page access after closing deferred I/O devices in the Linux kernel.
Is CVE-2023-52731 a local or remote vulnerability?
CVE-2023-52731 is primarily a local vulnerability that requires access to the system to exploit.