In the Linux kernel, the following vulnerability has been resolved:
ALSA: timer: Don't take registermutex with copyfrom/to_user()
The infamous mmaplock taken in copyfrom/to_user() can be often problematic when it's called inside another mutex, as they might lead to deadlocks.
In the case of ALSA timer code, the bad pattern is with guard(mutex)(®istermutex) that covers copyfrom/to_user() -- which was mistakenly introduced at converting to guard(), and it had been carefully worked around in the past.
This patch fixes those pieces simply by moving copyfrom/touser() out of the register mutex lock again.