INFO: task syz.3.16:5403 blocked for more than 143 seconds.
Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.16 state:D stack:27424 pid:5403 tgid:5401 ppid:5232 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6774
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752
fdget_pos+0x24e/0x320 fs/file.c:1160
__do_sys_getdents fs/readdir.c:320 [inline]
__se_sys_getdents+0x1c3/0x4d0 fs/readdir.c:309
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa3d717dff9
RSP: 002b:00007fa3d7fc8038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e
RAX: ffffffffffffffda RBX: 00007fa3d7336058 RCX: 00007fa3d717dff9
RDX: 00000000000000bb RSI: ffffffff81000000 RDI: 0000000000000004
RBP: 00007fa3d71f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fa3d7336058 R15: 00007fff3c1d3ab8
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
6 locks held by kworker/u8:4/61:
#0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc900015c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900015c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcb3150 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580
#3: ffff8880796990e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#3: ffff8880796990e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline]
#3: ffff8880796990e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506
#4: ffff888024b2b250 (&devlink->lock_key#17){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline]
#4: ffff888024b2b250 (&devlink->lock_key#17){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline]
#4: ffff888024b2b250 (&devlink->lock_key#17){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506
#5: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#5: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
2 locks held by getty/4983:
#0: ffff88814c2a80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by sshd/5209:
4 locks held by kworker/u8:8/5292:
3 locks held by kworker/1:6/5330:
2 locks held by syz.3.16/5402:
1 lock held by syz.3.16/5403:
#0: ffff88802741e7f8 (&f->f_pos_lock){+.+.}-{3:3}, at: fdget_pos+0x24e/0x320 fs/file.c:1160
1 lock held by syz-executor/6340:
1 lock held by syz-executor/6717:
#0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
2 locks held by syz.0.160/6725:
1 lock held by syz.3.161/6749:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #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+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/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: 61 Comm: kworker/u8:4 Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: netns cleanup_net
RIP: 0010:__bfs kernel/locking/lockdep.c:1811 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1856 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2827 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3165 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3280 [inline]
RIP: 0010:validate_chain+0x1fc2/0x5920 kernel/locking/lockdep.c:3904
Code: 80 3c 20 00 74 08 4c 89 f7 e8 ba 46 8a 00 48 09 9c 24 98 00 00 00 4d 8b 3e 4d 39 f7 0f 84 6e fc ff ff 41 b4 01 eb 0c 4d 8b 3f <4d> 39 f7 0f 84 5d fc ff ff 49 8d 5f 30 48 89 d8 48 c1 e8 03 48 b9
RSP: 0018:ffffc900015c68c0 EFLAGS: 00000046
RAX: 1ffffffff2d9c507 RBX: ffffffff96ce2868 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93c0d858
RBP: ffffc900015c6bc0 R08: ffffffff94292807 R09: 1ffffffff2852500
R10: dffffc0000000000 R11: fffffbfff2852501 R12: 0000000000000000
R13: ffffc900015c6a80 R14: ffffffff93c0d828 R15: ffffffff96ce2d78
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe86a90fa8 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
do_write_seqcount_begin_nested include/linux/seqlock.h:454 [inline]
do_write_seqcount_begin include/linux/seqlock.h:480 [inline]
psi_group_change+0x1b9/0x1190 kernel/sched/psi.c:792
psi_task_change+0xed/0x270 kernel/sched/psi.c:912
psi_enqueue kernel/sched/stats.h:143 [inline]
enqueue_task+0x2aa/0x300 kernel/sched/core.c:2017
activate_task kernel/sched/core.c:2062 [inline]
ttwu_do_activate+0x1d1/0x760 kernel/sched/core.c:3675
ttwu_queue kernel/sched/core.c:3948 [inline]
try_to_wake_up+0x8d6/0x14b0 kernel/sched/core.c:4276
__pollwake fs/select.c:205 [inline]
pollwake+0x1d8/0x280 fs/select.c:215
__wake_up_common kernel/sched/wait.c:89 [inline]
__wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106
sock_def_readable+0x20f/0x5b0 net/core/sock.c:3442
__netlink_sendskb net/netlink/af_netlink.c:1278 [inline]
netlink_broadcast_deliver net/netlink/af_netlink.c:1408 [inline]
do_one_broadcast net/netlink/af_netlink.c:1495 [inline]
netlink_broadcast_filtered+0xe9f/0x12a0 net/netlink/af_netlink.c:1540
nlmsg_multicast_filtered include/net/netlink.h:1125 [inline]
nlmsg_multicast include/net/netlink.h:1144 [inline]
nlmsg_notify+0xfb/0x1c0 net/netlink/af_netlink.c:2594
register_netdevice+0x1774/0x1b00 net/core/dev.c:10538
nsim_init_netdevsim drivers/net/netdevsim/netdev.c:690 [inline]
nsim_create+0x647/0x890 drivers/net/netdevsim/netdev.c:750
__nsim_dev_port_add+0x6c0/0xae0 drivers/net/netdevsim/dev.c:1390
nsim_dev_port_add_all drivers/net/netdevsim/dev.c:1446 [inline]
nsim_dev_reload_create drivers/net/netdevsim/dev.c:1498 [inline]
nsim_dev_reload_up+0x69b/0x8e0 drivers/net/netdevsim/dev.c:985
devlink_reload+0x478/0x870 net/devlink/dev.c:474
devlink_pernet_pre_exit+0x1f3/0x440 net/devlink/core.c:509
ops_pre_exit_list net/core/net_namespace.c:163 [inline]
cleanup_net+0x615/0xcc0 net/core/net_namespace.c:606
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244