INFO: task kworker/1:5:3713 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:22424 pid: 3713 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 usb_kill_urb+0x1d5/0x310 drivers/usb/core/urb.c:720 usb_start_wait_urb+0x265/0x530 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2a5/0x4b0 drivers/usb/core/message.c:153 usb_get_descriptor+0xb5/0x3c0 drivers/usb/core/message.c:793 usb_get_device_descriptor+0x8a/0xe0 drivers/usb/core/message.c:1071 hub_port_init+0x106f/0x2e60 drivers/usb/core/hub.c:4922 hub_port_connect+0xc30/0x2910 drivers/usb/core/hub.c:5282 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5497 port_event+0xb67/0x1220 drivers/usb/core/hub.c:5643 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5725 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1dd00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by udevd/2973: #0: ffff88807e5d2460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff88807cd408b0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff88807cd408b0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff88807cd408b0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556 #2: ffffffff8d0ca8a8 (smack_known_lock){+.+.}-{3:3}, at: smk_import_entry+0x52/0x400 security/smack/smack_access.c:570 2 locks held by getty/3282: #0: ffff88807eca2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 5 locks held by kworker/1:5/3713: #0: ffff8880123ba938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90002c7fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 #2: ffff888147be9220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147be9220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5671 #3: ffff888147bec5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3086 [inline] #3: ffff888147bec5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x4f4/0x2910 drivers/usb/core/hub.c:5249 #4: ffff88801e3dae68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x51d/0x2910 drivers/usb/core/hub.c:5250 2 locks held by udevd/3768: #0: ffff88801b456118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xf7/0xba0 block/bdev.c:817 #1: ffff88801b451b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733 3 locks held by kworker/u4:12/6224: 2 locks held by syz-executor.1/13528: #0: ffff88807ecea0e0 (&type->s_umount_key#31){++++}-{3:3}, at: do_remount fs/namespace.c:2647 [inline] #0: ffff88807ecea0e0 (&type->s_umount_key#31){++++}-{3:3}, at: path_mount+0x1bb6/0x2c30 fs/namespace.c:3310 #1: ffffffff8ccae9a8 (ext4_li_mtx){+.+.}-{3:3}, at: ext4_register_li_request+0x6d/0xa10 fs/ext4/super.c:3578 4 locks held by syz-executor.3/13529: 4 locks held by syz-executor.5/13526: 1 lock held by syz-executor.5/13527: 5 locks held by syz-executor.0/13524: 1 lock held by syz-executor.4/13531: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6224 Comm: kworker/u4:12 Not tainted 5.16.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_region_inline mm/kasan/generic.c:175 [inline] RIP: 0010:kasan_check_range+0x20/0x2f0 mm/kasan/generic.c:189 Code: cc cc cc cc cc cc cc cc cc cc 41 57 41 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 0d 02 00 00 48 89 fb 48 01 f3 0f 82 8d 02 00 00 <48> 89 fb 48 c1 eb 2f 81 fb fe ff 01 00 0f 86 7a 02 00 00 49 89 fc RSP: 0018:ffffc9000fcef8d0 EFLAGS: 00000086 RAX: 0000000000000001 RBX: ffffffff8ff9aee8 RCX: ffffffff81660df2 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9aee0 RBP: ffffc9000fcefa50 R08: dffffc0000000000 R09: fffffbfff1ff35dd R10: fffffbfff1ff35dd R11: 0000000000000000 R12: 000000000000000a R13: ffff88801d1d27b0 R14: ffff88801d1d1d00 R15: ffff88801d1d27d0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 000000007555b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] __lock_acquire+0xd92/0x2b00 kernel/locking/lockdep.c:4997 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: 41 57 push %r15 c: 41 56 push %r14 e: 41 55 push %r13 10: 41 54 push %r12 12: 53 push %rbx 13: b0 01 mov $0x1,%al 15: 48 85 f6 test %rsi,%rsi 18: 0f 84 0d 02 00 00 je 0x22b 1e: 48 89 fb mov %rdi,%rbx 21: 48 01 f3 add %rsi,%rbx 24: 0f 82 8d 02 00 00 jb 0x2b7 * 2a: 48 89 fb mov %rdi,%rbx <-- trapping instruction 2d: 48 c1 eb 2f shr $0x2f,%rbx 31: 81 fb fe ff 01 00 cmp $0x1fffe,%ebx 37: 0f 86 7a 02 00 00 jbe 0x2b7 3d: 49 89 fc mov %rdi,%r12