Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98754 Overview
CVE-2026-98754 is a race condition vulnerability in the Linux kernel's Virtual Console Concentrator (VCC) tty driver. The vcc_cleanup() function clears the port->tty pointer without acquiring port->lock, while vcc_event() Logical Domain Channel (LDC) callbacks read the same pointer under the lock and subsequently dereference tty->port. The resulting race can trigger a use-after-free when a callback accesses tty->port after cleanup has already destroyed and freed the structure. The kernel maintainers have resolved the issue by holding the port lock during the pointer clear operation.
Critical Impact
A kernel use-after-free in the VCC tty driver can lead to memory corruption, kernel panic, or potential local privilege escalation on affected SPARC systems using Logical Domain virtual consoles.
Affected Products
- Linux kernel (upstream mainline tty/vcc driver)
- Stable kernel branches referenced by commits 03b49c9, 1a9fb9e, 5775344, 8210506, and 88f6ecb
- Distributions shipping the SPARC VCC driver for Logical Domain virtual consoles
Discovery Timeline
- 2026-10-18 - CVE-2026-98754 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-98754
Vulnerability Analysis
The VCC driver provides virtual console access on SPARC systems using Oracle's Logical Domain Channel transport. The vcc_cleanup() function tears down a port when the associated tty session ends, releasing resources tied to the virtual console. During cleanup, the driver sets port->tty to NULL to signal that no tty is attached. The flaw is that this assignment occurs outside the protection of port->lock.
Concurrently, vcc_event() runs as an LDC callback in response to inbound channel events. The callback correctly acquires port->lock and reads port->tty into a local variable. If the read returns a non-NULL value that was already in flight before cleanup nulled it, the callback proceeds to dereference tty->port. By that point, cleanup may have freed the underlying tty structure, producing a classic use-after-free [CWE-416] driven by a race condition [CWE-362].
Root Cause
The root cause is inconsistent locking discipline around a shared pointer. Readers acquire port->lock before touching port->tty, but the writer in vcc_cleanup() mutates the pointer without acquiring the same lock. This violates the lock's invariant and permits a stale pointer to escape to the callback path. The upstream fix wraps the port->tty = NULL assignment inside the port->lock critical section so that any concurrent vcc_event() reader observes either a valid tty or NULL, never a dangling pointer.
Attack Vector
Exploitation requires the ability to trigger VCC tty teardown while LDC events are being delivered on the same port. On SPARC Logical Domain hosts, this requires local interaction with virtual console sessions or the ability to influence LDC event delivery. The attack is a local kernel race and does not expose a network-reachable surface. Successful exploitation yields use-after-free memory corruption inside kernel address space.
No public proof-of-concept has been published for this issue. The vulnerability is described in prose only; refer to the upstream commits for the exact code paths and the applied locking fix.
Detection Methods for CVE-2026-98754
Indicators of Compromise
- Kernel panics or general protection fault messages originating in vcc_event() or vcc_cleanup() call stacks
- KASAN (Kernel Address Sanitizer) use-after-free reports referencing the vcc driver and tty port structures
- Unexpected virtual console disconnects on SPARC Logical Domain guests coinciding with kernel oops entries
Detection Strategies
- Enable KASAN on test kernels to surface the race deterministically during vcc port teardown stress testing
- Monitor /var/log/messages and dmesg for tty subsystem warnings and NULL pointer dereferences involving vcc
- Correlate kernel crash dumps against the fixed commit hashes (03b49c9, 1a9fb9e, 5775344, 8210506, 88f6ecb) to confirm patch status
Monitoring Recommendations
- Centralize kernel logs from SPARC Logical Domain hosts and alert on repeated vcc subsystem faults
- Track running kernel versions across the fleet and flag hosts without the backported fix
- Baseline normal virtual console session churn to detect abnormal cleanup event patterns
How to Mitigate CVE-2026-98754
Immediate Actions Required
- Inventory SPARC systems running Linux with the VCC driver loaded and prioritize them for patching
- Apply the upstream stable kernel update that includes the vcc_cleanup() locking fix
- Restrict local access to Logical Domain management interfaces until the patched kernel is deployed
Patch Information
The fix is available in the following upstream commits: Kernel Git Commit 03b49c9, Kernel Git Commit 1a9fb9e, Kernel Git Commit 5775344, Kernel Git Commit 8210506, and Kernel Git Commit 88f6ecb. Each commit acquires port->lock before clearing port->tty in vcc_cleanup(), closing the race window with vcc_event().
Workarounds
- Unload the vcc kernel module on hosts that do not require Logical Domain virtual console functionality
- Limit interactive virtual console sessions to trusted administrators until patches are applied
- Enforce strict access controls on the Logical Domain hypervisor management plane to reduce local attack surface
# Verify whether the vcc module is loaded and remove it if unused
lsmod | grep -w vcc
sudo modprobe -r vcc
# Blacklist the module to prevent reload on boot
echo 'blacklist vcc' | sudo tee /etc/modprobe.d/blacklist-vcc.conf
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

