INFO: task kworker/1:0:28897 blocked for more than 143 seconds. Not tainted 6.8.0-rc5-syzkaller-00381-g70ff1fe626a1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:25872 pid:28897 tgid:28897 ppid:2 flags:0x00004000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5bd/0x9d0 kernel/locking/mutex.c:752 switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff88802ae54d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900000e7d80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4686 2 locks held by kworker/u4:0/11: 3 locks held by kworker/1:1/27: #0: ffff88802ae54d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90000a2fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4686 1 lock held by khungtaskd/30: #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 5 locks held by kworker/u4:11/2482: #0: ffff888014c8f938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc9000a107d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2cf790 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:580 #3: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8f/0xb30 net/core/dev.c:11605 #4: ffffffff8d7b8940 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4064 2 locks held by getty/4817: #0: ffff88802b23f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201 4 locks held by syz-executor.1/5079: 3 locks held by kworker/0:6/5147: #0: ffff888014c8c938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900037cfd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:281 2 locks held by kworker/0:0/27021: #0: ffff888014c8e538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90004737d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 3 locks held by kworker/1:0/28897: #0: ffff888014c8c938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900136dfd80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by syz-executor.3/32666: #0: ffff88801e0c2420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4385 #1: ffff888054aeac00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888054aeac00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x288/0x750 fs/namei.c:4389 #2: ffff888056a76800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #2: ffff888056a76800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xd3/0x910 fs/namei.c:4327 1 lock held by syz-executor.4/32680: #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:697 [inline] #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3505 3 locks held by kworker/0:7/458: #0: ffff888014c8dd38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc9000470fd80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x1050 net/wireless/reg.c:2479 3 locks held by kworker/u4:1/469: #0: ffff888017ed5d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90003cdfd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffff88801e0c4b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1b4/0x690 mm/page-writeback.c:2553 1 lock held by syz-executor.2/1456: #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:697 [inline] #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3505 1 lock held by syz-executor.1/1789: 1 lock held by syz-executor.1/1805: 3 locks held by syz-executor.1/1820: 1 lock held by syz-executor.4/1835: #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6615 2 locks held by syz-executor.1/1842: 1 lock held by syz-executor.2/1843: #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e4b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6615 2 locks held by syz-executor.1/1855: 2 locks held by syz-executor.0/1856: 2 locks held by syz-executor.1/1870: 2 locks held by syz-executor.0/1869: 2 locks held by syz-executor.1/1883: 2 locks held by syz-executor.0/1888: 2 locks held by syz-executor.1/1898: 3 locks held by syz-executor.3/1904: 2 locks held by syz-executor.0/1907: 2 locks held by syz-executor.3/1923: 2 locks held by syz-executor.0/1925: 3 locks held by syz-executor.3/1936: #0: ffff88801e0c2420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2433/0x2790 kernel/signal.c:2879 #1: ffff888054988e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff888054988e00 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x3d0 fs/ext4/file.c:294 #2: ffff88801e0c20e0 (&type->s_umount_key#50){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x21/0xc0 fs/fs-writeback.c:2717 2 locks held by syz-executor.0/1945: 2 locks held by syz-executor.3/1946: 3 locks held by syz-executor.1/1953: 1 lock held by syz-executor.3/1959: 2 locks held by syz-executor.0/1969: 2 locks held by syz-executor.3/1977: 2 locks held by syz-executor.0/1982: 1 lock held by syz-executor.0/1986: 1 lock held by syz-executor.1/1987: #0: ffff88801cbb60a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:124 [inline] #0: ffff88801cbb60a0 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x161/0x3c0 mm/util.c:554 1 lock held by syz-executor.3/1989: #0: ffff88801fa75720 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:155 [inline] #0: ffff88801fa75720 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5506 [inline] #0: ffff88801fa75720 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x356/0x590 mm/memory.c:5557 1 lock held by syz-executor.3/1990: #0: ffff8880b943cc98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 2 locks held by syz-executor.0/1991: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.8.0-rc5-syzkaller-00381-g70ff1fe626a1 #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+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1959 Comm: syz-executor.3 Not tainted 6.8.0-rc5-syzkaller-00381-g70ff1fe626a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:hlock_class+0xb/0x130 kernel/locking/lockdep.c:222 Code: e8 2a ae 7a 00 48 8b 3c 24 eb 81 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 53 <48> 89 fb 48 83 c7 20 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 RSP: 0018:ffffc900045aeb80 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000010000 RDX: 0000000000000000 RSI: ffff88802f252864 RDI: ffff88802f2528d0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000002 R12: ffff88802f2528d0 R13: 0000000000000000 R14: 0000000000000000 R15: 00000000000004cd FS: 00007f5523a8a6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8f9cea9150 CR3: 000000007e998000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_wait_context kernel/locking/lockdep.c:4773 [inline] __lock_acquire+0x402/0x3b40 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 ext4_es_lookup_extent+0x15f/0xbf0 fs/ext4/extents_status.c:997 ext4_da_map_blocks fs/ext4/inode.c:1707 [inline] ext4_da_get_block_prep+0x2ea/0x1320 fs/ext4/inode.c:1817 ext4_block_write_begin+0x3da/0xef0 fs/ext4/inode.c:1055 ext4_da_write_begin+0x40e/0x8c0 fs/ext4/inode.c:2894 generic_perform_write+0x273/0x620 mm/filemap.c:3930 ext4_buffered_write_iter+0x11f/0x3d0 fs/ext4/file.c:299 ext4_file_write_iter+0x819/0x1960 fs/ext4/file.c:698 __kernel_write_iter+0x33e/0xa70 fs/read_write.c:523 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x299/0x7a0 fs/coredump.c:915 elf_core_dump+0x2713/0x3910 fs/binfmt_elf.c:2077 do_coredump+0x2c45/0x3f80 fs/coredump.c:764 get_signal+0x2433/0x2790 kernel/signal.c:2879 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0x13c/0x280 kernel/entry/common.c:225 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564 RIP: 0033:0x7f5522c7ddb1 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:0000000020000090 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f5522dabf80 RCX: 00007f5522c7dda9 RDX: 00000000200000c0 RSI: 0000000020000090 RDI: 0000000008001000 RBP: 00007f5522cca47a R08: 0000000020000140 R09: 0000000020000140 R10: 0000000020000100 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5522dabf80 R15: 00007fff64e4a058