summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorHeitor Alves de Siqueira <halves@igalia.com>2026-03-14 00:27:58 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-03-19 11:07:55 +0300
commit7c5c2b661bdb78c1472b8833265c9ed1ee880039 (patch)
treee52bc56558b7e51eac23ca8f160f9e77b5374bd7 /lib/debugobjects.c
parenta57f35fc19add4dfe33703af575a2c19c2cef9c7 (diff)
downloadlinux-7c5c2b661bdb78c1472b8833265c9ed1ee880039.tar.xz
wifi: libertas: don't kill URBs in interrupt context
Serialization for the TX path was enforced by calling usb_kill_urb()/usb_kill_anchored_urbs(), to prevent transmission before a previous URB was completed. usb_tx_block() can be called from interrupt context (e.g. in the HCD giveback path), so we can't always use it to kill in-flight URBs. Prevent sleeping during interrupt context by checking the tx_submitted anchor for existing URBs. We now return -EBUSY, to indicate there's a pending request. Reported-by: syzbot+74afbb6355826ffc2239@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=74afbb6355826ffc2239 Fixes: d66676e6ca96 ("wifi: libertas: fix WARNING in usb_tx_block") Signed-off-by: Heitor Alves de Siqueira <halves@igalia.com> Link: https://patch.msgid.link/20260313-libertas-usb-anchors-v1-2-915afbe988d7@igalia.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions