INFO: task kworker/0:7:3563 blocked for more than 143 seconds. Not tainted 5.15.149-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:7 state:D stack:25144 pid: 3563 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 INFO: task kworker/0:19:12285 blocked for more than 144 seconds. Not tainted 5.15.149-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:19 state:D stack:25048 pid:12285 ppid: 2 flags:0x00004000 Workqueue: events linkwatch_event 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 linkwatch_event+0xa/0x50 net/core/link_watch.c:251 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 INFO: task syz-executor.4:13524 blocked for more than 144 seconds. Not tainted 5.15.149-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:20856 pid:13524 ppid: 12312 flags:0x00004002 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 tun_detach drivers/net/tun.c:698 [inline] tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:872 do_group_exit+0x144/0x310 kernel/exit.c:994 get_signal+0xc66/0x14e0 kernel/signal.c:2889 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314 exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x7f372e2c8db1 RSP: 002b:0000000020000330 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f372e3f6f80 RCX: 00007f372e2c8da9 RDX: 0000000020000340 RSI: 0000000020000330 RDI: 0000000003200000 RBP: 00007f372e31547a R08: 00000000200003c0 R09: 00000000200003c0 R10: 0000000020000380 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f372e3f6f80 R15: 00007ffdb2db2418 Showing all locks held in the system: 5 locks held by kworker/u4:0/9: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000ce7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9cff10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock_unregistering net/core/dev.c:11576 [inline] #3: ffffffff8d9dbac8 (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 2 locks held by kworker/1:1/25: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000dffd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by khungtaskd/27: #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:1/144: 3 locks held by kworker/0:2/1065: #0: ffff888011c71938 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004847d20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7f/0xb70 net/wireless/reg.c:2436 2 locks held by getty/3258: #0: ffff88814b215098 (&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:6/3562: #0: ffff88814b149938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002fc7d20 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4640 3 locks held by kworker/0:7/3563: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002fd7d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 4 locks held by kworker/u4:7/7834: #0: ffff888142dc4938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000e91fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff8880242740e0 (&type->s_umount_key#32){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff888024276bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 3 locks held by kworker/0:19/12285: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004217d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 1 lock held by syz-executor.0/12719: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 1 lock held by syz-executor.4/13524: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 2 locks held by syz-executor.3/14033: 1 lock held by syz-executor.1/14035: 1 lock held by syz-executor.4/14042: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 1 lock held by syz-executor.2/14054: 2 locks held by syz-executor.0/14056: 2 locks held by syz-executor.1/14059: 2 locks held by syz-executor.3/14063: 2 locks held by syz-executor.2/14070: 1 lock held by syz-executor.3/14075: 2 locks held by syz-executor.1/14078: 1 lock held by syz-executor.0/14081: 1 lock held by syz-executor.3/14089: 1 lock held by syz-executor.2/14090: 1 lock held by syz-executor.3/14100: 2 locks held by syz-executor.1/14104: 3 locks held by syz-executor.0/14106: 1 lock held by syz-executor.2/14112: #0: ffff888024276bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 2 locks held by syz-executor.3/14116: 2 locks held by syz-executor.1/14122: 1 lock held by syz-executor.0/14127: 2 locks held by syz-executor.3/14130: 1 lock held by syz-executor.2/14131: 2 locks held by syz-executor.1/14146: 1 lock held by syz-executor.0/14148: 2 locks held by syz-executor.3/14149: 1 lock held by syz-executor.2/14151: 1 lock held by syz-executor.3/14158: 3 locks held by syz-executor.1/14163: 1 lock held by syz-executor.2/14165: 1 lock held by syz-executor.0/14169: 1 lock held by syz-executor.3/14175: 1 lock held by syz-executor.1/14176: 1 lock held by syz-executor.2/14190: 1 lock held by syz-executor.0/14192: 1 lock held by syz-executor.2/14207: 1 lock held by syz-executor.1/14210: 1 lock held by syz-executor.0/14212: 1 lock held by syz-executor.2/14219: 3 locks held by syz-executor.1/14233: 1 lock held by syz-executor.3/14238: 1 lock held by syz-executor.0/14270: #0: ffff888024276bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 3 locks held by syz-executor.1/14287: 1 lock held by syz-executor.1/14339: 1 lock held by syz-executor.4/14592: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 1 lock held by syz-executor.3/14670: 1 lock held by syz-executor.1/14671: 1 lock held by syz-executor.2/14675: 1 lock held by syz-executor.3/14680: 1 lock held by syz-executor.1/14683: 1 lock held by syz-executor.2/14686: 3 locks held by syz-executor.3/14690: 1 lock held by syz-executor.2/14693: 1 lock held by syz-executor.1/14695: 1 lock held by syz-executor.2/14698: 1 lock held by syz-executor.3/14705: 1 lock held by syz-executor.2/14708: 1 lock held by syz-executor.1/14711: 1 lock held by syz-executor.0/14712: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 1 lock held by syz-executor.3/14717: 3 locks held by syz-executor.2/14727: 3 locks held by syz-executor.1/14729: 1 lock held by syz-executor.3/14730: 1 lock held by syz-executor.3/14739: 1 lock held by syz-executor.1/14740: 1 lock held by syz-executor.2/14742: 1 lock held by syz-executor.1/14747: 1 lock held by syz-executor.2/14755: 1 lock held by syz-executor.3/14763: 1 lock held by syz-executor.1/14765: 1 lock held by syz-executor.2/14779: 1 lock held by syz-executor.3/14786: 1 lock held by syz-executor.1/14788: 1 lock held by syz-executor.2/14815: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3434 2 locks held by syz-executor.3/14865: 1 lock held by syz-executor.1/14866: 1 lock held by syz-executor.1/14871: 1 lock held by syz-executor.3/14872: 1 lock held by syz-executor.3/14879: 1 lock held by syz-executor.1/14880: 1 lock held by syz-executor.3/14885: 2 locks held by syz-executor.1/14902: 2 locks held by syz-executor.1/14909: 3 locks held by syz-executor.3/14912: 3 locks held by syz-executor.3/14918: 2 locks held by syz-executor.1/14920: 1 lock held by syz-executor.4/14922: #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9dbac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5627 2 locks held by syz-executor.3/14925: 1 lock held by syz-executor.1/14926: #0: ffff88807a0e8828 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock+0x1c/0x50 include/linux/mmap_lock.h:117 3 locks held by syz-executor.1/14927: 1 lock held by syz-fuzzer/14928: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.149-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: 14918 Comm: syz-executor.3 Not tainted 5.15.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0xc/0x80 kernel/kcov.c:284 Code: 08 03 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 c3 0f 1f 00 4c 8b 04 24 65 48 8b 15 74 36 82 7e <65> 8b 05 75 36 82 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 RSP: 0018:ffffc90003cc6ab8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff888079a2bb80 RDX: ffff888079a2bb80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003cc6bd0 R08: ffffffff81a84d7f R09: fffffbfff1f7a619 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000e R13: 0000000001100cca R14: dffffc0000000000 R15: 000000000000109e FS: 00007f73a2f1c6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31320000 CR3: 000000007480f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:697 [inline] mapping_get_entry mm/filemap.c:1823 [inline] pagecache_get_page+0x16f/0x1010 mm/filemap.c:1894 grab_cache_page_write_begin+0x57/0x90 mm/filemap.c:3739 ext4_da_write_begin+0x599/0xb60 fs/ext4/inode.c:2980 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268 ext4_file_write_iter+0x87c/0x1990 __kernel_write+0x5b1/0xa60 fs/read_write.c:539 __dump_emit+0x264/0x3a0 fs/coredump.c:875 dump_user_range+0x91/0x320 fs/coredump.c:949 elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285 do_coredump+0x1852/0x31e0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2875 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314 exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x7f73a499bdb1 Code: c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:00000000200002c0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f73a4ac9f80 RCX: 00007f73a499bda9 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000003200000 RBP: 00007f73a49e847a R08: 00000000200003c0 R09: 00000000200003c0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f73a4ac9f80 R15: 00007ffc8cc098b8