INFO: task syz-executor:5582 blocked for more than 143 seconds. Not tainted 6.1.143-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:22144 pid:5582 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 wb_wait_for_completion+0x162/0x280 fs/fs-writeback.c:191 sync_inodes_sb+0x1b8/0x9e0 fs/fs-writeback.c:2739 sync_filesystem+0x16d/0x220 fs/sync.c:64 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182 task_work_run+0x1ca/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f67a4f8fc57 RSP: 002b:00007ffdef045fc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f67a5010925 RCX: 00007f67a4f8fc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdef046080 RBP: 00007ffdef046080 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdef047110 R13: 00007f67a5010925 R14: 000000000002e808 R15: 00007ffdef047150 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b430 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb2bc50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8cb2aaa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cb2aaa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8cb2aaa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 4 locks held by kworker/u4:2/41: #0: ffff88814229b938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90000b27d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff88807b12e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4571 [inline] #2: ffff88807b12e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x2fd/0x1480 fs/xfs/libxfs/xfs_bmap.c:4698 #3: ffff88801ea46358 (&p->pi_lock){-.-.}-{2:2}, at: dsp_cmx_send+0x22/0x1b30 drivers/isdn/mISDN/dsp_cmx.c:1643 1 lock held by dhcpcd/3932: #0: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6150 2 locks held by getty/4028: #0: ffff88814d357098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:7/4346: #0: ffff88814cfcc538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90004a7fd00 ((work_completion)(&(&ifa->dad_work)->work) ){+.+.}-{0:0} , at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3} , at: addrconf_dad_work+0xc4/0x14d0 net/ipv6/addrconf.c:4137 3 locks held by kworker/u4:5/4350: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90004a8fd00 ((linkwatch_work).work ){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3} , at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 2 locks held by syz-executor/5511: #0: ffff88807e8da0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 #1: ffffffff8cb30778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffffffff8cb30778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 2 locks held by syz-executor/5582: #0: ffff88807b12e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 #1: ffff888143b787d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff888143b787d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19c/0x9e0 fs/fs-writeback.c:2737 2 locks held by kworker/1:17/5987: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003127d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 3 locks held by kworker/1:19/7632: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90016befd00 ((work_completion)(&pwq->unbound_release_work) ){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8cb30778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8cb30778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 3 locks held by kworker/1:20/7878: #0: ffff88814cfcc538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9001c1b7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x14d0 net/ipv6/addrconf.c:4137 1 lock held by syz-executor/8852: #0: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6150 1 lock held by syz.1.681/9343: #0: ffff88807ebf00e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x1fa/0x930 fs/super.c:228 1 lock held by syz.6.683/9354: #0: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8dd419a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3492 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4467 Comm: kworker/u4:9 Not tainted 6.1.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:unwind_next_frame+0x190a/0x20b0 arch/x86/kernel/unwind_orc.c:639 Code: b8 00 00 00 00 00 fc ff df 48 8b 4c 24 18 0f b6 04 01 84 c0 0f 85 40 01 00 00 c7 03 00 00 00 00 31 c0 48 81 c4 a0 00 00 00 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 49 89 d6 49 89 d4 4c 89 e8 4c 29 e0 RSP: 0018:ffffc90000007398 EFLAGS: 00000286 RAX: 0000000080000101 RBX: ffffc90000007480 RCX: 0000000080000102 RDX: ffffc90000007401 RSI: dffffc0000000000 RDI: 00000000ffffffff RBP: ffffffff8ea25098 R08: ffffc90000007df0 R09: ffffc90000007418 R10: fffff52000000e85 R11: 1ffff92000000e83 R12: ffffc90000000000 R13: dffffc0000000000 R14: ffffc900000073d8 R15: ffffc90000007e00 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557024624b88 CR3: 000000005fe85000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] kmem_cache_alloc_node+0x14d/0x320 mm/slub.c:3443 __alloc_skb+0xfc/0x7e0 net/core/skbuff.c:505 skb_copy+0x139/0x790 net/core/skbuff.c:1732 mac80211_hwsim_tx_frame_no_nl+0xd6e/0x1330 drivers/net/wireless/mac80211_hwsim.c:1729 mac80211_hwsim_tx_frame+0x1b5/0x200 drivers/net/wireless/mac80211_hwsim.c:2058 mac80211_hwsim_beacon_tx+0x61e/0xae0 drivers/net/wireless/mac80211_hwsim.c:2121 __iterate_interfaces+0x243/0x500 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd7/0x170 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xb7/0x1b0 drivers/net/wireless/mac80211_hwsim.c:2147 __run_hrtimer kernel/time/hrtimer.c:1752 [inline] __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1816 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1833 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:skb_reset_network_header include/linux/skbuff.h:2867 [inline] RIP: 0010:skb_set_network_header include/linux/skbuff.h:2872 [inline] RIP: 0010:nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:760 [inline] RIP: 0010:nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] RIP: 0010:nsim_dev_trap_report_work+0x425/0xaf0 drivers/net/netdevsim/dev.c:851 Code: 74 24 40 0f 85 7f 04 00 00 48 89 9c 24 a0 00 00 00 8b 1b 48 8b 44 24 38 42 80 3c 20 00 74 08 4c 89 f7 e8 ae 33 cf fb 49 8b 2e <48> 8b 44 24 30 42 80 3c 20 00 74 0a 48 8b 7c 24 28 e8 95 33 cf fb RSP: 0018:ffffc90004f4fb50 EFLAGS: 00000246 RAX: 1ffff1100a58ad33 RBX: 000000000000000e RCX: 0000000000000000 RDX: 0000000000000040 RSI: 0000000000000000 RDI: ffff888052c56974 RBP: ffff88805944c000 R08: dffffc0000000000 R09: ffffc90004f4fa20 R10: fffff520009e9f4c R11: 1ffff920009e9f44 R12: dffffc0000000000 R13: ffff888052c568c0 R14: ffff888052c56998 R15: 00000000000000c0 process_one_work+0x898/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295