# CVE-2026-98753: tty: tty_port: restore TTY_IO_ERROR on activation failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:47:37.700Z
- Modified: 2026-10-30T13:21:24.277Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tty: tty_port: restore TTY_IO_ERROR on activation failure

Make sure to restore the TTY_IO_ERROR flag if activation fails to
prevent I/O attempts on a port that is gone or powered down.

This specifically avoids issues like kernel panic due to unclocked
accesses or NULL-pointer dereferences when accessing powered down or
deregistered ports when a TTY ioctl races with hangup and open.

Note that the flag is set again in tty_port_close() but not restoring it
on activation failure leaves a window where drivers fail to handle the
ioctl-hangup race.

(As written by CVE List.)

## Affected

- Linux Linux: from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 761e8c5eb13d1b5e196b0b39bdfed6fc67af9dd2; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 5469dc4153a60289c5bae00215947c6ce09fcc0e; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before e24625bff786fa3f22cc38b5038362b910621e83; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 16032c980d8f71642fcdc99309c571df3fcf3328; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 34d4f67472ef7a744970b772a8565ddc727788e2; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 7021acc84c2e0add77a1a33152e3a1e428fdbfdb; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 6388409b711eb91b14fa075a4d861ccc4df1cfe7; from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 before 56964f6a31238fb41d5830bb42520c5b10ff7d8f; 2.6.33 (not affected: before 2.6.33; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/761e8c5eb13d1b5e196b0b39bdfed6fc67af9dd2>
- <https://git.kernel.org/stable/c/5469dc4153a60289c5bae00215947c6ce09fcc0e>
- <https://git.kernel.org/stable/c/e24625bff786fa3f22cc38b5038362b910621e83>
- <https://git.kernel.org/stable/c/16032c980d8f71642fcdc99309c571df3fcf3328>
- <https://git.kernel.org/stable/c/34d4f67472ef7a744970b772a8565ddc727788e2>
- <https://git.kernel.org/stable/c/7021acc84c2e0add77a1a33152e3a1e428fdbfdb>
- <https://git.kernel.org/stable/c/6388409b711eb91b14fa075a4d861ccc4df1cfe7>
- <https://git.kernel.org/stable/c/56964f6a31238fb41d5830bb42520c5b10ff7d8f>

## Sources

- CVE List: [CVE-2026-98753](https://www.cve.org/CVERecord?id=CVE-2026-98753), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98753](https://nvd.nist.gov/vuln/detail/CVE-2026-98753), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98753 · Whole record: https://cve.day/CVE-2026-98753.json · Rebuilt by cve.day 2026-11-25T22:59:45.291Z
