Linux Kernel imageblit Flaw Enables Local Out-of-Bounds Memory Access
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Sep 24, 2024

CVE-2021-47383 is a moderate-severity out-of-bounds read flaw in the Linux kernel framebuffer-console (tty) subsystem's imageblit function. A local low-privileged process can trigger invalid vmalloc memory access through an FBIOPUT_VSCREENINFO ioctl request containing only partially populated fb_var_screeninfo fields, including xres, yres, and bits_per_pixel. If the requested configuration matches the prior request, the kernel can skip resize_screen(), leaving display values incomplete and producing incorrect row and coordinate calculations that lead to the invalid access, system crashes, or instability.
The upstream fix forces resize_screen() to populate the structure even where no display resize is needed; corrected releases span kernel versions from 4.4.286 through 5.15. Red Hat rated the issue CVSS 6.6 (CWE-125) and issued fixes for affected RHEL 8, RHEL 9, and RHEL 9.2 Extended Update Support kernel packages. Organizations should deploy updated kernel packages; no practical workaround was identified. RHEL 9 kernel-rt remained affected in the advisory, while RHEL 7 packages were outside support scope.
Why it matters
Impact assessment
CVE-2021-47383 affects Linux systems that expose the framebuffer-console interface and run an unpatched kernel in the affected stable-version ranges. A local low-privileged user or a process already executing locally can cause kernel out-of-bounds memory access, primarily creating a denial-of-service risk through crashes or system instability; Red Hat also scores limited confidentiality and integrity impact.
- Scope: local exploitation only; no user interaction is required.
- Primary impact: kernel crash, service interruption, host instability, and potential loss of availability for workloads on the affected host.
- Affected populations: physical Linux endpoints, servers, virtual machines, appliances, and console-enabled systems using vulnerable framebuffer/virtual-terminal code.
- Red Hat states the flaw does not provide direct unauthorized access or a direct threat to data security.
- No exploitation in the wild, public IOCs, or attributed threat activity is reported in the supplied references.
- Severity: Red Hat rates the issue Moderate, CVSS v3.1 6.6; NVD assigns 7.1.
Affected Red Hat products
- RHEL 8 kernel: fixed in RHSA-2024:7000.
- RHEL 8 kernel-rt: fixed in RHSA-2024:7001.
- RHEL 9.2 EUS kernel: fixed in RHSA-2024:5364.
- RHEL 9.2 EUS kernel-rt: fixed in RHSA-2024:5365.
- RHEL 9 kernel: fixed in RHSA-2024:8617.
- RHEL 9 kernel-rt: listed as affected without a corresponding erratum in the referenced advisory.
- RHEL 7 kernel and kernel-rt: out of support scope; treat as affected until migrated or otherwise validated.
- RHEL 6 kernel: listed as not affected.


