INFO: task syz-executor.2:3626 blocked for more than 143 seconds.
Not tainted 5.15.98-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:20608 pid: 3626 ppid: 1 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5023 [inline]
__schedule+0x132d/0x45e0 kernel/sched/core.c:6369
schedule+0x11b/0x1f0 kernel/sched/core.c:6452
wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191
sync_inodes_sb+0x2af/0xa70 fs/fs-writeback.c:2745
sync_filesystem+0x16b/0x220 fs/sync.c:64
generic_shutdown_super+0x6e/0x2c0 fs/super.c:448
kill_block_super+0x7a/0xe0 fs/super.c:1396
deactivate_locked_super+0xa0/0x110 fs/super.c:335
cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
task_work_run+0x129/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x5d/0x2a0 kernel/entry/common.c:300
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7c6833f567
RSP: 002b:00007ffc6ec5aac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f7c6833f567
RDX: 00007ffc6ec5ab9b RSI: 000000000000000a RDI: 00007ffc6ec5ab90
RBP: 00007ffc6ec5ab90 R08: 00000000ffffffff R09: 00007ffc6ec5a960
R10: 00005555571348b3 R11: 0000000000000246 R12: 00007f7c68398b24
R13: 00007ffc6ec5bc50 R14: 0000555557134810 R15: 00007ffc6ec5bc90
Showing all locks held in the system:
4 locks held by kworker/u4:0/9:
#0: ffff888142fdc138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1: ffffc90000ce7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2: ffff8880688a2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x20f/0x1180 fs/xfs/libxfs/xfs_bmap.c:4573
#3: ffff888040505368 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x23c/0x1180 fs/xfs/libxfs/xfs_bmap.c:4578
5 locks held by kworker/0:1/13:
3 locks held by kworker/1:0/21:
#0:
ffff888011c64d38
((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1: ffffc90000db7d20 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2: ffff88804436e400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x56/0xab0 drivers/net/netdevsim/dev.c:760
3 locks held by kworker/1:1/25:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1:
ffffc90000dffd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2:
ffffffff8d9d8628
(rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74
1 lock held by khungtaskd/27:
#0:
ffffffff8c91c660
(
rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:2/154:
3 locks held by kworker/1:2/1065:
#0:
ffff888011c64d38 (
(wq_completion)events
){+.+.}-{0:0}
, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1:
ffffc9000538fd20
((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251
1 lock held by dhcpcd/3170:
#0: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
#0: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x897/0xde0 net/core/rtnetlink.c:5584
2 locks held by getty/3270:
#0: ffff888024f35098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1:
ffffc90002bb32e8
(
&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
2 locks held by syz-executor.2/3626:
#0: ffff8880688a20e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365
#1: ffff88801c5fc7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
#1: ffff88801c5fc7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x290/0xa70 fs/fs-writeback.c:2743
2 locks held by syz-executor.4/3636:
#0:
ffff88801d26a0e0
(
&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365
#1: ffff8881470b67d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
#1: ffff8881470b67d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x290/0xa70 fs/fs-writeback.c:2743
5 locks held by kworker/0:4/3668:
4 locks held by kworker/u4:9/5251:
#0: ffff888142fdc138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1: ffffc90006207d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2: ffff88801d26a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x20f/0x1180 fs/xfs/libxfs/xfs_bmap.c:4573
#3: ffff888040501768 (&xfs_nondir_ilock_class){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x23c/0x1180 fs/xfs/libxfs/xfs_bmap.c:4578
5 locks held by kworker/u4:12/5274:
#0: ffff888011db5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1: ffffc9000b4b7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2: ffffffff8d9cc8d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558
#3: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock_unregistering net/core/dev.c:11545 [inline]
#3: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x1ac/0x3f0 net/core/dev.c:11583
#4: ffffffff8c920ba8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#4: ffffffff8c920ba8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x730 kernel/rcu/tree_exp.h:838
3 locks held by kworker/u4:14/5294:
7 locks held by syz-executor.1/8842:
#0: ffff888025666460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 fs/read_write.c:590
#1: ffff88801f582088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:287
#2: ffff88801ef22008 (kn->active#206){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:288
#3: ffffffff8d355da8
(
nsim_bus_dev_list_lock
){+.+.}-{3:3}, at: del_device_store+0xf1/0x470 drivers/net/netdevsim/bus.c:344
#4:
ffff88804436d178
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:760 [inline]
, at: __device_driver_lock drivers/base/dd.c:1039 [inline]
, at: device_release_driver_internal+0xc2/0x7f0 drivers/base/dd.c:1254
#5: ffff88804436e400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1362 [inline]
#5: ffff88804436e400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0x118/0x240 drivers/net/netdevsim/dev.c:1564
#6: ffffffff8d9d8628 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xa4f/0xc40 net/core/dev.c:10625
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xec6/0xf10 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 :298
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4425 Comm: kworker/1:7 Not tainted 5.15.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: xfs-buf/loop4 xfs_buf_ioend_work
RIP: 0010:irqtime_account_irq+0xb/0x1e0 kernel/sched/cputime.c:51
Code: 05 39 39 f3 0d 01 c3 0f 1f 84 00 00 00 00 00 c6 05 29 39 f3 0d 00 c3 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 50 <41> 89 f7 48 89 fd e8 ea 17 c1 08 89 c3 83 f8 08 0f 83 9d 01 00 00
RSP: 0018:ffffc90000dd0de0 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 0000000004200002 RCX: 1ffff11008139c20
RDX: 1ffff11008139ae5 RSI: 0000000000000100 RDI: ffff8880409cd700
RBP: ffffc90000dd0f30 R08: ffffffff8f4c7040 R09: ffffffff8f4c7048
R10: ffffffff8f4c7058 R11: ffffffff8f4c7050 R12: ffff8880409cd700
R13: 1ffff920001ba1e8 R14: dffffc0000000000 R15: ffffc90000dd0ec0
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557742f13038 CR3: 000000007eccb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
account_softirq_enter include/linux/vtime.h:141 [inline]
__do_softirq+0x17e/0x9fe kernel/softirq.c:536
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909
Code: 0f 84 75 ff ff ff e8 84 03 1a 00 fb 31 db eb 41 e8 7a 03 1a 00 e8 c5 87 b4 08 4d 85 ed 74 cd e8 6b 03 1a 00 fb bb 01 00 00 00 <48> c7 c7 a0 8d 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc9000b0df840 EFLAGS: 00000293
RAX: ffffffff81665125 RBX: 0000000000000001 RCX: ffff8880409cd700
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000b0df910 R08: ffffffff816650de R09: fffffbfff1f58840
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200161bf08
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xa1/0x150 kernel/printk/printk.c:2267
_printk+0xd1/0x111 kernel/printk/printk.c:2289
__xfs_printk fs/xfs/xfs_message.c:24 [inline]
xfs_alert+0x1c8/0x320 fs/xfs/xfs_message.c:52
xfs_buf_verifier_error+0x161/0x290 fs/xfs/xfs_error.c:407
xfs_allocbt_read_verify+0x52/0xc0
xfs_buf_ioend+0x30c/0x7c0 fs/xfs/xfs_buf.c:1263
process_one_work+0x8e6/0x1230 kernel/workqueue.c:2306
worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 :298