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.
CVSS Details
- CVSS 3.1 Base Score: 7.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.18-headersUpgrade perfUpgrade kernel-livepatch-6.18.39-79.141Upgrade kernel-tools-develUpgrade bpftool6.12-debuginfoUpgrade perf6.12-debuginfoUpgrade kernel6.18-modules-extraUpgrade kernel6.18-toolsUpgrade bpftool6.12Upgrade bpftool6.18-debuginfoUpgrade kernel6.12-modules-extra-commonUpgrade kernel-debuginfo-common-aarch64Upgrade kernel6.12Upgrade kernel-headersUpgrade kernel-modules-extra-commonUpgrade python3-perf6.12-debuginfoUpgrade kernel6.18-debuginfoUpgrade kernel6.12-debuginfo-common-aarch64Upgrade perf6.18-debuginfoUpgrade kernel6.12-modules-extraUpgrade kernel-toolsUpgrade kernel-develUpgrade kernel6.18-debuginfo-common-aarch64Upgrade kernel6.12-debuginfo-common-x86_64Upgrade python3-perfUpgrade kernel-debuginfoUpgrade kernel6.18Upgrade perf-debuginfoUpgrade python3-perf6.12Upgrade kernel-livepatch-6.12.100-125.179Upgrade perf6.12Upgrade python3-perf-debuginfoUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel-tools-debuginfoUpgrade python3-perf6.18Upgrade kernel-livepatch-6.1.180-225.360Upgrade kernel6.12-develUpgrade python3-perf6.18-debuginfoUpgrade kernel6.18-tools-develUpgrade kernel6.12-debuginfoUpgrade microvm-kernel6.18Upgrade kernel6.12-headersUpgrade bpftool-debuginfoUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.12-tools-develUpgrade kernel6.12-toolsUpgrade perf6.18Upgrade kernel6.18-tools-debuginfoUpgrade kernel6.12-tools-debuginfoUpgrade bpftool6.18Upgrade bpftoolUpgrade kernel6.18-develUpgrade kernelUpgrade kernel-modules-extraUpgrade kernel-debuginfo-common-x86_64 | Aug 18, 2026 | Jul 19, 2026 |
| Debian | — | Upgrade linux-6.12Upgrade linuxUpgrade linux-6.1 | Jul 28, 2026 | Jul 28, 2026 |
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-7.0.0-1013-oemUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-nvidia-7.0Upgrade linux-image-oracle-7.0Upgrade linux-image-gkeUpgrade linux-image-gke-64kUpgrade linux-image-oem-26.04bUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-7.0.0-1011-oracle-64kUpgrade linux-image-virtual-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-generic-64kUpgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-azure-lts-26.04Upgrade linux-image-gcp-7.0Upgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-oracleUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-genericUpgrade linux-image-aws-64k-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-gke-7.0Upgrade linux-image-realtime-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-ibmUpgrade linux-image-nvidiaUpgrade linux-image-nvidia-64kUpgrade linux-image-azureUpgrade linux-image-7.0.0-31-genericUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-virtualUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-generic-64k-7.0Upgrade linux-image-aws-64kUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-1011-oracleUpgrade linux-image-awsUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-gcpUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-oem-7.0Upgrade linux-image-generic-7.0Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-realtime-64kUpgrade linux-image-oracle-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-raspi-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-oem-26.04aUpgrade linux-image-7.0.0-1012-awsUpgrade linux-image-realtimeUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-raspiUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-raspi-realtime | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 3, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub