In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Add timeout while stop_streaming When stop_streaming is called, an infinite loop may occur in some cases. Add a bounded poll of the queue status: loop until the queues drain, sleeping briefly between polls, and bail out once VPU_DEC_STOP_TIMEOUT elapses.
https://git.kernel.org/stable/c/c104f37b9f79d6c179c5f1a170d7f1da497ff527
https://git.kernel.org/stable/c/2ae7faed2e60d6d07d9efdd962d20dcb15330ced