INFO: task syz-executor:4169 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21696 pid: 4169 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 sync_inodes_sb+0x1b3/0x920 fs/fs-writeback.c:2770 sync_filesystem+0x16d/0x220 fs/sync.c:64 generic_shutdown_super+0x6b/0x300 fs/super.c:448 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb1c2abdc57 RSP: 002b:00007fff191c0f38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fb1c2b3e925 RCX: 00007fb1c2abdc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff191c0ff0 RBP: 00007fff191c0ff0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff191c2080 R13: 00007fb1c2b3e925 R14: 00000000000126dc R15: 00007fff191c20c0 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9027848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 1 lock held by khungtaskd/27: #0: ffffffff8c11bfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/1:2/1107: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004a8fd00 ((work_completion)(&pwq->unbound_release_work) ){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 4 locks held by kworker/u4:3/1168: #0: ffff888018bc0938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004d37d00 ((work_completion)(&(&wb->dwork)->work) ){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff88802bdb0650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x1f1/0xd90 fs/xfs/libxfs/xfs_bmap.c:4573 #3: ffff8880607280e8 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x21e/0xd90 fs/xfs/libxfs/xfs_bmap.c:4578 3 locks held by kworker/u4:4/1228: 1 lock held by udevd/3547: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by getty/3937: #0: ffff88802bf42098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900026462e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/4169: #0: ffff88802bdb00e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365 #1: ffff88802070a7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff88802070a7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x197/0x920 fs/fs-writeback.c:2768 2 locks held by kworker/1:14/4346: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004217d00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by kworker/u4:22/5938: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900048cfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d21ecd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 2 locks held by kworker/u4:23/5939: 4 locks held by udevd/6429: #0: ffff8880537f01c8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff888061eb5088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112 #2: ffff888061e79830 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113 #3: ffff88807e764220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88807e764220 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17a/0x330 drivers/base/core.c:2408 6 locks held by kworker/0:23/6493: #0: ffff88801bac5938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900041dfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888148049220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888148049220 (&dev->mutex){....}-{3:3}, at: hub_event+0x18f/0x4fa0 drivers/usb/core/hub.c:5781 #3: ffff88807e764220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88807e764220 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x107/0x8a0 drivers/usb/core/hub.c:2250 #4: ffff888076aeb1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff888076aeb1a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #4: ffff888076aeb1a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb0/0x750 drivers/base/dd.c:1259 #5: ffffffff8cd3d3c8 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x10e/0x320 drivers/input/input.c:2280 2 locks held by kworker/0:24/6494: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9027848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 1 lock held by syz-executor/6978: #0: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d22a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 1 lock held by dhcpcd/6994: #0: ffff8880526e2120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1694 [inline] #0: ffff8880526e2120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x35/0xce0 net/packet/af_packet.c:3213 2 locks held by dhcpcd/6995: #0: ffff88807f126120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1694 [inline] #0: ffff88807f126120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x35/0xce0 net/packet/af_packet.c:3213 #1: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845 2 locks held by dhcpcd/6996: #0: ffff888023b04120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1694 [inline] #0: ffff888023b04120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x35/0xce0 net/packet/af_packet.c:3213 #1: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c120a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845 1 lock held by dhcpcd/6997: #0: ffff888022808120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1694 [inline] #0: ffff888022808120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x35/0xce0 net/packet/af_packet.c:3213 2 locks held by rm/7015: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5939 Comm: kworker/u4:23 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_usage kernel/locking/lockdep.c:4471 [inline] RIP: 0010:__lock_acquire+0xb80/0x7c60 kernel/locking/lockdep.c:4966 Code: 84 c0 0f 85 bb 61 00 00 83 3d 73 e9 0c 0c 00 0f 84 95 0f 00 00 83 7c 24 68 00 0f 84 d4 01 00 00 48 8b 44 24 58 42 0f b6 04 00 <84> c0 0f 85 ee 5c 00 00 41 8b 04 24 66 85 c0 0f 88 d2 00 00 00 65 RSP: 0018:ffffc90000007860 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9b0c8 RBP: ffffc90000007ab0 R08: dffffc0000000000 R09: fffffbfff1ff361a R10: fffffbfff1ff361a R11: 1ffffffff1ff3619 R12: ffff888075fce4f0 R13: ffff888075fcd940 R14: ffffffff8f9278f8 R15: ffff888075fce4d0 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c9f3beb950 CR3: 000000006258b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 debug_object_activate+0x65/0x480 lib/debugobjects.c:694 debug_hrtimer_activate kernel/time/hrtimer.c:410 [inline] debug_activate kernel/time/hrtimer.c:465 [inline] enqueue_hrtimer+0x30/0x370 kernel/time/hrtimer.c:1074 __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x65a/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] RIP: 0010:rcu_is_watching+0x36/0xa0 kernel/rcu/tree.c:1123 Code: e8 0f e0 3d 08 89 c3 83 f8 08 73 5c 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 10 f8 ba 8b 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 50 9d 59 00 48 c7 c3 c8 b2 03 00 49 03 1e 48 89 RSP: 0018:ffffc900043c7bc0 EFLAGS: 00000246 RAX: 1ffffffff1775f02 RBX: 0000000000000000 RCX: b6dbd23515f59d00 RDX: 0000000000000000 RSI: ffffffff8a59a720 RDI: ffffffff8a59a6e0 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ff3619 R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: 0000000000000242 R13: ffff88802ada1210 R14: ffffffff8bbaf810 R15: dffffc0000000000 rcu_read_lock include/linux/rcupdate.h:740 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xe2/0x5c0 net/batman-adv/network-coding.c:723 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 IPVS: lc: UDP 224.0.0.2:0 - no destination available