INFO: task kworker/1:13:19044 blocked for more than 143 seconds. Not tainted 5.15.150-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:13 state:D stack:24480 pid:19044 ppid: 2 flags:0x00004000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Showing all locks held in the system: 3 locks held by kworker/0:1/13: #0: ffff888011c71938 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000d27d20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7f/0xb70 net/wireless/reg.c:2436 1 lock held by khungtaskd/26: #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3258: #0: ffff88802495f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/0:3/3524: #0: ffff8880b9a3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffff8880b9a28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:946 2 locks held by kworker/u4:4/3563: 5 locks held by kworker/u4:6/14853: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000fcbfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9cfd10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock_unregistering net/core/dev.c:11576 [inline] #3: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x1ac/0x3f0 net/core/dev.c:11614 #4: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #4: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by kworker/u4:7/15158: 2 locks held by kworker/1:4/19035: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004f9fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/1:11/19042: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004fffd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 3 locks held by kworker/1:13/19044: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000501fd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 3 locks held by syz-executor.2/19892: 1 lock held by syz-executor.1/19898: 3 locks held by kworker/1:23/19975: #0: ffff888024295538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900034c7d20 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4655 1 lock held by syz-executor.2/20003: 3 locks held by syz-executor.3/20099: #0: ffff88814ae74460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff8880587983f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff8880587983f0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814ae740e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729 1 lock held by syz-executor.0/20297: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 2 locks held by syz-executor.1/20631: 1 lock held by syz-executor.4/20697: 4 locks held by syz-executor.4/20714: 1 lock held by syz-executor.1/20725: 1 lock held by syz-executor.0/20727: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 1 lock held by syz-executor.2/20747: 1 lock held by syz-executor.1/20750: 1 lock held by syz-executor.3/20753: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 2 locks held by syz-executor.4/20758: 1 lock held by syz-executor.1/20765: 1 lock held by syz-executor.2/20773: 1 lock held by syz-executor.4/20777: 1 lock held by syz-executor.1/20784: 1 lock held by syz-executor.2/20788: 1 lock held by syz-executor.4/20800: 1 lock held by syz-executor.1/20810: 2 locks held by syz-executor.4/20814: 2 locks held by syz-executor.2/20823: 1 lock held by syz-executor.1/20829: 1 lock held by syz-executor.4/20832: 1 lock held by syz-executor.1/20843: 2 locks held by syz-executor.4/20849: 1 lock held by syz-executor.2/20851: 3 locks held by syz-executor.1/20856: 1 lock held by syz-executor.2/20869: 1 lock held by syz-executor.4/20871: #0: ffff88814ae76bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.1/20872: 1 lock held by syz-executor.2/20881: 1 lock held by syz-executor.4/20887: 1 lock held by syz-executor.1/20889: 1 lock held by syz-executor.4/20903: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 1 lock held by syz-executor.2/20914: 1 lock held by syz-executor.1/20924: 1 lock held by syz-executor.4/20937: 2 locks held by syz-executor.1/21055: 1 lock held by syz-executor.1/21071: 1 lock held by syz-executor.2/21080: 1 lock held by syz-executor.1/21108: 2 locks held by syz-executor.2/21110: 1 lock held by syz-executor.2/21170: 1 lock held by syz-executor.1/21187: 1 lock held by syz-executor.2/21197: 3 locks held by syz-executor.1/21203: 3 locks held by syz-executor.2/21210: 2 locks held by syz-executor.1/21215: 1 lock held by syz-executor.0/21356: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 1 lock held by syz-executor.1/21365: 2 locks held by syz-executor.2/21367: 3 locks held by syz-executor.2/21376: 1 lock held by syz-executor.1/21377: 1 lock held by syz-executor.2/21382: 1 lock held by syz-executor.1/21390: 1 lock held by syz-executor.3/21391: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 3 locks held by syz-executor.2/21401: 1 lock held by syz-executor.1/21403: 1 lock held by syz-executor.4/21409: #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9db8c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 2 locks held by syz-executor.1/21414: 1 lock held by syz-executor.1/21427: 1 lock held by syz-executor.2/21428: #0: ffff88814ae76bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/21550: 1 lock held by syz-executor.1/21551: 1 lock held by syz-executor.2/21579: 2 locks held by syz-executor.1/21770: #0: ffff88814ae76bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #1: ffff8880b9b3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by syz-executor.2/21776: 3 locks held by syz-executor.2/22281: 2 locks held by syz-executor.2/22290: 5 locks held by syz-executor.1/22291: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19892 Comm: syz-executor.2 Not tainted 5.15.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__sys_getsockopt+0x2a9/0x550 Code: 48 85 db 48 8b 6c 24 10 0f 84 35 01 00 00 e8 2e 93 55 f9 4c 89 f7 44 89 ee 8b 54 24 04 48 8b 4c 24 28 49 89 e8 ff d3 41 89 c7 <48> 8b 6c 24 30 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 20 0f b6 RSP: 0018:ffffc90003097e88 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff882cc240 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8a8b27a0 RDI: ffffffff8ad88ec0 RBP: 00007ffe1148bd5c R08: dffffc0000000000 R09: fffffbfff1bc7186 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000029 R14: ffff88805a878600 R15: 0000000000000000 FS: 0000555557031480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4d2d7e198 CR3: 000000003b9ec000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_getsockopt net/socket.c:2257 [inline] __se_sys_getsockopt net/socket.c:2254 [inline] __x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2254 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa4d2c8494a Code: c4 c1 e0 1a 0d 00 00 04 00 89 01 e9 e0 fe ff ff e8 3b 05 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffe1148bd38 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffe1148bdc0 RCX: 00007fa4d2c8494a RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffe1148bd5c R09: 0079746972756365 R10: 00007ffe1148bdc0 R11: 0000000000000212 R12: 00007fa4d2d7fb40 R13: 00007ffe1148bd5c R14: 0000000000000000 R15: 00007fa4d2d81d00