NACK [OEM-5.10] Re: [SRU] [Unstable/OEM-5.10] [PATCH 0/2] Fix USB audio devices without quirk

Timo Aaltonen tjaalton at ubuntu.com
Thu Mar 18 19:40:17 UTC 2021


On 12.3.2021 8.56, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1918670
> 
> [Impact]
> After LP: #1917842, USB audio devices that don't have quirk stop
> working.
> 
> [Fix]
> 1) Only apply quirk if it exists.
> 2) Check quirk before the driver is freed.
> 
> [Test]
> Ckeck if USB audio works fine.
> The reporter verifed the fix solves the issue.
> 
> [Where problems could occur]
> This fix checks NULL more thoroughly, so it's unlikely to indroduce any
> new issues.
> 
> Pavel Skripkin (2):
>    ALSA: usb-audio: fix NULL ptr dereference in usb_audio_probe
>    ALSA: usb-audio: fix use after free in usb_audio_disconnect
> 
>   sound/usb/card.c | 9 +++++----
>   1 file changed, 5 insertions(+), 4 deletions(-)
> 

both already applied via stable updates


-- 
t



More information about the kernel-team mailing list