INFO: task kworker/0:7:3680 blocked for more than 143 seconds.
Not tainted 5.19.0-rc1-syzkaller-00349-g27f2533bcc6e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:7 state:D stack:26536 pid: 3680 ppid: 2 flags:0x00004000
Workqueue: events nsim_dev_trap_report_work
Call Trace:
context_switch kernel/sched/core.c:5116 [inline]
__schedule+0xa00/0x4b30 kernel/sched/core.c:6428
schedule+0xd2/0x1f0 kernel/sched/core.c:6500
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
nsim_dev_trap_report_work+0x54/0xba0 drivers/net/netdevsim/dev.c:835
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8bd867e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by kworker/u4:3/47:
1 lock held by hwrng/757:
#0: ffffffff8c832c08 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x141/0x370 drivers/char/hw_random/core.c:503
6 locks held by kworker/u4:6/1398:
#0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff8880119bd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc900055a7da8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff8d57ab10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:556
#3: ffffffff8d5bf968 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x75/0x220 net/core/devlink.c:12120
#4: ffff888075d4e4f8 (&nsim_bus_dev->nsim_bus_reload_lock){+.+.}-{3:3}, at: nsim_dev_reload_down+0x4d/0x180 drivers/net/netdevsim/dev.c:949
#5: ffff888075d4f2f8 (&devlink->lock){+.+.}-{3:3}, at: nsim_dev_port_del_all+0x27/0xe0 drivers/net/netdevsim/dev.c:1437
2 locks held by getty/3292:
#0: ffff888026be9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124
1 lock held by syz-fuzzer/3605:
3 locks held by kworker/0:7/3680:
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000329fda8 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff888075d4f2f8 (&devlink->lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x54/0xba0 drivers/net/netdevsim/dev.c:835
2 locks held by syz-executor.3/21641:
#0: ffffffff8d57ab10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:467
#1: ffffffff8d5bf968 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x75/0x220 net/core/devlink.c:12120
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc1-syzkaller-00349-g27f2533bcc6e #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:220 [inline]
watchdog+0xc22/0xf90 kernel/hung_task.c:378
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 47 Comm: kworker/u4:3 Not tainted 5.19.0-rc1-syzkaller-00349-g27f2533bcc6e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_check_range+0x134/0x180 mm/kasan/generic.c:190
Code: 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b b8 01 00 00 00 5d 41 5c 44 89 c2 e8 c3 ef ff ff 5b 83 f0 01 5d 41 5c c3 b8 01 00 00 00
RSP: 0018:ffffc90000b878c0 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffff92000170f20 RCX: ffffffff815dd2fe
RAX: 0000000000000001 RBX: 1ffff92000170f20 RCX: ffffffff815dd2fe
RDX: fffffbfff20cf121 RSI: 0000000000000008 RDI: ffffffff90678900
RBP: 0000000000000200 R08: 0000000000000000 R09: ffffffff90678907
R10: fffffbfff20cf120 R11: 0000000000000001 R12: ffff88801670a830
R13: 0000000000000009 R14: 0000000000000028 R15: ffff88801670a850
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00f13b000 CR3: 0000000025829000 CR4: 00000000003506f0
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]
hlock_class kernel/locking/lockdep.c:227 [inline]
mark_lock.part.0+0xee/0x1910 kernel/locking/lockdep.c:4610
mark_lock kernel/locking/lockdep.c:4596 [inline]
mark_usage kernel/locking/lockdep.c:4553 [inline]
__lock_acquire+0x8ab/0x5660 kernel/locking/lockdep.c:5007
lock_acquire kernel/locking/lockdep.c:5665 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
rcu_lock_acquire include/linux/rcupdate.h:269 [inline]
rcu_read_lock include/linux/rcupdate.h:695 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
----------------
Code disassembly (best guess):
0: 85 d2 test %edx,%edx
2: 75 0b jne 0xf
4: 48 89 da mov %rbx,%rdx
7: 48 29 c2 sub %rax,%rdx
a: e9 55 ff ff ff jmpq 0xffffff64
f: 49 39 d2 cmp %rdx,%r10
12: 75 17 jne 0x2b
14: 49 0f be 02 movsbq (%r10),%rax
18: 41 83 e1 07 and $0x7,%r9d
1c: 49 39 c1 cmp %rax,%r9
1f: 7d 0a jge 0x2b
21: 5b pop %rbx
22: b8 01 00 00 00 mov $0x1,%eax
27: 5d pop %rbp
28: 41 5c pop %r12
* 2a: c3 retq <-- trapping instruction
2b: 44 89 c2 mov %r8d,%edx
2e: e8 c3 ef ff ff callq 0xffffeff6
33: 5b pop %rbx
34: 83 f0 01 xor $0x1,%eax
37: 5d pop %rbp
38: 41 5c pop %r12
3a: c3 retq
3b: b8 01 00 00 00 mov $0x1,%eax