INFO: task syz.1.3024:21195 blocked for more than 143 seconds. Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.3024 state:D stack:27248 pid:21195 tgid:21194 ppid:20790 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0x9ae/0xb40 net/socket.c:2602 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656 __sys_sendmsg+0x117/0x1f0 net/socket.c:2685 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc060b7dff9 RSP: 002b:00007fc0619fa038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc060d35f80 RCX: 00007fc060b7dff9 RDX: 0000000000008004 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007fc060bf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc060d35f80 R15: 00007ffeeca425e8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:8/3021: 2 locks held by getty/4997: #0: ffff88802e6fb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz.3.41/5472: 4 locks held by kworker/u8:37/10471: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90009857d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8faad510 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 #3: ffffffff8fac3128 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8f/0x9b0 net/core/dev.c:11934 3 locks held by kworker/u8:38/10472: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000d64fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fac3128 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by syz.3.2418/17704: 2 locks held by kworker/u8:28/18101: #0: ffff88801e7a2948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90008f67d80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 1 lock held by syz.0.2849/20082: 2 locks held by syz.1.2956/20616: #0: ffffffff8fb61190 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 2 locks held by syz-executor/20893: #0: ffff88809157a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88809157a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88809157a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/20980: #0: ffff8880770040e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880770040e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880770040e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.1.3024/21195: #0: ffffffff8fb61190 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 2 locks held by syz-executor/21282: #0: ffff88802131a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802131a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802131a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/21480: #0: ffff88806c88e0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806c88e0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806c88e0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/21551: #0: ffff8880779e60e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880779e60e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880779e60e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.3.3116/21807: #0: ffff8880122680e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880122680e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880122680e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/21844: #0: ffff8880780a20e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880780a20e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880780a20e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d1868 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 7 locks held by syz-executor/22524: #0: ffff8880329e6420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:736 #1: ffff888032373888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x27b/0x500 fs/kernfs/file.c:325 #2: ffff8880267690f8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f069228 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166 #4: ffff8880127050e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff8880127050e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffff88809e951250 (&devlink->lock_key#55){+.+.}-{3:3}, at: nsim_drv_probe+0xd5/0x1490 drivers/net/netdevsim/dev.c:1534 #6: ffffffff8fac3128 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x1b/0x70 net/ipv4/nexthop.c:3885 1 lock held by syz.3.3285/22609: #0: ffffffff8ddc30f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 1 lock held by syz.1.3296/22656: 2 locks held by syz.1.3304/22698: #0: ffff8880616f4408 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff8880616f4408 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x270 net/socket.c:657 #1: ffffffff8ddc30f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 3 locks held by syz.3.3305/22713: #0: ffff88803f468d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff88803f468078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x2ef/0x11d0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fd28c88 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fd28c88 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2589 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #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+0x116/0x1f0 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 10471 Comm: kworker/u8:37 Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net RIP: 0010:__lock_acquire+0x927/0x3ce0 kernel/locking/lockdep.c:5172 Code: ee 4c 89 ff e8 6a e5 ff ff 85 c0 0f 84 9f 05 00 00 48 c7 c2 20 58 38 9a 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> c7 c0 20 58 38 9a 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 9c RSP: 0018:ffffc90009856ee8 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: ffff88807e6ea9ca RCX: 1ffffffff2d31618 RDX: 0000000000000004 RSI: 0000000000000100 RDI: ffffffff9698b0c0 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff2d31588 R10: ffffffff9698ac47 R11: 0000000000000000 R12: 0000000000000003 R13: ffff88807e6ea9a8 R14: 0000000000000000 R15: ffff88807e6e9e00 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000030000 CR3: 000000000db7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 debug_objects_fill_pool lib/debugobjects.c:614 [inline] debug_object_assert_init+0x142/0x370 lib/debugobjects.c:893 debug_timer_assert_init kernel/time/timer.c:846 [inline] debug_assert_init kernel/time/timer.c:891 [inline] __timer_delete+0x81/0x1c0 kernel/time/timer.c:1413 del_timer include/linux/timer.h:202 [inline] try_to_grab_pending+0x7d/0x850 kernel/workqueue.c:2064 work_grab_pending kernel/workqueue.c:2157 [inline] mod_delayed_work_on+0x9a/0x1d0 kernel/workqueue.c:2585 mod_delayed_work include/linux/workqueue.h:692 [inline] mld_ifc_start_work net/ipv6/mcast.c:1074 [inline] mld_ifc_event net/ipv6/mcast.c:2670 [inline] mld_ifc_event+0xa5/0x160 net/ipv6/mcast.c:2664 igmp6_leave_group net/ipv6/mcast.c:2626 [inline] igmp6_group_dropped+0x735/0xe40 net/ipv6/mcast.c:723 __ipv6_dev_mc_dec+0x281/0x360 net/ipv6/mcast.c:979 addrconf_leave_solict net/ipv6/addrconf.c:2253 [inline] __ipv6_ifa_notify+0x3f6/0xc30 net/ipv6/addrconf.c:6283 addrconf_ifdown.isra.0+0xef9/0x1a20 net/ipv6/addrconf.c:3982 addrconf_notify+0x220/0x19c0 net/ipv6/addrconf.c:3781 notifier_call_chain+0xb9/0x410 kernel/notifier.c:93 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:1996 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] dev_close_many+0x333/0x6a0 net/core/dev.c:1589 unregister_netdevice_many_notify+0x489/0x1e50 net/core/dev.c:11377 unregister_netdevice_many net/core/dev.c:11465 [inline] default_device_exit_batch+0x73a/0x9b0 net/core/dev.c:11948 ops_exit_list+0x128/0x180 net/core/net_namespace.c:178 cleanup_net+0x5b7/0xb40 net/core/net_namespace.c:626 process_one_work+0x958/0x1b30 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244