In the Linux kernel, the following vulnerability has been resolved: vt: stabilize tty reference in kbd_keycode with tty_port_tty_get kbd_keycode()… (CVE-2026-74675)
A vulnerability in the Linux kernel's virtual terminal (vt) subsystem was resolved by stabilizing the tty reference in the kbd_keycode function. The issue involved kbd_keycode() reading vc->port.tty without holding a proper reference, which could race against con_shutdown() clearing port.tty under a different lock. The fix uses tty_port_tty_get() and tty_kref_put() to maintain a proper reference while the tty pointer is accessed.
AI Analysis
Technical Summary
The Linux kernel vulnerability identified as CVE-2026-74675 involves a race condition in the vt subsystem where the kbd_keycode() function reads the vc->port.tty pointer without acquiring a proper reference. This creates a race against con_shutdown(), which clears port.tty under a different lock, potentially leading to use-after-free or invalid pointer dereference. The vulnerability was resolved by modifying kbd_keycode() to use tty_port_tty_get() and tty_kref_put() to hold a stable reference to the tty pointer during its usage.
Potential Impact
The vulnerability could lead to unstable behavior or kernel memory corruption due to racing access to the tty pointer without proper reference counting. This may affect system stability or security depending on how the race is triggered. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by using proper reference counting with tty_port_tty_get() and tty_kref_put(). Users should update to a kernel version that includes this fix. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor patches for the exact fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: vt: stabilize tty reference in kbd_keycode with tty_port_tty_get kbd_keycode()… (CVE-2026-74675)
Description
A vulnerability in the Linux kernel's virtual terminal (vt) subsystem was resolved by stabilizing the tty reference in the kbd_keycode function. The issue involved kbd_keycode() reading vc->port.tty without holding a proper reference, which could race against con_shutdown() clearing port.tty under a different lock. The fix uses tty_port_tty_get() and tty_kref_put() to maintain a proper reference while the tty pointer is accessed.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability identified as CVE-2026-74675 involves a race condition in the vt subsystem where the kbd_keycode() function reads the vc->port.tty pointer without acquiring a proper reference. This creates a race against con_shutdown(), which clears port.tty under a different lock, potentially leading to use-after-free or invalid pointer dereference. The vulnerability was resolved by modifying kbd_keycode() to use tty_port_tty_get() and tty_kref_put() to hold a stable reference to the tty pointer during its usage.
Potential Impact
The vulnerability could lead to unstable behavior or kernel memory corruption due to racing access to the tty pointer without proper reference counting. This may affect system stability or security depending on how the race is triggered. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by using proper reference counting with tty_port_tty_get() and tty_kref_put(). Users should update to a kernel version that includes this fix. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor patches for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pv3w-35gf-cp37
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74675"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f0acd9273b499bc746
Added to database: 08/22/2026, 22:51:28 UTC
Last enriched: 08/23/2026, 00:38:08 UTC
Last updated: 08/23/2026, 01:52:16 UTC
Views: 2
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.