Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b84fd400f80adf4d1c88fbce50ae1cf2f8119e65; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 38400673c9bfb39cfc87539e1a072087e98f4e4f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cab5a342f0589334046741006d8a280514f94235; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 38a0aa593ebc275aea6f79534d07f44e43768ce6; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3f6b1d3fcfc26dc3fc85262f753439df93b055b4; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b664592e9ba8c47c9e23408db7ba52eb9f946c8a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cc4a1a2ce0c58eafd477effb055863935260ddc1; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e25d47a526939ad44b75f778b8a7500562b84fc1 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.152 through 6.6.*; unaffected 6.12.104 through 6.12.*; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b84fd400f80adf4d1c88fbce50ae1cf2f8119e65
- https://git.kernel.org/stable/c/38400673c9bfb39cfc87539e1a072087e98f4e4f
- https://git.kernel.org/stable/c/cab5a342f0589334046741006d8a280514f94235
- https://git.kernel.org/stable/c/38a0aa593ebc275aea6f79534d07f44e43768ce6
- https://git.kernel.org/stable/c/3f6b1d3fcfc26dc3fc85262f753439df93b055b4
- https://git.kernel.org/stable/c/b664592e9ba8c47c9e23408db7ba52eb9f946c8a
- https://git.kernel.org/stable/c/cc4a1a2ce0c58eafd477effb055863935260ddc1
- https://git.kernel.org/stable/c/e25d47a526939ad44b75f778b8a7500562b84fc1
ADP enrichment
No English description supplied.
No references supplied.