From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD8A93BF685 for ; Wed, 8 Apr 2026 12:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775650385; cv=none; b=o0cz8bn9x3s5bYrsuHS4F9XNQup6slVECvIi5RNIRxwbyEJm4qvwbloLfdOT0yMNFUW2vMeMLxxmqB4NovYRPKx71is1k3qJc2e4OyOY+1pu2YXf5Vktucn2nJshMLlYC/dx6+jnrszAxnqMRhTkTbuWRckYCVBtKcg2vGuZzy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775650385; c=relaxed/simple; bh=KgyWxjD+RXDSQM/qg5eoDk1fnooX2D2A10MIilbeoTA=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=cadNmap2q5M+r57R18PeqSjnK32zrU9p9wOyeSUI7S05xMAGflOhuuOhsYiRBYePANO1ZY+BXdolqVvCT3kAuVIkVc3PJkPEWM31e8PxEyEfRP/5ojgu4swmdri0G+eb0BpF9Jq4UfHrwtC1F+p7q8cRqcBIi1g31pQbjOOhL0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.210.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-7d4c7afa9e0so14176908a34.0 for ; Wed, 08 Apr 2026 05:13:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775650383; x=1776255183; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1DlBroZFVbmj6vD8HgNyONMb1ZFuWVid7JPtKQOd81c=; b=eVhv6CgFTmThe9bROy7hr83Z3srRl79oTY7UcNfAj4xDG48fhoulzCuwHHEH4FcS29 4a1P9qcHHZZH++E/vrR5knznTpF1QszsmiWFlruBmTnjHpMjG6PuG821jZUfbAo6IVhr IXLgXGkNSOL7XSwLC4pP9oDBEYSupQQvvxmSzS398eaKaTfp+i7RqURY7h3g7jIbpDnt n3dLkZL+JkwhrnAdq8yhW3SPa90oeuVXxbgDdVWlvrpPtOo3ZwZN89283CFdv2BaVDF1 z8Nix7WvqsKcPd9fDVRVnyqelI60Kk30RZh9JpgpXcNUhr41bQBv1H+TQYSMqy8GeJad FIHg== X-Forwarded-Encrypted: i=1; AJvYcCXDyiEqXCc2bXEplmQ9i0vXufqEPmZDjpPkHMSK726QVsqQCfgyN64OZk78iaMiEOaTEas9olGJf7sZj40=@vger.kernel.org X-Gm-Message-State: AOJu0YwFmeFbpy4gAOFwT4HEbHPbujVNdqrI/cqJYM3ahP39eIzm4+Vf Ddu92PrmQtvEiVDaT0RIu8EPXPIlca/oY9YFucmiY9uQRn0efcZWJn9TaIsqluRvyZxY9sJTcjF 4FNNZp83hhIr/Y9x8LfSoZlZu8O1fSHtG4oqRH2aMGqZJAQ6xjvRjizSRte4= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:308b:b0:684:9e9e:816c with SMTP id 006d021491bc7-6849e9e8ceamr8203468eaf.41.1775650382944; Wed, 08 Apr 2026 05:13:02 -0700 (PDT) Date: Wed, 08 Apr 2026 05:13:02 -0700 In-Reply-To: <20260408114557.287659-2-jakovnovak30@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69d6464e.a00a0220.468cb.0010.GAE@google.com> Subject: Re: [syzbot] [usb?] [libertas?] INFO: task hung in lbs_remove_card From: syzbot To: jakovnovak30@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: INFO: task hung in lbs_remove_card INFO: task kworker/0:1:10 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:27608 pid:10 tgid:10 ppid:2 task_flags:0x4288060 flags:0x00080000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5298 [inline] __schedule+0xeb1/0x4220 kernel/sched/core.c:6911 __schedule_loop kernel/sched/core.c:6993 [inline] schedule+0xdd/0x390 kernel/sched/core.c:7008 lbs_wait_for_firmware_load+0x11e/0x1e0 drivers/net/wireless/marvell/libertas/firmware.c:116 lbs_remove_card+0xb5/0x3d0 drivers/net/wireless/marvell/libertas/main.c:914 if_usb_disconnect+0xaf/0x2e0 drivers/net/wireless/marvell/libertas/if_usb.c:316 usb_unbind_interface+0x1dd/0x9e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:633 [inline] device_remove+0x12a/0x180 drivers/base/dd.c:625 __device_release_driver drivers/base/dd.c:1344 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1367 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:657 device_del+0x376/0x9b0 drivers/base/core.c:3880 usb_disable_device+0x367/0x810 drivers/usb/core/message.c:1478 usb_disconnect+0x2e2/0x9a0 drivers/usb/core/hub.c:2345 hub_port_connect drivers/usb/core/hub.c:5407 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x1d0c/0x4af0 drivers/usb/core/hub.c:5953 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276 process_scheduled_works kernel/workqueue.c:3359 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x6c3/0xcb0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Showing all locks held in the system: 5 locks held by kworker/0:1/10: #0: ffff888103ae8148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251 #1: ffffc900000afd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252 #2: ffff88810b7d31e0 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:949 [inline] #2: ffff88810b7d31e0 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899 #3: ffff88810429b1e0 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:949 [inline] #3: ffff88810429b1e0 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x10a/0x9a0 drivers/usb/core/hub.c:2336 #4: ffff88810429a1a8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:949 [inline] #4: ffff88810429a1a8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1166 [inline] #4: ffff88810429a1a8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb2/0x620 drivers/base/dd.c:1364 2 locks held by kworker/1:0/23: #0: ffff88810006b148 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251 #1: ffffc9000018fd18 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252 1 lock held by khungtaskd/30: #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775 2 locks held by getty/2917: #0: ffff888115e3a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x1500 drivers/tty/n_tty.c:2211 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1d7/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x141/0x190 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline] watchdog+0xd25/0x1050 kernel/hung_task.c:515 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x6c3/0xcb0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63 Code: ee b0 01 e9 53 e8 02 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 33 b7 1c 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffffff89407e10 EFLAGS: 00000242 RAX: 00000000000fd60d RBX: ffffffff8942ea40 RCX: ffffffff8769c8d5 RDX: 0000000000000000 RSI: ffffffff890241d2 RDI: ffffffff87afcca0 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed103eac672d R10: ffff8881f563396b R11: 0000000000000000 R12: 0000000000000000 R13: fffffbfff1285d48 R14: 0000000000000000 R15: ffffffff8af019d0 FS: 0000000000000000(0000) GS:ffff8882686ca000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdba9235900 CR3: 0000000105f12000 CR4: 00000000003506f0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:73 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x464/0x590 kernel/sched/idle.c:352 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:451 rest_init+0x251/0x260 init/main.c:760 start_kernel+0x47a/0x480 init/main.c:1210 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x12b/0x130 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148 Tested on: commit: 8f993d30 usb: gadget: f_ncm: validate minimum block_le.. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=113b23ca580000 kernel config: https://syzkaller.appspot.com/x/.config?x=dd0e4d4150f9f1da dashboard link: https://syzkaller.appspot.com/bug?extid=c99d17aa44dbdba16ad2 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 patch: https://syzkaller.appspot.com/x/patch.diff?x=16126df6580000