INFO: task syz.2.973:9276 blocked for more than 143 seconds.
      Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.973       state:D stack:24184 pid:9276  tgid:9275  ppid:5831   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 nfsd_nl_listener_set_doit+0x12a/0x1650
 genl_family_rcv_msg_doit+0x215/0x300
 genl_rcv_msg+0x60e/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x75b/0x8d0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff77ef8e929
RSP: 002b:00007ff77fd56038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ff77f1b5fa0 RCX: 00007ff77ef8e929
RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000000000000007
RBP: 00007ff77f010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff77f1b5fa0 R15: 00007fffebddb188
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5654:
 #0: ffff8881074890a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029132f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by udevd/5828:
 #0: ffff8880208d7358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
2 locks held by syz.0.957/9216:
 #0: ffffffff8f582af0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8e41cf48 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_listener_set_doit+0x12a/0x1650
2 locks held by syz.2.973/9276:
 #0: ffffffff8f582af0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8e41cf48 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_listener_set_doit+0x12a/0x1650
4 locks held by syz-executor/13508:
 #0: ffff888108e92428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90
 #1: ffff88811116d488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff888021b2ae18 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edaab68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0
8 locks held by syz-executor/13527:
 #0: ffff888108e92428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90
 #1: ffff888111669488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff888021b2af08 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edaab68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
 #4: ffff88803a0660e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x7c0
 #5: ffff888039ff6250 (&devlink->lock_key#33){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160
 #6: ffffffff8f51c948 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xdb/0x670
 #7: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
2 locks held by syz.3.1861/13577:
 #0: ffffffff8f50fd50 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8e144840 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
5 locks held by rm/13598:

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xfee/0x1030
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 8618 Comm: udevd Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:depot_fetch_stack+0x61/0xc0
Code: 39 f5 73 36 41 89 ee 81 fd 00 20 00 00 73 5c 4a 8b 04 f5 20 0d de 99 48 85 c0 74 43 c1 eb 0d 81 e3 f0 3f 00 00 83 7c 18 1c 00 <74> 39 48 01 d8 eb 24 90 0f 0b 90 44 39 f5 72 ca 90 48 c7 c7 a6 a6
RSP: 0018:ffffc900029cf568 EFLAGS: 00000206
RAX: ffff888108ef0000 RBX: 0000000000003850 RCX: 3575031bd4a16700
RDX: 0000000000000000 RSI: ffffffff8db84532 RDI: ffffffff8be28fc0
RBP: 00000000000001e9 R08: ffff888101e4c257 R09: 1ffff110203c984a
R10: dffffc0000000000 R11: ffffed10203c984b R12: 0000000000000000
R13: 0000000000000000 R14: 00000000000001e9 R15: 00000044c5535d16
FS:  00007fd9172bcc80(0000) GS:ffff8880b861d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ecd6045131 CR3: 0000000040b4e000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __reset_page_owner+0xd0/0x1f0
 free_unref_folios+0xc66/0x14d0
 folios_put_refs+0x559/0x640
 shmem_undo_range+0x49e/0x14b0
 shmem_evict_inode+0x272/0xa70
 evict+0x504/0x9c0
 do_unlinkat+0x3a1/0x560
 __x64_sys_unlink+0x47/0x50
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd916f17da7
Code: f0 ff ff 73 01 c3 48 8b 0d 7e 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 90 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe10f3f098 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 000055db7834d120 RCX: 00007fd916f17da7
RDX: 0000000000000000 RSI: 000055db89981fc4 RDI: 00007ffe10f3f0a8
RBP: 00007ffe10f3f0a8 R08: 0000000000000000 R09: 5f80a0dd5909a294
R10: 0000000000000007 R11: 0000000000000206 R12: 000055db89984f40
R13: 000000000aba9500 R14: 0000000003938700 R15: 000055db7834d160
 </TASK>
