Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52731
HistoryMay 21, 2024 - 3:22 p.m.

CVE-2023-52731 fbdev: Fix invalid page access after closing deferred I/O devices

2024-05-2115:22:57
Linux
www.cve.org
linux kernel
vulnerability
fbdev
deferred i/o
pageref list
delayed work
bug
patch
cleanup code
helper function

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/video/fbdev/core/fb_defio.c",
      "drivers/video/fbdev/core/fbmem.c",
      "include/linux/fb.h"
    ],
    "versions": [
      {
        "version": "186b89659c4c",
        "lessThan": "87b9802ca824",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "56c134f7f1b5",
        "lessThan": "f1d91f0e9d5a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "56c134f7f1b5",
        "lessThan": "3efc61d95259",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/video/fbdev/core/fb_defio.c",
      "drivers/video/fbdev/core/fbmem.c",
      "include/linux/fb.h"
    ],
    "versions": [
      {
        "version": "5.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.13",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2023-52731