mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.
[ Upstream commit1b739388aa] Hang on to the control IDs instead of pointers since those are correctly handled with locks. Fixes:8fe9a03f43("usb: gadget: u_audio: Rate ctl notifies about current srate (0=stopped)") Fixes:c565ad07ef("usb: gadget: u_audio: Support multiple sampling rates") Fixes:02de698ca8("usb: gadget: u_audio: add bi-directional volume and mute support") Signed-off-by: Chris Wulff <chris.wulff@biamp.com> Link: https://lore.kernel.org/stable/CO1PR17MB5419C2BF44D400E4E620C1ADE1172%40CO1PR17MB5419.namprd17.prod.outlook.com Link: https://lore.kernel.org/r/CO1PR17MB5419C2BF44D400E4E620C1ADE1172@CO1PR17MB5419.namprd17.prod.outlook.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9eb15f24a0
commit
453d3fa926
1 changed files with 9 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue