]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: usb-audio: Check max frame size for implicit feedback mode, too
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Feb 2026 08:52:29 +0000 (09:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Feb 2026 09:17:28 +0000 (10:17 +0100)
commit7cb2a5422f5bbdf1cf32eae0eda41000485b9346
tree9b4c87cadde10695fc16787cbde1bc5933c28f3c
parent7fe8dec3f628e9779f1631576f8e693370050348
ALSA: usb-audio: Check max frame size for implicit feedback mode, too

When the packet sizes are taken from the capture stream in the
implicit feedback mode, the sizes might be larger than the upper
boundary defined by the descriptor.  As already done for other
transfer modes, we have to cap the sizes accordingly at sending,
otherwise this would lead to an error in USB core at submission of
URBs.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=221076
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260225085233.316306-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c