INFO: task syz-executor:5884 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-00114-g3840cbe24cf0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24288 pid:5884 tgid:5884 ppid:1 flags:0x00004004 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_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 nfsd_umount+0x48/0xe0 fs/nfsd/nfsctl.c:1428 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473 deactivate_super+0xde/0x100 fs/super.c:506 cleanup_mnt+0x222/0x450 fs/namespace.c:1373 task_work_run+0x14e/0x250 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f167d77f327 RSP: 002b:00007ffc9d2d88c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f167d77f327 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc9d2d8980 RBP: 00007ffc9d2d8980 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc9d2d9a00 R13: 00007f167d7f0134 R14: 0000000000024497 R15: 00007ffc9d2d9a40 INFO: task syz.0.178:6475 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-00114-g3840cbe24cf0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.178 state:D stack:27248 pid:6475 tgid:6474 ppid:5596 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:0x7f648c77dff9 RSP: 002b:00007f648d4b7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f648c935f80 RCX: 00007f648c77dff9 RDX: 0000000000008004 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007f648c7f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f648c935f80 R15: 00007ffeac9b46b8 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:6/2483: 2 locks held by getty/4998: #0: ffff8880322820a0 (&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 4 locks held by kworker/u8:19/5851: 2 locks held by syz-executor/5884: #0: ffff8880779b00e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880779b00e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880779b00e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.3.136/6252: #0: ffffffff8fb60b10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 2 locks held by syz.0.178/6475: #0: ffffffff8fb60b10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 2 locks held by syz-executor/6665: #0: ffff88807a5300e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807a5300e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807a5300e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/6679: #0: ffff88802f57a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802f57a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802f57a0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/6695: #0: ffff8880341280e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880341280e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880341280e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/6722: #0: ffff8880773d40e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880773d40e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880773d40e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7182: #0: ffff88806b2560e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806b2560e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806b2560e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7201: #0: ffff8880404420e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880404420e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880404420e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7221: #0: ffff8880340620e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880340620e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880340620e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7288: #0: ffff8880313700e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880313700e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880313700e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7339: #0: ffff888078f900e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888078f900e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888078f900e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7363: #0: ffff88807c4aa0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807c4aa0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807c4aa0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/7424: #0: ffff88807f1800e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807f1800e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807f1800e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/8068: #0: ffff8880326800e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880326800e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880326800e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/8094: #0: ffff88808a2c60e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88808a2c60e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88808a2c60e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/8150: #0: ffff88809b5ac0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88809b5ac0e0 (&type->s_umount_key#50){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88809b5ac0e0 (&type->s_umount_key#50){++++}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.0.486/8279: #0: ffffffff8fb60b10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 2 locks held by syz.0.486/8281: #0: ffffffff8fb60b10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d19e8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_threads_get_doit+0x1c7/0x740 fs/nfsd/nfsctl.c:1755 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00114-g3840cbe24cf0 #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: 5853 Comm: kworker/u8:20 Not tainted 6.12.0-rc1-syzkaller-00114-g3840cbe24cf0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x70 kernel/kcov.c:217 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 14 2d 77 7e 65 8b 05 15 2d 77 7e a9 00 01 ff 00 48 8b 34 24 <74> 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 00 75 35 8b RSP: 0018:ffffc90002f0fcc8 EFLAGS: 00000046 RAX: 0000000080000001 RBX: ffff88814c910c00 RCX: ffffffff815675d5 RDX: ffff888029715a00 RSI: ffffffff81567655 RDI: ffff88814c910c38 RBP: ffff88801aca0190 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000080 R11: 0000000000000000 R12: ffff88802df2c400 R13: ffff88801aca0000 R14: 0000000000000080 R15: 0000000000000080 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd49c61fe8 CR3: 000000007f98a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __hlist_del include/linux/list.h:985 [inline] hlist_del_init include/linux/list.h:1016 [inline] hash_del include/linux/hashtable.h:107 [inline] process_one_work+0xcd5/0x1b30 kernel/workqueue.c:3277 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