INFO: task syz.2.3767:27935 blocked for more than 143 seconds.
Not tainted 6.12.0-syzkaller-08446-g228a1157fb9f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.3767 state:D stack:27248 pid:27935 tgid:27934 ppid:20482 flags:0x00004004
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:0x7f97a9d7e819
RSP: 002b:00007f97aaab3038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f97a9f35fa0 RCX: 00007f97a9d7e819
RDX: 0000000000000014 RSI: 0000000020000380 RDI: 0000000000000003
RBP: 00007f97a9df175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f97a9f35fa0 R15: 00007ffe71c851a8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8ddbaf80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8ddbaf80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8ddbaf80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744
1 lock held by dhcpcd/5518:
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_deladdr+0x15e/0x7c0 net/ipv4/devinet.c:679
2 locks held by getty/5607:
#0: ffff88814d2960a0 (&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
3 locks held by kworker/u8:45/13062:
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204
#1: ffffc9000d16fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205
#2: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276
3 locks held by kworker/u8:48/13065:
1 lock held by syz.6.2450/18106:
4 locks held by kworker/u8:29/27181:
#0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204
#1: ffffc9001017fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205
#2: ffffffff8faa7f50 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:586
#3: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1b/0x230 drivers/net/wireguard/device.c:415
2 locks held by syz.8.3757/27849:
#0: ffffffff8fb5cd90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671
2 locks held by syz.2.3767/27935:
#0: ffffffff8fb5cd90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_listener_set_doit+0xe3/0x1b40 fs/nfsd/nfsctl.c:1964
2 locks held by syz.0.3811/28117:
#0: ffffffff8fb5cd90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671
2 locks held by syz.4.3825/28301:
#0: ffffffff8fb5cd90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671
2 locks held by syz-executor/28523:
#0: ffff888023de40e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888023de40e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888023de40e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
2 locks held by syz.6.3865/28668:
#0: ffff8880675ec0e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880675ec0e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880675ec0e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
3 locks held by syz-executor/28727:
#0: ffff88807bc14d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff88807bc14078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x34c/0x1250 net/bluetooth/hci_sync.c:5200
#2: ffffffff8fd24e68 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2047 [inline]
#2: ffffffff8fd24e68 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xbb/0x260 net/bluetooth/hci_conn.c:2698
1 lock held by syz.7.4005/29812:
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
2 locks held by syz.5.4029/29980:
#0: ffff88802a8120e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88802a8120e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88802a8120e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1ba208 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
1 lock held by syz-executor/29999:
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x5c8/0x1c10 net/core/rtnetlink.c:4000
3 locks held by kworker/u9:1/30014:
#0: ffff88805917f948 ((wq_completion)hci7){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204
#1: ffffc9000d9dfd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205
#2: ffff888012120d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:331
1 lock held by syz.3.4035/30034:
#0: ffffffff8ddc68b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329
1 lock held by syz-executor/30035:
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x316/0x1580 net/ipv4/devinet.c:987
1 lock held by syz-executor/30045:
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fabe048 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x316/0x1580 net/ipv4/devinet.c:987
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-08446-g228a1157fb9f #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: 18106 Comm: syz.6.2450 Not tainted 6.12.0-syzkaller-08446-g228a1157fb9f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:448 [inline]
RIP: 0010:__lock_acquire+0xd26/0x3c40 kernel/locking/lockdep.c:5214
Code: c1 e0 0d 66 0b 04 24 98 29 d8 8b 5c 24 68 31 d8 8b 5c 24 58 89 c2 29 c1 c1 c2 06 31 ca 01 d8 29 d3 89 d9 89 d3 01 c2 c1 c3 08 <31> cb 89 d9 29 d8 01 d3 c1 c1 10 89 de 31 c8 89 c1 29 c2 01 d8 c1
RSP: 0018:ffffc90004936eb8 EFLAGS: 00000012
RAX: 00000000faffb47b RBX: 000000007e59c568 RCX: 00000000211a133b
RDX: 00000000637e0e40 RSI: 0000000000000008 RDI: ffffffff969a9ae8
RBP: ffffffff96a125a8 R08: 0000000000000000 R09: fffffbfff2d34f98
R10: ffffffff969a7cc7 R11: 0000000000000001 R12: ffffed100c96851b
R13: ffff888064b41e00 R14: 0000000000000004 R15: ffff888064b42908
FS: 00007f8d12f9a6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc73b507440 CR3: 00000000548e8000 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:5849
rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
filemap_get_entry+0xd6/0x3c0 mm/filemap.c:1839
__filemap_get_folio+0x59/0xaf0 mm/filemap.c:1887
filemap_lock_folio include/linux/pagemap.h:788 [inline]
filemap_lock_hugetlb_folio include/linux/hugetlb.h:795 [inline]
hugetlbfs_read_iter+0x3d6/0x8d0 fs/hugetlbfs/inode.c:345
__kernel_read+0x3f1/0xb50 fs/read_write.c:523
integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:28
ima_calc_file_hash_tfm+0x2c9/0x3e0 security/integrity/ima/ima_crypto.c:480
ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline]
ima_calc_file_hash+0x1ba/0x490 security/integrity/ima/ima_crypto.c:568
ima_collect_measurement+0x8a7/0xa10 security/integrity/ima/ima_api.c:293
process_measurement+0x1271/0x2370 security/integrity/ima/ima_main.c:372
ima_file_mmap+0x1b3/0x1e0 security/integrity/ima/ima_main.c:462
security_mmap_file+0x8bd/0x990 security/security.c:2977
vm_mmap_pgoff+0xdb/0x360 mm/util.c:584
ksys_mmap_pgoff+0x1c8/0x5c0 mm/mmap.c:542
__do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline]
__se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline]
__x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79
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:0x7f8d1217e819
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f8d12f9a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f8d12335fa0 RCX: 00007f8d1217e819
RDX: 00004000000000df RSI: 0010000000000004 RDI: 0000000000000000
RBP: 00007f8d121f175e R08: 0000000000000001 R09: 0000300000000000
R10: 0000000000040eb1 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8d12335fa0 R15: 00007ffff8216cd8