CVE-2023-52731
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 186b89659c4c67cccead52961eab0ca3b23951dc before 87b9802ca824fcee7915e717e9a60471af62e8e9, from 56c134f7f1b58be08bdb0ca8372474a4a5165f31 before f1d91f0e9d5a240a809698d7d9c5a538e7dcc149, from 56c134f7f1b58be08bdb0ca8372474a4a5165f31 before 3efc61d95259956db25347e2a9562c3e54546e20, 5.19
Not affected: before 5.19, from 6.1.13 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelfrom 5.19 before 6.1.13, 6.2NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fbdev: corrige el acceso a páginas no válidas después de cerrar dispositivos de E/S diferidas. Cuando un fbdev con E/S diferidas se abre y cierra una vez, las páginas sucias aún permanecen en cola en la lista pageref. y, eventualmente, más adelante, podrán procesarse en el trabajo retrasado. Esto puede provocar la corrupción de las páginas y provocar un error. Este parche garantiza cancelar el trabajo retrasado y limpiar la lista de referencias de página al cerrar el dispositivo para solucionar el error. Una parte del código de limpieza se factoriza como una nueva función auxiliar que se llama desde el fb_release() común.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52731 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-52731 changed 2026-08-04Public domain