vt: stabilize tty reference in kbd_keycode with tty_port_tty_get
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e25d47a526939ad44b75f778b8a7500562b84fc1, Kernel 38400673c9bfb39cfc87539e1a072087e98f4e4f, Kernel 38a0aa593ebc275aea6f79534d07f44e43768ce6 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: vt: stabilize tty reference in kbd_keycode with tty_port_tty_get kbd_keycode() reads vc->port.tty without acquiring a tty reference, racing against con_shutdown() which clears port.tty under a different lock. Use tty_port_tty_get()/tty_kref_put() to hold a proper reference for the duration the tty pointer is needed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e25d47a526939ad44b75f778b8a7500562b84fc1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <38400673c9bfb39cfc87539e1a072087e98f4e4f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <38a0aa593ebc275aea6f79534d07f44e43768ce6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3f6b1d3fcfc26dc3fc85262f753439df93b055b4, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b664592e9ba8c47c9e23408db7ba52eb9f946c8a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b84fd400f80adf4d1c88fbce50ae1cf2f8119e65, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cab5a342f0589334046741006d8a280514f94235, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cc4a1a2ce0c58eafd477effb055863935260ddc1, =2.6.12 | e25d47a526939ad44b75f778b8a7500562b84fc1, 38400673c9bfb39cfc87539e1a072087e98f4e4f, 38a0aa593ebc275aea6f79534d07f44e43768ce6, 3f6b1d3fcfc26dc3fc85262f753439df93b055b4, b664592e9ba8c47c9e23408db7ba52eb9f946c8a, b84fd400f80adf4d1c88fbce50ae1cf2f8119e65, cab5a342f0589334046741006d8a280514f94235, cc4a1a2ce0c58eafd477effb055863935260ddc1 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.45, >=6.19.0 <7.1.9, >=6.2.0 <6.6.152, >=6.7.0 <6.12.104, >=2.6.12 <5.10.265 | 5.15.216, 6.1.183, 6.18.45, 7.1.9, 6.6.152, 6.12.104, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket