tty: ttybuffer: Fix the softlockup issue in flushto_ldisc
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.82 by commit 77e9fed33056f2a88eba9dd4d2d5412f0c7d1f41. For more details please see the references link.