CVE-2022-50221CWE-125

CVE-2022-50221

High · published June 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
11.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

drm/fb-helper: Fix out-of-bounds access

Clip memory range to screen-buffer size to avoid out-of-bounds access

in fbdev deferred I/O's damage handling.

Fbdev's deferred I/O can only track pages. From the range of pages, the

damage handler computes the clipping rectangle for the display update.

If the fbdev screen buffer ends near the beginning of a page, that page

could contain more scanlines. The damage handler would then track these

non-existing scanlines as dirty and provoke an out-of-bounds access

during the screen update. Hence, clip the maximum memory range to the

size of the screen buffer.

While at it, rename the variables min/max to min_off/max_off in

drm_fb_helper_deferred_io(). This avoids confusion with the macros of

the same name.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00218 · 11.6th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-06-18T15:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel≥ 5.18, < 5.19.25.19.2
References (2)
EPSS history
Timeline
  • 18 JUN 11:03Z
    drm/fb-helper: Fix out-of-bounds access
    cvelistv5