tty: tty_port: restore TTY_IO_ERROR on activation failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 16032c980d8f71642fcdc99309c571df3fcf3328, Kernel 34d4f67472ef7a744970b772a8565ddc727788e2, Kernel 5469dc4153a60289c5bae00215947c6ce09fcc0e and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.33, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <16032c980d8f71642fcdc99309c571df3fcf3328, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <34d4f67472ef7a744970b772a8565ddc727788e2, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <5469dc4153a60289c5bae00215947c6ce09fcc0e, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <56964f6a31238fb41d5830bb42520c5b10ff7d8f, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <6388409b711eb91b14fa075a4d861ccc4df1cfe7, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <7021acc84c2e0add77a1a33152e3a1e428fdbfdb, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <761e8c5eb13d1b5e196b0b39bdfed6fc67af9dd2, >=a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 <e24625bff786fa3f22cc38b5038362b910621e83 | 16032c980d8f71642fcdc99309c571df3fcf3328, 34d4f67472ef7a744970b772a8565ddc727788e2, 5469dc4153a60289c5bae00215947c6ce09fcc0e, 56964f6a31238fb41d5830bb42520c5b10ff7d8f, 6388409b711eb91b14fa075a4d861ccc4df1cfe7, 7021acc84c2e0add77a1a33152e3a1e428fdbfdb, 761e8c5eb13d1b5e196b0b39bdfed6fc67af9dd2, e24625bff786fa3f22cc38b5038362b910621e83 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket