CVE-2022-50221

HIGH EPSS 7.5%
Published Jun 18, 20251y ago · Modified Jun 17, 20261w ago
7.1 CVSS 3.1
High
Find Similar
Published Jun 18, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

Description

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.

CVSS Details

Base Score
7.1
Exploitability
1.8
Impact
5.2
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
7.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-125 Out-of-bounds Read Memory Safety

Affected Products 1

VendorProductVersionRange
linuxlinux_kernel*≥5.18  –  <5.19.2

References 2

  • git.kernel.org https://git.kernel.org/stable/c/9c49ac792c639dbec0728b513329a32461f72253
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ae25885bdf59fde40726863c57fd20e4a0642183
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/9c49ac792c639dbec0728b513329a32461f72253
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ae25885bdf59fde40726863c57fd20e4a0642183
    Patch