diff options
author | Chris Wulff <Chris.Wulff@biamp.com> | 2024-04-25 15:18:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-04 18:26:06 +0200 |
commit | 1b739388aa3f8dfb63a9fca777e6dfa6912d0464 (patch) | |
tree | 15658d78b8e74c1149432f8f5bf6dd3988601bcd /tools/counter | |
parent | c5b324b1a7628c393f99058d2464592791617cc9 (diff) | |
download | linux-stable-1b739388aa3f8dfb63a9fca777e6dfa6912d0464.tar.gz linux-stable-1b739388aa3f8dfb63a9fca777e6dfa6912d0464.tar.bz2 linux-stable-1b739388aa3f8dfb63a9fca777e6dfa6912d0464.zip |
usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.
Hang on to the control IDs instead of pointers since those are correctly
handled with locks.
Fixes: 8fe9a03f4331 ("usb: gadget: u_audio: Rate ctl notifies about current srate (0=stopped)")
Fixes: c565ad07ef35 ("usb: gadget: u_audio: Support multiple sampling rates")
Fixes: 02de698ca812 ("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>
Diffstat (limited to 'tools/counter')
0 files changed, 0 insertions, 0 deletions