INFO: task syz.6.1324:12475 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.1324 state:D stack:27248 pid:12475 tgid:12473 ppid:10728 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 nfsd_nl_listener_set_doit+0xe3/0x1b40 fs/nfsd/nfsctl.c:1964 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:2541 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1347 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg net/socket.c:726 [inline] ____sys_sendmsg+0x9ae/0xb40 net/socket.c:2583 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2637 __sys_sendmsg+0x16e/0x220 net/socket.c:2669 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:0x7f72d7f7e819 RSP: 002b:00007f72d8d11038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f72d8135fa0 RCX: 00007f72d7f7e819 RDX: 0000000000004000 RSI: 00000000200020c0 RDI: 0000000000000003 RBP: 00007f72d7ff175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f72d8135fa0 R15: 00007ffc54b0fda8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddbaf40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddbaf40 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddbaf40 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 3 locks held by kworker/u8:2/35: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204 #1: ffffc90000ab7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 2 locks held by kworker/u8:5/1312: 2 locks held by getty/5601: #0: ffff888030f850a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fc62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz.2.440/8007: 2 locks held by syz-executor/8686: #0: ffff88805d8de0e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88805d8de0e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88805d8de0e0 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 3 locks held by kworker/u8:51/10615: #0: ffff888030674948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000d11fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4736 2 locks held by syz.4.1308/12392: #0: ffffffff8fb5e1d0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 3 locks held by kworker/u9:0/12423: #0: ffff8880353ec148 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000d5efd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff88808532cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:331 2 locks held by syz.6.1324/12475: #0: ffffffff8fb5e1d0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_listener_set_doit+0xe3/0x1b40 fs/nfsd/nfsctl.c:1964 2 locks held by syz-executor/12558: #0: ffff88805dee80e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88805dee80e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88805dee80e0 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/12641: #0: ffff888060b540e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888060b540e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888060b540e0 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/12721: #0: ffff8880261360e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880261360e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880261360e0 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.3.1449/13103: #0: ffff8880338ae0e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880338ae0e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880338ae0e0 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 1 lock held by syz-executor/13877: #0: ffffffff8ddc6878 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 2 locks held by syz.0.1591/14293: #0: ffff8880662640e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880662640e0 (&type->s_umount_key#51){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880662640e0 (&type->s_umount_key#51){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 4 locks held by syz.1.1621/14661: 8 locks held by syz-executor/14678: #0: ffff888035186420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:731 #1: ffff88809bf14c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x27b/0x500 fs/kernfs/file.c:325 #2: ffff88814430a008 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f060e68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 #4: ffff8880786540e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff8880786540e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880786540e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 #5: ffff888078651250 (&devlink->lock_key#5){+.+.}-{4:4}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x6f/0x6b0 drivers/net/netdevsim/netdev.c:816 #7: ffffffff8ddc6878 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 2 locks held by syz-executor/14686: #0: ffffffff901f2740 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline] #0: ffffffff901f2740 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline] #0: ffffffff901f2740 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x10f/0x2c0 net/core/rtnetlink.c:559 #1: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #1: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x5c8/0x1c10 net/core/rtnetlink.c:4000 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 14661 Comm: syz.1.1621 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class+0x0/0x130 kernel/locking/lockdep.c:223 Code: df e8 84 8e 86 00 e9 c9 fe ff ff e8 7a 8e 86 00 e9 95 fe ff ff 0f 1f 44 00 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 RSP: 0018:ffffc9000303f2a8 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff888024ccc758 RCX: 0000000000000003 RDX: 0000000000000002 RSI: ffff888024ccc758 RDI: ffff888024ccc758 RBP: ffffc9000303f3e8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff969afcc7 R11: 0000000000000003 R12: ffff888024ccbc00 R13: 0000000000000200 R14: 0000000000000009 R15: 1ffff92000607e5c FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005567db378088 CR3: 000000002a346000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4727 mark_usage kernel/locking/lockdep.c:4670 [inline] __lock_acquire+0x9f1/0x3c40 kernel/locking/lockdep.c:5180 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] __lruvec_stat_mod_folio+0xb4/0x360 mm/memcontrol.c:799 __folio_mod_stat mm/rmap.c:1301 [inline] __folio_remove_rmap mm/rmap.c:1593 [inline] folio_remove_rmap_ptes+0xf8/0x3c0 mm/rmap.c:1620 zap_present_folio_ptes mm/memory.c:1526 [inline] zap_present_ptes mm/memory.c:1585 [inline] zap_pte_range mm/memory.c:1627 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x1951/0x3d40 mm/memory.c:1824 unmap_single_vma+0x194/0x2b0 mm/memory.c:1870 unmap_vmas+0x22f/0x490 mm/memory.c:1914 exit_mmap+0x1c6/0xb30 mm/mmap.c:1667 __mmput+0x12a/0x480 kernel/fork.c:1347 mmput+0x62/0x70 kernel/fork.c:1369 exit_mm kernel/exit.c:570 [inline] do_exit+0x9bf/0x2d70 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x2576/0x2610 kernel/signal.c:3016 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] irqentry_exit_to_user_mode+0x13f/0x280 kernel/entry/common.c:231 asm_exc_stack_segment+0x26/0x30 arch/x86/include/asm/idtentry.h:616 RIP: 0033:0x7f11c3f7e821 Code: Unable to access opcode bytes at 0x7f11c3f7e7f7. RSP: 002b:7fffffffff7fffff EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f11c4135fa0 RCX: 00007f11c3f7e819 RDX: ffffffffffffffff RSI: 7fffffffff7fffff RDI: 0000000000000081 RBP: 00007f11c3ff175e R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f11c4135fa0 R15: 00007ffc3fd07c98