On Fri, 20 Apr 2018 18:08:28 +0200, <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > > The patch below does not apply to the 4.14-stable tree. > If someone wants it applied there, or to any other stable or longterm > tree, then please email the backport, including the original git commit > id to <stable@xxxxxxxxxxxxxxx>. It's because of one missing prerequisite commit. Could you cherry-pick the following commit at first? c64ed5dd9feba193c76eb460b451225ac2a0d87b ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation Then the rest commits should be cleanly applicable, at least to 4.14.y: 02a5d6925cd34c3b774bdb8eefb057c40a30e870 ALSA: pcm: Avoid potential races between OSS ioctls and read/write 40cab6e88cb0b6c56d3f30b7491a20e803f948f6 ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams f6d297df4dd47ef949540e4a201230d0c5308325 ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls e15dc99dbb9cf99f6432e8e3c0b3a8f7a3403a86 ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation thanks, Takashi