CVE-2026-98838
vt: skip screen update for DEC alignment test on backgroup consoles
Check your servers for CVE-2026-98838
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98838 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
vt: skip screen update for DEC alignment test on backgroup consoles
[BUG] Recently, we encountered a KASAN warning as follows:
BUG: KASAN: slab-out-of-bounds in fb_pad_aligned_buffer+0x11f/0x140 Read of size 1 at addr ff1100015fd9f6a4 by task tty_fbcon_oob/1239 CPU: 7 UID: 0 PID: 1239 Comm: tty_fbcon_oob Not tainted 7.3.0-rc1 #100 PREEMPT(full) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-4.fc41 04/01/2014 Call Trace: <TASK> ... kasan_report+0xf0/0x120 fb_pad_aligned_buffer+0x11f/0x140 ccw_putcs+0x86c/0xa80 fbcon_putcs+0x338/0x410 do_update_region+0x21d/0x450 do_con_write+0x1e0e/0x4880 con_write+0x13/0x80 n_tty_write+0x374/0x1010 file_tty_write.isra.0+0x404/0x7a0 ...
reproduce: 1) open /dev/tty0, set a KDFONTOP ioctl with op.op = KD_FONT_OP_SET, op.width = 8 and op.height = 16 (visible VC1) 2) open /dev/tty1, set a KDFONTOP ioctl with op.op = KD_FONT_OP_SET, op.width = 28 and op.height = 24 (invisible VC2) 3) echo 3 > /sys/devices/virtual/graphics/fbcon/rotate_all 4) write EShash8(esc hash8) to tty1
[CAUSE] All VCs render to the framebuffer. setfont only modifies the target VC's font without resizing the framebuffer backing buffer (par->rotated.buf); the buffer is only resized for the visible VC (fbcon_do_set_font -> ... -> vc_do_resize -> update_screen). This relies on the con_should_update() check performed before every update_region().
However, the ESC # 8 path (do_con_trol -> do_update_region) omits the con_should_update() check. After changing the font size of an invisible VC, do_update_region() fills using the new font size against a buffer that was never resized, causing an out-of-bounds access.
[FIX] Only push the update when the console is visible and not blanked, add the con_should_update() check in the do_con_trol() like every other call site of do_update_region() (update_region(), invert_screen(), ...).
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.63% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d388658505bf707ff0cd7142c37c868febf8c2a5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 82561eee12a342994daf3a70590f5d07c35da743 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 663cf98baced6941a0f3f00e1be61024e57d4429 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2fc4e71aefab57c80ccc9775aad2af503fc90810 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 985c000b046ca4ee11ee34ef85db500c569ef6e8 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ad06f7312d3f615dd466483ce81a9b9619166686 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0ee53081425a1a31ce15089012cd96b8353eb44e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0928ed9bd7946baee911efa401088697836e3b1e
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.273 up to and including 5.10.* unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.56 up to and including 6.18.* unaffected from 7.2.10 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98838 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98838
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98838
trivy image --scanners vuln IMAGE | grep CVE-2026-98838
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d388658505bf707ff0cd7142c37c868febf8c2a5 git.kernel.org
- https://git.kernel.org/stable/c/82561eee12a342994daf3a70590f5d07c35da743 git.kernel.org
- https://git.kernel.org/stable/c/663cf98baced6941a0f3f00e1be61024e57d4429 git.kernel.org
- https://git.kernel.org/stable/c/2fc4e71aefab57c80ccc9775aad2af503fc90810 git.kernel.org
- https://git.kernel.org/stable/c/985c000b046ca4ee11ee34ef85db500c569ef6e8 git.kernel.org
- https://git.kernel.org/stable/c/ad06f7312d3f615dd466483ce81a9b9619166686 git.kernel.org
- https://git.kernel.org/stable/c/0ee53081425a1a31ce15089012cd96b8353eb44e git.kernel.org
- https://git.kernel.org/stable/c/0928ed9bd7946baee911efa401088697836e3b1e git.kernel.org
Source: the record CVE-2026-98838 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse