INFO: task kworker/0:18:32207 blocked for more than 143 seconds. Not tainted 5.19.0-rc1-syzkaller-00140-g6cbd05b2d07a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:18 state:D stack:26808 pid:32207 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: 2 locks held by ksoftirqd/1/22: 1 lock held by khungtaskd/29: #0: ffffffff8bd867a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 1 lock held by hwrng/756: #0: ffffffff8c8329c8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x141/0x370 drivers/char/hw_random/core.c:503 2 locks held by getty/3294: #0: ffff88802678c098 (&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 6 locks held by kworker/u4:9/12164: #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: ffffc90005687da8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffffffff8d57a6d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:556 #3: ffffffff8d5bf528 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x75/0x220 net/core/devlink.c:12120 #4: ffff888058f6a4f8 (&nsim_bus_dev->nsim_bus_reload_lock){+.+.}-{3:3}, at: nsim_dev_reload_down+0x4d/0x180 drivers/net/netdevsim/dev.c:949 #5: ffff888058f6b2f8 (&devlink->lock){+.+.}-{3:3}, at: nsim_dev_port_del_all+0x27/0xe0 drivers/net/netdevsim/dev.c:1437 3 locks held by kworker/0:18/32207: #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: ffffc90009727da8 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888058f6b2f8 (&devlink->lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x54/0xba0 drivers/net/netdevsim/dev.c:835 2 locks held by kworker/u4:22/12135: 2 locks held by syz-executor.0/14823: #0: ffffffff8d57a6d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:467 #1: ffffffff8d5bf528 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x75/0x220 net/core/devlink.c:12120 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc1-syzkaller-00140-g6cbd05b2d07a #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22 Comm: ksoftirqd/1 Not tainted 5.19.0-rc1-syzkaller-00140-g6cbd05b2d07a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0xf/0x1cc0 arch/x86/kernel/unwind_orc.c:420 Code: ff ff e8 d4 e3 91 00 e9 67 ff ff ff e8 ca e3 91 00 e9 3a ff ff ff 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 41 57 <48> c1 ea 03 41 56 41 55 49 89 fd 41 54 55 53 48 83 ec 38 0f b6 04 RSP: 0018:ffffc900001c6dd0 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: ffffffff81696360 RCX: 0000000000000000 RDX: ffffc900001c6de0 RSI: ffffffff81c6e514 RDI: ffffc900001c6de0 RBP: ffffc900001c6e68 R08: ffffffff8e44a78a R09: ffffc900001c6e14 R10: fffff52000038dc7 R11: ffffc900001c7140 R12: ffffc900001c6e98 R13: 0000000000000000 R14: ffff888011b13b00 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eac1503680 CR3: 0000000025bb4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:224 [inline] slab_post_alloc_hook mm/slab.h:750 [inline] slab_alloc_node mm/slub.c:3214 [inline] slab_alloc mm/slub.c:3222 [inline] __kmem_cache_alloc_lru mm/slub.c:3229 [inline] kmem_cache_alloc+0x204/0x3b0 mm/slub.c:3239 skb_ext_maybe_cow net/core/skbuff.c:6335 [inline] skb_ext_add+0xf6/0x790 net/core/skbuff.c:6401 nf_bridge_unshare net/bridge/br_netfilter_hooks.c:160 [inline] br_nf_forward_ip+0xdd/0x1cf0 net/bridge/br_netfilter_hooks.c:589 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xc5/0x1f0 net/netfilter/core.c:620 nf_hook+0x3d4/0x680 include/linux/netfilter.h:262 NF_HOOK include/linux/netfilter.h:305 [inline] __br_forward+0x19a/0x580 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0x331/0x430 net/bridge/br_forward.c:189 br_flood+0x13a/0x460 net/bridge/br_forward.c:231 br_handle_frame_finish+0x112b/0x1a80 net/bridge/br_input.c:193 br_nf_hook_thresh+0x2a5/0x360 net/bridge/br_netfilter_hooks.c:1024 br_nf_pre_routing_finish+0x909/0x1ad0 net/bridge/br_netfilter_hooks.c:422 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] br_nf_pre_routing+0xae3/0x1f00 net/bridge/br_netfilter_hooks.c:531 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_bridge_pre net/bridge/br_input.c:255 [inline] br_handle_frame+0x8df/0x1280 net/bridge/br_input.c:399 __netif_receive_skb_core+0xa13/0x3920 net/core/dev.c:5372 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5476 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5592 process_backlog+0x3a0/0x7c0 net/core/dev.c:5920 __napi_poll+0xb3/0x6e0 net/core/dev.c:6504 napi_poll net/core/dev.c:6571 [inline] net_rx_action+0x9c1/0xd90 net/core/dev.c:6682 __do_softirq+0x29b/0x9c2 kernel/softirq.c:571 run_ksoftirqd kernel/softirq.c:934 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:926 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: e8 d4 e3 91 00 callq 0x91e3d9 5: e9 67 ff ff ff jmpq 0xffffff71 a: e8 ca e3 91 00 callq 0x91e3d9 f: e9 3a ff ff ff jmpq 0xffffff4e 14: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 41 57 push %r15 * 28: 48 c1 ea 03 shr $0x3,%rdx <-- trapping instruction 2c: 41 56 push %r14 2e: 41 55 push %r13 30: 49 89 fd mov %rdi,%r13 33: 41 54 push %r12 35: 55 push %rbp 36: 53 push %rbx 37: 48 83 ec 38 sub $0x38,%rsp 3b: 0f .byte 0xf 3c: b6 04 mov $0x4,%dh