CVE-2026-98753 PUBLISHED

tty: tty_port: restore TTY_IO_ERROR on activation failure

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 to 34d4f67472ef7a744970b772a8565ddc727788e2 (excl.)
  • affected from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 to 7021acc84c2e0add77a1a33152e3a1e428fdbfdb (excl.)
  • affected from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 to 6388409b711eb91b14fa075a4d861ccc4df1cfe7 (excl.)
  • affected from a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 to 56964f6a31238fb41d5830bb42520c5b10ff7d8f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.33 is affected
  • unaffected from 0 to 2.6.33 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References