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

fbcon: Avoid OOB font access if console rotation fails

Clear the font buffer if the reallocation during console rotation fails
in fbcon_rotate_font(). The putcs implementations for the rotated buffer
will return early in this case. See [1] for an example.

Currently, fbcon_rotate_font() keeps the old buffer, which is too small
for the rotated font. Printing to the rotated console with a high-enough
character code will overflow the font buffer.

v2:
- fix typos in commit message
Published: 2026-05-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In Linux systems, the fbcon_rotate_font() routine incorrectly retains a too‑small font buffer when console rotation fails. A subsequent attempt to print characters with a value high enough to reference this buffer triggers an out‑of‑bounds write. Because this occurs in kernel space, the corruption can lead to a crash or to the execution of arbitrary code with kernel privileges, enabling local privilege escalation or denial of service. The flaw is a classic buffer overflow scenario represented by CWE‑122 and CWE‑787.

Affected Systems

The affected component is the fbcon (framebuffer console) driver present in all standard Linux kernel builds that include framebuffer support. No specific kernel version numbers are supplied in the report; therefore, any kernel version that still contains the unpatched fbcon_rotate_font() implementation is vulnerable. Administrators should verify whether their installed kernel includes the commit that clears the font buffer on failure and, if not, treat the system as affected.

Risk and Exploitability

The exploitation surface is a local privilege escalation or crash scenario, as the fault occurs in kernel space and requires an application or script that triggers framebuffer console usage to provoke the overflow. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, yet the nature of the flaw—kernel memory corruption—implies a high risk should an attacker obtain local access or can invoke the faulty console rotation path. Prompt application of the patch is therefore advised.

Generated by OpenCVE AI on May 28, 2026 at 11:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that contains the fbcon font buffer clearing fix, such as the commit referenced in the supplied kernel patches
  • If an immediate kernel update is not possible, disable the framebuffer console by removing or preventing the loading of the fbcon module
  • Restrict access to framebuffer devices under /dev/fb* by setting appropriate file permissions or using device cgroups to minimize the attack surface

Generated by OpenCVE AI on May 28, 2026 at 11:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fbcon: Avoid OOB font access if console rotation fails Clear the font buffer if the reallocation during console rotation fails in fbcon_rotate_font(). The putcs implementations for the rotated buffer will return early in this case. See [1] for an example. Currently, fbcon_rotate_font() keeps the old buffer, which is too small for the rotated font. Printing to the rotated console with a high-enough character code will overflow the font buffer. v2: - fix typos in commit message
Title fbcon: Avoid OOB font access if console rotation fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-28T09:36:44.961Z

Reserved: 2026-05-13T15:03:33.104Z

Link: CVE-2026-46191

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-28T10:16:34.740

Modified: 2026-05-28T10:16:34.740

Link: CVE-2026-46191

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T12:00:14Z

Weaknesses

No weakness.