INFO: task syz.2.1300:11203 blocked for more than 143 seconds. Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1300 state:D stack:27248 pid:11203 tgid:11202 ppid:5827 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:2542 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:0x7f310077ff19 RSP: 002b:00007f3101531058 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3100945fa0 RCX: 00007f310077ff19 RDX: 0000000000004000 RSI: 00000000200020c0 RDI: 0000000000000004 RBP: 00007f31007f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3100945fa0 R15: 00007fffb38736a8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddba940 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddba940 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddba940 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by kworker/u9:0/54: #0: ffff888144f18148 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc90000bf7d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u8:6/1152: 2 locks held by kworker/u9:1/5144: #0: ffff88802591e148 ((wq_completion)nbd4-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000fe57d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by getty/5582: #0: ffff8880346d20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/u9:2/5831: #0: ffff888025a61948 ((wq_completion)nbd7-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000389fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u9:6/5841: #0: ffff888025933148 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000393fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u8:13/9695: 2 locks held by syz-executor/10319: #0: ffff88807c7b60e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807c7b60e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807c7b60e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.1.1265/10950: #0: ffffffff8fb5c410 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671 2 locks held by syz.2.1300/11203: #0: ffffffff8fb5c410 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_listener_set_doit+0xe3/0x1b40 fs/nfsd/nfsctl.c:1964 2 locks held by syz-executor/11305: #0: ffff8880449640e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880449640e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880449640e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.0.1347/11401: #0: ffffffff8fb5c410 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_version_set_doit+0xc5/0x7a0 fs/nfsd/nfsctl.c:1813 2 locks held by syz-executor/11429: #0: ffff88807ccbe0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807ccbe0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807ccbe0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/11602: #0: ffff88808717e0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88808717e0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88808717e0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/11626: #0: ffff888033b160e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888033b160e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888033b160e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz-executor/11647: #0: ffff88804c1080e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804c1080e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804c1080e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by kworker/u9:3/12591: #0: ffff8880259fb148 ((wq_completion)nbd6-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000388fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u9:5/12602: #0: ffff888025a11948 ((wq_completion)nbd8-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc90005d87d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u9:7/12649: #0: ffff888144f1b948 ((wq_completion)nbd9-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc90004fe7d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u9:8/12729: #0: ffff888025b1e148 ((wq_completion)nbd10-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000556fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u9:9/12780: #0: ffff888025b33148 ((wq_completion)nbd11-recv){+.+.}-{0:0}, at: process_one_work+0x12cd/0x1b30 kernel/workqueue.c:3204 #1: ffffc90003f07d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by syz-executor/13099: #0: ffff88808f77e0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88808f77e0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88808f77e0e0 (&type->s_umount_key#49){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1b9808 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 1 lock held by syz.5.1736/13412: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #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:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 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: 12422 Comm: syz-executor Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5814 Code: b8 ff ff ff ff 65 0f c1 05 f0 44 8c 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc90004f876b0 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff920009f0ed7 RCX: ffffffff81754f8e RDX: 0000000000000001 RSI: ffffffff8b4cd480 RDI: ffffffff8bb156e0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2d3639a R10: ffffffff969b1cd7 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880346b9c38 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555570d82500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe1a1c0e18 CR3: 000000008b4cc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] filemap_remove_folio+0xb6/0x210 mm/filemap.c:262 truncate_inode_folio+0x49/0x70 mm/truncate.c:162 shmem_undo_range+0x36e/0x1170 mm/shmem.c:1036 shmem_truncate_range mm/shmem.c:1152 [inline] shmem_evict_inode+0x3a3/0xba0 mm/shmem.c:1280 evict+0x409/0x960 fs/inode.c:796 iput_final fs/inode.c:1946 [inline] iput fs/inode.c:1972 [inline] iput+0x52a/0x890 fs/inode.c:1958 do_unlinkat+0x5c3/0x760 fs/namei.c:4594 __do_sys_unlink fs/namei.c:4635 [inline] __se_sys_unlink fs/namei.c:4633 [inline] __x64_sys_unlink+0xc5/0x110 fs/namei.c:4633 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:0x7faf7137f4c7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe1a1c15c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007faf7137f4c7 RDX: 00007ffe1a1c15f0 RSI: 00007ffe1a1c1680 RDI: 00007ffe1a1c1680 RBP: 00007ffe1a1c1680 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe1a1c2700 R13: 00007faf713f3ab4 R14: 0000000000069ccf R15: 00007ffe1a1c2740