In the Linux kernel, the following vulnerability has been resolved: tty: port: fix tty_port_tty_vhangup() race Drivers rely on… (CVE-2026-98752)
Description
A race condition vulnerability in the Linux kernel's tty port handling was resolved. The function tty_port_tty_vhangup() could return before the port was fully shut down if it raced with another hangup, potentially causing use-after-free and NULL-pointer dereferences during concurrent ioctl or hangup operations. The fix adds serialization to ensure the function does not return until the port shutdown is complete, preventing these race conditions.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a race condition in the tty port subsystem where tty_port_tty_vhangup() could return prematurely if it raced with another hangup operation. This premature return could lead to use-after-free and NULL-pointer dereference vulnerabilities during racing ioctl calls or asynchronous hangups such as carrier loss. The vulnerability was addressed by adding missing serialization between tty_port_tty_vhangup() and tty_port_hangup(), ensuring that tty_port_tty_vhangup() only returns after the port has been fully shut down, eliminating the race condition. The serial core was not affected as it already holds the port mutex during hangup.
Potential Impact
This vulnerability could lead to use-after-free and NULL-pointer dereference conditions in the Linux kernel's tty port handling, potentially causing kernel crashes or undefined behavior when racing ioctl or hangup operations occur. There is no indication of known exploits in the wild. The impact is limited to kernel stability and security related to tty port deregistration.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by adding serialization to the tty_port_tty_vhangup() and tty_port_hangup() functions. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2697-8gj7-2gh6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98752"]
Threat ID: 6ad520ab2cdf04f6569939d7
Added to database: 10/18/2026, 19:40:27 UTC
Last enriched: 10/18/2026, 22:24:17 UTC
Last updated: 10/18/2026, 22:24:17 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.