CVE-2026-53402·Kernel vulnerability
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 fbcon_do_set_font() fails (e.g., due to a memory allocation failure inside vc_resize() under heavy memory pressure), it jumps to the `err_out` label to roll back the console state. However, the current rollback logic forgets to restore the `hi_font` state, leading to a severe state machine corruption. Earlier in the function, `set_vc_hi_font()` might be called to change `vc->vc_hi_font_mask` and mutate the screen buffer. If `vc_resize()` subsequently fails, the `err_out` path restores `vc_font.charcount` but entirely skips rolling back the `vc_hi_font_mask` and the screen buffer. This mismatch leaves the terminal in a desynchronized state. Because `vc_hi_font_mask` remains set, the VT subsystem will still accept character indices greater than 255 from userspace and write them to the screen buffer. Subsequent rendering calls (e.g., `fbcon_putcs()`) will then use these inflated indices to access the reverted, 256-character font array, leading to a deterministic out-of-bounds read and potential kernel memory disclosure. Fix this by adding the missing rollback logic for the `hi_font` mask and screen buffer in the error path.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-53402 scores 7.1 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.3
Fixed in: 7.1.3
How to fix this CVE
Update your Linux kernel to version 7.1.3 or later to resolve the fbcon font handling state corruption vulnerability. This patch restores proper rollback logic for high-font mask state during font switching failures, preventing out-of-bounds memory reads in the framebuffer console driver. Apply the update during your next scheduled maintenance window to eliminate the memory disclosure risk.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with `uname -r` and compare against 6.19 to 7.1.3 range to identify vulnerable kernels
- Step 2: Verify fbcon module is loaded with `lsmod | grep fbcon` to confirm the vulnerable console driver is active
- Step 3: Search kernel logs for fbcon_do_set_font errors using `dmesg | grep -i 'fbcon\|set_font\|vc_resize'` to detect font switch failures
- Step 4: After patching, confirm kernel version with `uname -r` shows 7.1.3 or later, then reboot and verify with `dmesg | head -20` that the new kernel loaded
FAQ
What is CVE-2026-53402?
A state machine corruption vulnerability in the Linux fbcon driver where failed font switching operations leave the console in a desynchronized state. This allows the VT subsystem to accept out-of-bounds character indices that are then used to read beyond the font array, potentially leaking kernel memory.
Is CVE-2026-53402 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, the deterministic nature of the bug makes it a moderate risk in environments with direct framebuffer console access.
What versions of Kernel are affected by CVE-2026-53402?
Linux kernel versions 6.19 through 7.1.2 are vulnerable. The issue is resolved in kernel 7.1.3 and later stable releases.
How do I check if my server is vulnerable to CVE-2026-53402?
Run `uname -r` to display your kernel version, then compare it against the vulnerable range (6.19 to 7.1.2). If your version falls within this range, your system requires patching.
Does Defensia detect CVE-2026-53402?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-53402 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/076b1aa65f77a49bce5a48a4a55a397cfcafa2b8
- https://git.kernel.org/stable/c/3618a4c5b2591cfa83efe74f5b18c2d02b35c3f5
- https://git.kernel.org/stable/c/39815715cbcfabb16fc8c5f4a23deeda20f5df62
- https://git.kernel.org/stable/c/8fdc8c2057eea08d40ce2c8eed41ff9e451c65c2
- https://git.kernel.org/stable/c/a7a526fbc847f07ad3a503c7382189be5ab68574
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53402. Free for 1 server.
Get started free