INFO: task syz.5.1103:10387 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.1103 state:D stack:27216 pid:10387 tgid:10382 ppid:9402 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:7058 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7115 __mutex_lock_common kernel/locking/mutex.c:676 [inline] __mutex_lock+0x81b/0x1060 kernel/locking/mutex.c:760 nfsd_nl_threads_set_doit+0x687/0xbc0 fs/nfsd/nfsctl.c:1629 genl_family_rcv_msg_doit+0x206/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f56ca98ebe9 RSP: 002b:00007f56cb89d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f56cabc6090 RCX: 00007f56ca98ebe9 RDX: 0000000000008004 RSI: 0000200000000180 RDI: 000000000000000a RBP: 00007f56caa11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f56cabc6128 R14: 00007f56cabc6090 R15: 00007ffffa28c6a8 Showing all locks held in the system: 5 locks held by kauditd/30: #0: ffff8880b843a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:644 [inline] #0: ffff8880b843a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:629 #1: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #1: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #1: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: __bpf_trace_run kernel/trace/bpf_trace.c:2256 [inline] #1: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: bpf_trace_run4+0x1d5/0x5b0 kernel/trace/bpf_trace.c:2300 #2: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #2: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: ____bpf_get_current_cgroup_id kernel/bpf/helpers.c:411 [inline] #2: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: bpf_get_current_cgroup_id+0x24/0x3b0 kernel/bpf/helpers.c:406 #3: ffffffff9b08bbd0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x14c/0x4c0 lib/debugobjects.c:818 #4: ffffffff9b115078 (&port_lock_key){-.-.}-{3:3}, at: uart_port_lock_irqsave include/linux/serial_core.h:717 [inline] #4: ffffffff9b115078 (&port_lock_key){-.-.}-{3:3}, at: serial8250_console_write+0x181/0x1890 drivers/tty/serial/8250/8250_port.c:3355 1 lock held by khungtaskd/31: #0: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e5c1260 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6775 2 locks held by getty/5612: #0: ffff88814e36d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222 2 locks held by syz.3.816/9209: #0: ffffffff90427f50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e9da728 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x687/0xbc0 fs/nfsd/nfsctl.c:1629 2 locks held by syz.5.1103/10387: #0: ffffffff90427f50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e9da728 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x687/0xbc0 fs/nfsd/nfsctl.c:1629 6 locks held by syz.4.1601/12415: 1 lock held by syz.7.1617/12469: #0: ffffffff8e5cc6c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x48/0x6e0 kernel/rcu/tree.c:3815 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] watchdog+0xf0e/0x1260 kernel/hung_task.c:491 kthread+0x3c2/0x780 kernel/kthread.c:463 ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12415 Comm: syz.4.1601 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4896 [inline] RIP: 0010:__lock_acquire+0x309/0x1ce0 kernel/locking/lockdep.c:5187 Code: 80 da ff 44 39 f6 7f 39 eb 66 48 8d 04 80 48 8d 04 80 48 8d 0c c5 60 79 dd 95 0f b6 81 c4 00 00 00 84 c0 74 0f 38 c2 0f 47 d0 <80> b9 c6 00 00 00 02 0f 44 d0 41 83 c6 01 45 3b b5 e8 0a 00 00 7d RSP: 0018:ffffc9000c59e330 EFLAGS: 00000046 RAX: 0000000000000004 RBX: ffff8880318dd370 RCX: ffffffff95e4e880 RDX: 0000000000000004 RSI: 0000000000000005 RDI: ffff8880318dd438 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000000c8 R11: 0000000000000001 R12: ffff8880318dd438 R13: ffff8880318dc880 R14: 0000000000000003 R15: 0000000000000001 FS: 00007feb58dcf6c0(0000) GS:ffff8881246b5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555583cee5c8 CR3: 000000003e378000 CR4: 00000000003526f0 DR0: 0000000000000002 DR1: 0000000000000002 DR2: 0000000000000008 DR3: 1000000100000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xd1/0x20a0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:388 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:405 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4376 [inline] __kmalloc_node_track_caller_noprof+0x221/0x510 mm/slub.c:4395 __kmemdup_nul mm/util.c:64 [inline] kstrdup+0x53/0x100 mm/util.c:84 kstrdup_const+0x63/0x80 mm/util.c:104 __kernfs_new_node+0x9b/0x8e0 fs/kernfs/dir.c:633 kernfs_new_node+0x13c/0x1e0 fs/kernfs/dir.c:713 __kernfs_create_file+0x53/0x350 fs/kernfs/file.c:1039 sysfs_add_file_mode_ns+0x207/0x3c0 fs/sysfs/file.c:319 create_files fs/sysfs/group.c:76 [inline] internal_create_group+0x578/0xf30 fs/sysfs/group.c:183 internal_create_groups+0x9d/0x150 fs/sysfs/group.c:223 setup_port+0x404/0x1720 drivers/infiniband/core/sysfs.c:1247 ib_setup_port_attrs+0x201/0x600 drivers/infiniband/core/sysfs.c:1433 add_one_compat_dev+0x558/0x7d0 drivers/infiniband/core/device.c:1005 add_compat_devs drivers/infiniband/core/device.c:1063 [inline] enable_device_and_get+0x336/0x3f0 drivers/infiniband/core/device.c:1374 ib_register_device drivers/infiniband/core/device.c:1487 [inline] ib_register_device+0x87f/0xe00 drivers/infiniband/core/device.c:1433 rxe_register_device+0x275/0x320 drivers/infiniband/sw/rxe/rxe_verbs.c:1556 rxe_net_add+0x95/0xf0 drivers/infiniband/sw/rxe/rxe_net.c:537 rxe_newlink+0x70/0x190 drivers/infiniband/sw/rxe/rxe.c:234 nldev_newlink+0x3a6/0x680 drivers/infiniband/core/nldev.c:1797 rdma_nl_rcv_msg+0x38a/0x6e0 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb.constprop.0.isra.0+0x2d0/0x430 drivers/infiniband/core/netlink.c:239 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb57f8ebe9 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:00007feb58dcf038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007feb581c5fa0 RCX: 00007feb57f8ebe9 RDX: 0000000020000000 RSI: 00002000000002c0 RDI: 000000000000000b RBP: 00007feb58011e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007feb581c6038 R14: 00007feb581c5fa0 R15: 00007ffd3b17d268