INFO: task syz.7.3303:18049 blocked for more than 143 seconds.
Not tainted 6.1.131-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.3303 state:D stack:25128 pid:18049 ppid:15764 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5243 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6560
schedule+0xbf/0x180 kernel/sched/core.c:6636
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6695
rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
__down_read_common kernel/locking/rwsem.c:1261 [inline]
__down_read kernel/locking/rwsem.c:1274 [inline]
down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
iterate_supers+0xac/0x1e0 fs/super.c:755
ksys_sync+0xb9/0x1c0 fs/sync.c:102
__do_sys_sync+0xa/0x10 fs/sync.c:113
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f35bb98d169
RSP: 002b:00007f35bc75d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f35bbba6080 RCX: 00007f35bb98d169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f35bbba6080 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f35bbba6080 R15: 00007fffa9518298
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d32e890 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d32f090 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
3 locks held by kworker/0:1/14:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc90000137d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffff888143bc5240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x316/0x41f0 drivers/net/netdevsim/fib.c:1491
3 locks held by kworker/1:0/22:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc900001c7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffff888041e85240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x316/0x41f0 drivers/net/netdevsim/fib.c:1491
1 lock held by khungtaskd/28:
#0: ffffffff8d32e6c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8d32e6c0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8d32e6c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510
3 locks held by kworker/1:2/126:
#0: ffff8880302eb138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc90002d67d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffff88807c108538 (&idev->mc_lock){+.+.}-{3:3}, at: mld_ifc_work+0x29/0xb20 net/ipv6/mcast.c:2658
3 locks held by kworker/0:2/951:
#0: ffff8880302eb138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffff8880b8e27788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x419/0x790 kernel/sched/psi.c:999
#2: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16e0 net/ipv6/addrconf.c:4134
2 locks held by udevd/3622:
2 locks held by getty/4014:
#0: ffff888030c59098
(&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x54a/0x1620 drivers/tty/n_tty.c:2198
2 locks held by kworker/1:3/4303:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc90003f27d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
2 locks held by kworker/0:7/4305:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1:
ffffc900044a7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
3 locks held by kworker/u4:22/5184:
#0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc9001beafd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
2 locks held by kworker/u4:25/5192:
2 locks held by kworker/1:8/7653:
#0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc900038f7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
3 locks held by kworker/1:9/9941:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc9000d55fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffffffff8d333cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#2: ffffffff8d333cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962
4 locks held by kworker/u4:4/13955:
#0: ffff888017e16938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#1: ffffc9000519fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267
#2: ffffffff8e543a50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x166/0xd20 net/core/net_namespace.c:594
#3: ffffffff8d333cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#3: ffffffff8d333cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962
1 lock held by syz.2.3283/17933:
#0: ffff8880474940e0 (&type->s_umount_key#77/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228
1 lock held by syz.7.3303/18049:
#0: ffff8880474940e0 (&type->s_umount_key#99){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755
6 locks held by syz-executor/20437:
5 locks held by syz-executor/20541:
#0:
ffff88807e87e460
(sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x269/0xbc0 fs/read_write.c:580
#1:
ffff888029b16088
(&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:325
#2:
ffff888144b6d830 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:326
#3: ffffffff8de618a8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xf8/0x480 drivers/net/netdevsim/bus.c:209
#4: ffff88802465a0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#4: ffff88802465a0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline]
#4: ffff88802465a0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x880 drivers/base/dd.c:1283
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ca/0x430 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 20541 Comm: syz-executor Not tainted 6.1.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:lock_accessed kernel/locking/lockdep.c:1523 [inline]
RIP: 0010:__bfs kernel/locking/lockdep.c:1747 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1842 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2782 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3094 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3209 [inline]
RIP: 0010:validate_chain+0x1a87/0x5950 kernel/locking/lockdep.c:3825
Code: 6f 80 76 00 49 8b 1e 48 85 db 0f 84 8a 26 00 00 48 83 c3 4c 49 89 df 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 07 <84> c0 0f 85 6a 03 00 00 44 8b 2d ba 4d c5 11 44 39 2b 0f 84 4f fe
RSP: 0018:ffffc90003506e00 EFLAGS: 00000807
RAX: 0000000000000000 RBX: ffffffff90cd96ec RCX: 1ffffffff27a66c5
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90003506f20
RBP: ffffc900035070b0 R08: dffffc0000000000 R09: fffffbfff225724d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff93d33618
R13: ffff8880742fa9d8 R14: ffffffff93d33628 R15: 1ffffffff219b2dd
FS: 00005555852a5500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005580e338b131 CR3: 0000000046cfd000 CR4: 00000000003506e0
DR0: 0000040000000000 DR1: 020000000000000b DR2: 0000000000000006
DR3: 0000000000000006 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
alloc_object+0x1ba/0x6c0 lib/debugobjects.c:234
lookup_object_or_alloc lib/debugobjects.c:588 [inline]
__debug_object_init+0xe9/0x450 lib/debugobjects.c:623
debug_timer_init kernel/time/timer.c:777 [inline]
debug_init kernel/time/timer.c:825 [inline]
init_timer_key+0x40/0x350 kernel/time/timer.c:869
devl_port_register+0x449/0x5e0 net/devlink/leftover.c:9916
__nsim_dev_port_add+0x3d4/0xc20 drivers/net/netdevsim/dev.c:1387
nsim_dev_port_add_all+0x33/0xe0 drivers/net/netdevsim/dev.c:1454
nsim_drv_probe+0x80e/0xb20 drivers/net/netdevsim/dev.c:1608
really_probe+0x2ab/0xcb0 drivers/base/dd.c:639
__driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:785
driver_probe_device+0x50/0x420 drivers/base/dd.c:815
__device_attach_driver+0x2cf/0x510 drivers/base/dd.c:943
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x359/0x570 drivers/base/dd.c:1015
bus_probe_device+0xba/0x1e0 drivers/base/bus.c:489
device_add+0xb48/0xfd0 drivers/base/core.c:3697
nsim_bus_dev_new drivers/net/netdevsim/bus.c:290 [inline]
new_device_store+0x3e5/0x800 drivers/net/netdevsim/bus.c:167
kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:334
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x857/0xbc0 fs/read_write.c:584
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc78f58bc1f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007ffddd9719f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc78f58bc1f
RDX: 0000000000000003 RSI: 00007ffddd971a40 RDI: 0000000000000005
RBP: 00007fc78f60f521 R08: 0000000000000000 R09: 00007ffddd971847
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffddd971a40 R14: 00007fc7902d4620 R15: 0000000000000003