CVE Catalog

CVE-2026-98752

Low risk· EPSS 6%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel, tty_port_tty_vhangup() may return before the port has actually been shut down if it races with another hangup. The missing serialization between tty_port_tty_vhangup() and tty_port_hangup() leads to use-after-free and NULL-pointer dereferences in racing ioctls and in processing of asynchronous hangups (carrier loss).

Risk Assessment

Use-after-free and NULL dereferences may occur, resulting in kernel panics or potential code execution in kernel context, threatening system stability and security.

Recommendation

Update the Linux kernel to a version containing the fix that adds the missing serialization in tty_port_tty_vhangup() and tty_port_hangup(). Avoid disconnecting serial devices during active operation until the update is deployed.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: tty: port: fix tty_port_tty_vhangup() race Drivers rely on tty_port_tty_vhangup() to synchronously hang up their ports before tearing down resources as part of deregistration (e.g. on physical disconnect). If tty_port_tty_vhangup() races with another hangup it may however return before the port has been shut down. This is in turn can lead to use-after-free and NULL-pointer dereferences in racing ioctls (including a synchronous hangup) and in processing of racing asynchronous hangups (carrier loss). Add the missing serialisation to tty_port_tty_vhangup() and tty_port_hangup() so that the former does not return until the port has been shut down also when there is a racing hangup. Note that serial core does not use tty_port_hangup(), but it already holds the port mutex when clearing port->tty and shutting down the port in uart_hangup().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS