tty: fix deadlock caused by calling printk() under tty_port->lock
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.121 by commit 9834b13e8b962caa28fbcf1f422dd82413da4ede, it was introduced in version v4.18 by commit b6da31b2c07c46f2dcad1d86caa835227a16d9ff. For more details please see the references link.