What’s Vulnerable › Vulnerabilities
CVE-2023-52731: fbdev: Fix invalid page access after closing deferred I/O devices
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-08-04
- Weakness: CWE-125
Description
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 fb_release().
Affected products
- Linux kernel: from 5.19 before 6.1.13; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4, 6.2-rc5, 6.2-rc6 (+2) — fixed in 6.1.13
How to fix
Upgrade to a fixed version: Linux kernel 6.1.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3efc61d95259956db25347e2a9562c3e54546e20
- https://git.kernel.org/stable/c/87b9802ca824fcee7915e717e9a60471af62e8e9
- https://git.kernel.org/stable/c/f1d91f0e9d5a240a809698d7d9c5a538e7dcc149
- https://git.kernel.org/stable/c/3efc61d95259956db25347e2a9562c3e54546e20
- https://git.kernel.org/stable/c/87b9802ca824fcee7915e717e9a60471af62e8e9
- https://git.kernel.org/stable/c/f1d91f0e9d5a240a809698d7d9c5a538e7dcc149
Get alerted when CVE-2023-52731 or the next vulnerability affects your stack