In the Linux kernel, the following vulnerability has been resolved: fbdev: fbcon: fix out-of-bounds read in err_out of fbcon_do_set_font() When… (CVE-2026-53402)
A vulnerability in the Linux kernel's framebuffer console (fbcon) subsystem causes an out-of-bounds read due to incomplete rollback of font state after a failure in fbcon_do_set_font(). This leads to terminal state corruption and potential kernel memory disclosure. The issue arises when the error handling path does not restore the hi_font mask and screen buffer, allowing invalid character indices to be used in rendering. This flaw has been fixed by adding the missing rollback logic.
AI Analysis
Technical Summary
The Linux kernel fbcon subsystem had a vulnerability where the error path in fbcon_do_set_font() failed to restore the hi_font mask and screen buffer after a failure in vc_resize(), causing a state machine corruption. Because the hi_font mask remained set, the VT subsystem accepted character indices beyond 255 and wrote them to the screen buffer. Subsequent rendering used these indices to access a reverted 256-character font array, resulting in a deterministic out-of-bounds read and potential kernel memory disclosure. The fix adds the missing rollback logic to the error path to prevent this desynchronization.
Potential Impact
This vulnerability can lead to a deterministic out-of-bounds read in kernel memory, potentially disclosing sensitive kernel memory contents. It affects the framebuffer console subsystem, which could be exploited by local userspace processes interacting with the VT subsystem. There is no indication of remote exploitation or privilege escalation in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves adding rollback logic for the hi_font mask and screen buffer in the error path of fbcon_do_set_font(). Until an official patch is confirmed, avoid triggering font changes under heavy memory pressure or restrict untrusted userspace access to the VT subsystem.
In the Linux kernel, the following vulnerability has been resolved: fbdev: fbcon: fix out-of-bounds read in err_out of fbcon_do_set_font() When… (CVE-2026-53402)
Description
A vulnerability in the Linux kernel's framebuffer console (fbcon) subsystem causes an out-of-bounds read due to incomplete rollback of font state after a failure in fbcon_do_set_font(). This leads to terminal state corruption and potential kernel memory disclosure. The issue arises when the error handling path does not restore the hi_font mask and screen buffer, allowing invalid character indices to be used in rendering. This flaw has been fixed by adding the missing rollback logic.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel fbcon subsystem had a vulnerability where the error path in fbcon_do_set_font() failed to restore the hi_font mask and screen buffer after a failure in vc_resize(), causing a state machine corruption. Because the hi_font mask remained set, the VT subsystem accepted character indices beyond 255 and wrote them to the screen buffer. Subsequent rendering used these indices to access a reverted 256-character font array, resulting in a deterministic out-of-bounds read and potential kernel memory disclosure. The fix adds the missing rollback logic to the error path to prevent this desynchronization.
Potential Impact
This vulnerability can lead to a deterministic out-of-bounds read in kernel memory, potentially disclosing sensitive kernel memory contents. It affects the framebuffer console subsystem, which could be exploited by local userspace processes interacting with the VT subsystem. There is no indication of remote exploitation or privilege escalation in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves adding rollback logic for the hi_font mask and screen buffer in the error path of fbcon_do_set_font(). Until an official patch is confirmed, avoid triggering font changes under heavy memory pressure or restrict untrusted userspace access to the VT subsystem.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jxr7-x2hm-5g42
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53402"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ad2a4a8d59891318d5
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/19/2026, 20:20:19 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.