In the Linux kernel, the following vulnerability has been resolved:
serial: imx: Introduce timeout when waiting on transmitter empty
By waiting at most 1 second for USR2_TXDC to be set, we avoid a potential
deadlock.
In case of the timeout, there is not much we can do, so we simply ignore
the transmitter state and optimistically try to continue.
git.kernel.org/stable/c/53b2c95547427c358f45515a9f144efee95e3701
git.kernel.org/stable/c/7f2b9ab6d0b26f16cd38dd9fd91d51899635f7c7
git.kernel.org/stable/c/7f9e70c68b7ace0141fe3bc94bf7b61296b71916
git.kernel.org/stable/c/982ae3376c4c91590d38dc8a676c10f7df048a44
git.kernel.org/stable/c/e533e4c62e9993e62e947ae9bbec34e4c7ae81c2