INFO: task kworker/u4:17:14733 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:kworker/u4:17 state:D stack:23224 pid:14733 ppid: 2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:1)
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
rwsem_down_write_slowpath+0xf36/0x1610 kernel/locking/rwsem.c:1158
__down_write_common kernel/locking/rwsem.c:1278 [inline]
__down_write kernel/locking/rwsem.c:1287 [inline]
down_write+0x164/0x170 kernel/locking/rwsem.c:1534
f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529
f2fs_write_inode+0x4c3/0x540 fs/f2fs/inode.c:725
write_inode fs/fs-writeback.c:1475 [inline]
__writeback_single_inode+0x7b4/0x1180 fs/fs-writeback.c:1680
writeback_sb_inodes+0xc14/0x1af0 fs/fs-writeback.c:1905
__writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:1976
wb_writeback+0x4b1/0xe60 fs/fs-writeback.c:2081
wb_check_old_data_flush fs/fs-writeback.c:2181 [inline]
wb_do_writeback fs/fs-writeback.c:2234 [inline]
wb_workfn+0xc27/0x10d0 fs/fs-writeback.c:2263
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
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91c660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3273:
#0: ffff888023edc098 (&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
4 locks held by kworker/u4:17/14733:
#0: ffff888142bac138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x1230 kernel/workqueue.c:2279
#1: ffffc90004b2fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7cd/0x1230 kernel/workqueue.c:2281
#2: ffff88807f2840e0 (&type->s_umount_key#86){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418
#3: ffff8880491ed108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:529
2 locks held by syz-executor.1/20327:
=============================================
NMI backtrace for cpu 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4743 Comm: kworker/0:11 Not tainted 5.15.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:trace_irq_enable_rcuidle+0x19/0x190 include/trace/events/preemptirq.h:40
Code: 12 94 08 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 41 57 41 56 53 49 89 f6 48 89 fb e8 bf 8d f9 ff 66 90 e8 b8 8d f9 ff 5b <41> 5e 41 5f 5d c3 65 8b 2d 6a 4e 7b 7e bf 07 00 00 00 89 ee e8 fe
RSP: 0018:ffffc900047e78b0 EFLAGS: 00000093
RAX: ffffffff8186c6d8 RBX: 0000000000000000 RCX: ffff888049b10000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8a242e6b
RBP: ffffc900047e7980 R08: ffffffff8186c670 R09: fffffbfff22a9412
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff920008fcf1c R14: 0000000000000000 R15: 0000000000000246
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f37ec9001b8 CR3: 0000000044a12000 CR4: 00000000003526f0
DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
_raw_spin_unlock_irqrestore+0x8b/0x130 kernel/locking/spinlock.c:194
__debug_check_no_obj_freed lib/debugobjects.c:1009 [inline]
debug_check_no_obj_freed+0x58d/0x610 lib/debugobjects.c:1030
slab_free_hook mm/slub.c:1680 [inline]
slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kfree+0x10c/0x2d0 mm/slub.c:4559
skb_free_head net/core/skbuff.c:655 [inline]
skb_release_data+0x73a/0x8a0 net/core/skbuff.c:677
skb_release_all net/core/skbuff.c:742 [inline]
__kfree_skb net/core/skbuff.c:756 [inline]
consume_skb+0xa3/0x140 net/core/skbuff.c:914
nsim_dev_trap_report drivers/net/netdevsim/dev.c:740 [inline]
nsim_dev_trap_report_work+0x788/0xab0 drivers/net/netdevsim/dev.c:765
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