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.15.5 by commit 5c34486f04700f1ba04907231dce0cc2705c2d7d. For more details please see the references link.