INFO: task kworker/u8:6:1103 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:6 state:D stack:21232 pid:1103 tgid:1103 ppid:2 flags:0x00004000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __synchronize_srcu+0x357/0x400 kernel/rcu/srcutree.c:1433 fsnotify_mark_destroy_workfn+0x146/0x350 fs/notify/mark.c:988 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task kworker/u8:10:8228 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:10 state:D stack:21232 pid:8228 tgid:8228 ppid:2 flags:0x00004000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __synchronize_srcu+0x357/0x400 kernel/rcu/srcutree.c:1433 fsnotify_connector_destroy_workfn+0x44/0xb0 fs/notify/mark.c:318 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 2 locks held by kworker/0:0/8: 3 locks held by kworker/u8:1/12: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fce8188 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by khungtaskd/30: #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 4 locks held by kworker/0:2/967: 2 locks held by kworker/u8:6/1103: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90003effd00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003effd00 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 2 locks held by kworker/u8:8/3505: 4 locks held by kworker/u8:9/3533: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000cd17d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000cd17d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcdb650 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:586 #3: ffff888030db94e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249 2 locks held by getty/5606: #0: ffff888031ecc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:5/5919: 3 locks held by kworker/1:7/5980: 2 locks held by kworker/u8:10/8228: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90005637d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90005637d00 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 2 locks held by syz-executor/9181: #0: ffff88806fb080e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806fb080e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806fb080e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz-executor/9183: #0: ffff8880540720e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880540720e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880540720e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 1 lock held by udevd/9585: #0: ffffffff8eed0ea8 (uuid_mutex){+.+.}-{4:4}, at: btrfs_control_ioctl+0x150/0x410 fs/btrfs/super.c:2250 2 locks held by syz.9.1569/10954: #0: ffffffff8eed0ea8 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_super fs/btrfs/super.c:1841 [inline] #0: ffffffff8eed0ea8 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree+0x2f4/0x1a10 fs/btrfs/super.c:2105 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz.2.1579/10980: #0: ffff888058a880e0 (&type->s_umount_key#49/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz.7.1610/11057: #0: ffff8880700ca0e0 (&type->s_umount_key#49/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz-executor/11334: #0: ffff88805f25c0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88805f25c0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88805f25c0e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz-executor/11359: #0: ffff88806ce520e0 (&type->s_umount_key#55){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806ce520e0 (&type->s_umount_key#55){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806ce520e0 (&type->s_umount_key#55){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz.8.1687/11419: #0: ffff88801ebac0e0 (&type->s_umount_key#49/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ea006c8 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz.9.1745/11755: #0: ffff88802619e4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x17e/0x700 block/bdev.c:1087 #1: ffff8880262c5998 (&nbd->config_lock){+.+.}-{4:4}, at: refcount_dec_and_mutex_lock+0x30/0x100 lib/refcount.c:118 3 locks held by syz-executor/11976: 4 locks held by syz.4.1915/12297: 3 locks held by syz-executor/12365: 2 locks held by syz.0.1944/12384: 3 locks held by syz.6.1952/12413: 2 locks held by syz.7.1955/12422: 4 locks held by sed/12423: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_power_efficient neigh_periodic_work RIP: 0010:unwind_next_frame+0xc5/0x22d0 arch/x86/kernel/unwind_orc.c:482 Code: 8c 24 90 00 00 00 48 89 5c 24 20 bf 01 00 00 00 e8 80 d8 21 00 49 8d 6d 50 48 89 e8 48 c1 e8 03 48 89 44 24 38 42 80 3c 20 00 <74> 08 48 89 ef e8 51 b0 be 00 48 8b 5d 00 48 85 db 74 24 48 81 c3 RSP: 0018:ffffc90000007450 EFLAGS: 00000046 RAX: 1ffff92000000eae RBX: 1ffff92000000ea4 RCX: ffffffff9a428903 RDX: dffffc0000000000 RSI: ffffffff820093a9 RDI: 0000000000000001 RBP: ffffc90000007570 R08: 0000000000000002 R09: ffffc90000007610 R10: dffffc0000000000 R11: ffffffff8181a660 R12: dffffc0000000000 R13: ffffc90000007520 R14: ffffffff820093a9 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005582c3174b38 CR3: 000000000e738000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:582 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2338 [inline] slab_free mm/slub.c:4598 [inline] kfree+0x196/0x430 mm/slub.c:4746 dummy_timer+0x7f4/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:389 Code: 8c e8 04 a5 7a 0a 65 66 8b 05 34 9e ab 7e 66 85 c0 75 5d bf 01 00 00 00 e8 8d bc 0b 00 e8 e8 74 45 00 fb 65 8b 05 f8 9d ab 7e <85> c0 75 05 e8 b7 80 a8 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc900000d7a80 EFLAGS: 00000282 RAX: 0000000080000000 RBX: 1ffff9200001af54 RCX: ffffffff8171939a RDX: dffffc0000000000 RSI: ffffffff8c0ad980 RDI: ffffffff8c6158a0 RBP: ffffc900000d7b28 R08: ffffffff94321957 R09: 1ffffffff286432a R10: dffffc0000000000 R11: fffffbfff286432b R12: dffffc0000000000 R13: 1ffff9200001af58 R14: ffffc900000d7ac0 R15: 0000000000000201 neigh_periodic_work+0xbcb/0xde0 net/core/neighbour.c:968 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244