Skip to main content

In the Linux kernel, the following vulnerability has been resolved: tty: port: fix tty_port_tty_vhangup() race Drivers rely on… (CVE-2026-98752)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:02 UTC)
Source: GCVE Database

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

AILast updated: 10/18/2026, 22:24:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses