CVE-2023-52731

fbdev: Fix invalid page access after closing deferred I/O devices

State
Published
Severity
7.8 High
Published
May 21, 2024
Updated
Aug 5, 2026
Reserved
May 21, 2024

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 186b89659c4c67cccead52961eab0ca3b23951dc to before 87b9802ca824fcee7915e717e9a60471af62e8e9Affected
  • 56c134f7f1b58be08bdb0ca8372474a4a5165f31 to before f1d91f0e9d5a240a809698d7d9c5a538e7dcc149Affected
  • 56c134f7f1b58be08bdb0ca8372474a4a5165f31 to before 3efc61d95259956db25347e2a9562c3e54546e20Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.13 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.