INFO: task syz-executor.3:14118 blocked for more than 143 seconds. Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28048 pid:14118 ppid: 3638 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 device_lock include/linux/device.h:767 [inline] usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1075 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3abc17dc9b RSP: 002b:00007f3abc811b80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000010 RCX: 00007f3abc17dc9b RDX: 0000001b2dd20000 RSI: 0000000000000000 RDI: 000000000000000f RBP: 00007f3abc2df960 R08: 0000000000000000 R09: 00007ffc21ff8080 R10: 00007ffc21ff8090 R11: 0000000000000293 R12: 000000000007308e R13: 00007f3abc811c80 R14: 00007f3abc2de100 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb845e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by kworker/u4:5/1268: 2 locks held by getty/3278: #0: ffff8880237fe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 9 locks held by kworker/1:19/12975: 3 locks held by udevd/13595: #0: ffff888075733888 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:203 [inline] #0: ffff888075733888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:242 #1: ffff88807e5b1490 (kn->active#56){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:204 [inline] #1: ffff88807e5b1490 (kn->active#56){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:242 #2: ffff88801f95e220 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:772 [inline] #2: ffff88801f95e220 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873 1 lock held by syz-executor.3/14118: #0: ffff8881476e5220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #0: ffff8881476e5220 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1075 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10 Comm: kworker/u4:1 Not tainted 5.17.0-rc5-syzkaller-00011-g5c1ee569660d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:mark_lock.part.0+0xe1/0x1910 kernel/locking/lockdep.c:4583 Code: b6 04 02 84 c0 74 08 3c 03 0f 8e 6e 08 00 00 41 0f b7 54 24 20 66 81 e2 ff 1f 44 0f b7 f2 be 08 00 00 00 4c 89 f0 48 c1 f8 06 <48> 8d 3c c5 40 29 fc 8f e8 42 50 63 00 4c 0f a3 35 6a f8 9e 0e 0f RSP: 0018:ffffc90000cf7a30 EFLAGS: 00000002 RAX: 000000000000001c RBX: 1ffff9200019ef4d RCX: 0000000000000006 RDX: 000000000000070f RSI: 0000000000000008 RDI: ffff888011921d00 RBP: 0000000000000040 R08: 0000000000000000 R09: ffffffff8ffc2a27 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888011922760 R13: 0000000000000006 R14: 000000000000070f R15: ffff888011922780 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00baf2018 CR3: 000000000b88e000 CR4: 00000000003506e0 Call Trace: mark_lock kernel/locking/lockdep.c:4569 [inline] mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4206 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4232 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x28b/0x400 kernel/locking/lockdep.c:4244 trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0xa0/0x120 kernel/softirq.c:388 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:722 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: b6 04 mov $0x4,%dh 2: 02 84 c0 74 08 3c 03 add 0x33c0874(%rax,%rax,8),%al 9: 0f 8e 6e 08 00 00 jle 0x87d f: 41 0f b7 54 24 20 movzwl 0x20(%r12),%edx 15: 66 81 e2 ff 1f and $0x1fff,%dx 1a: 44 0f b7 f2 movzwl %dx,%r14d 1e: be 08 00 00 00 mov $0x8,%esi 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 f8 06 sar $0x6,%rax * 2a: 48 8d 3c c5 40 29 fc lea -0x7003d6c0(,%rax,8),%rdi <-- trapping instruction 31: 8f 32: e8 42 50 63 00 callq 0x635079 37: 4c 0f a3 35 6a f8 9e bt %r14,0xe9ef86a(%rip) # 0xe9ef8a9 3e: 0e 3f: 0f .byte 0xf