INFO: task kworker/u4:4:59 blocked for more than 143 seconds.
Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:4 state:D stack:19536 pid:59 tgid:59 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:0)
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x177f/0x49a0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874
rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306
f2fs_down_write fs/f2fs/f2fs.h:2138 [inline]
f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437
f2fs_write_inode+0x3f0/0x470 fs/f2fs/inode.c:794
write_inode fs/fs-writeback.c:1473 [inline]
__writeback_single_inode+0x69f/0xfd0 fs/fs-writeback.c:1690
writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916
__writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1987
wb_writeback+0x461/0xc80 fs/fs-writeback.c:2094
wb_check_old_data_flush fs/fs-writeback.c:2198 [inline]
wb_do_writeback fs/fs-writeback.c:2251 [inline]
wb_workfn+0xb7c/0xfb0 fs/fs-writeback.c:2279
process_one_work kernel/workqueue.c:2633 [inline]
process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706
worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
4 locks held by kworker/u4:4/59:
#0: ffff8880192dd938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff8880192dd938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc900015a7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc900015a7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:566
#3: ffff8880256692a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2138 [inline]
#3: ffff8880256692a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437
2 locks held by getty/4812:
#0: ffff88802b8990a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
6 locks held by syz-executor.0/12451:
2 locks held by syz-executor.3/13800:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
2 locks held by syz-executor.4/13900:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
2 locks held by syz-executor.1/14098:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
2 locks held by syz-executor.3/14146:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
2 locks held by syz-executor.4/14226:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1:
ffff8880206f07d0
(
&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
2 locks held by syz-executor.3/14456:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
2 locks held by syz-executor.4/14578:
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880362f00e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880206f07d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4500 Comm: klogd Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:236 [inline]
RIP: 0010:__sanitizer_cov_trace_switch+0xbb/0x120 kernel/kcov.c:341
Code: c2 49 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 55 4c 70 7e a9 00 01 ff 00 74 11 a9 00 01 00 00 74 de 41 83 bb fc 15 00 00 00 74 d4 <41> 8b 83 d8 15 00 00 83 f8 03 75 c8 49 8b 8b e0 15 00 00 45 8b bb
RSP: 0018:ffffc9000318f020 EFLAGS: 00000246
RAX: 0000000080000001 RBX: 0000000000000002 RCX: ffff8880791f9dc0
RDX: 0000000000000001 RSI: ffffffff8dfa01e0 RDI: 0000000000000002
RBP: ffffffff907f92d8 R08: 0000000000000003 R09: ffffffff81405417
R10: 0000000000000002 R11: ffff8880791f9dc0 R12: ffffffff8fe5d4d0
R13: dffffc0000000000 R14: 0000000000000001 R15: ffffffff907f92d4
FS: 00007fc684525380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00467a000 CR3: 000000002cc7c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x6c7/0x29e0 arch/x86/kernel/unwind_orc.c:505
arch_stack_walk+0x150/0x1b0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x117/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
kasan_save_free_info+0x4e/0x60 mm/kasan/generic.c:643
poison_slab_object+0xa6/0xe0 mm/kasan/common.c:241
__kasan_slab_free+0x34/0x70 mm/kasan/common.c:257
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2121 [inline]
slab_free mm/slub.c:4299 [inline]
kfree+0x14a/0x380 mm/slub.c:4409
memcg_free_slab_cgroups mm/slub.c:1887 [inline]
unaccount_slab mm/slub.c:2327 [inline]
__free_slab+0xbc/0x270 mm/slub.c:2423
__slab_free+0x349/0x410 mm/slub.c:4211
qlink_free mm/kasan/quarantine.c:160 [inline]
qlist_free_all+0x6d/0xd0 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:283
__kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:380
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slub.c:3981 [inline]
__kmalloc_node_track_caller+0x249/0x4e0 mm/slub.c:4001
kmalloc_reserve+0xf3/0x260 net/core/skbuff.c:582
__alloc_skb+0x1b1/0x420 net/core/skbuff.c:651
alloc_skb include/linux/skbuff.h:1296 [inline]
alloc_skb_with_frags+0xc3/0x780 net/core/skbuff.c:6394
sock_alloc_send_pskb+0x919/0xa60 net/core/sock.c:2783
unix_dgram_sendmsg+0x696/0x2200 net/unix/af_unix.c:1959
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:745
__sys_sendto+0x3a4/0x4f0 net/socket.c:2191
__do_sys_sendto net/socket.c:2203 [inline]
__se_sys_sendto net/socket.c:2199 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2199
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7fc6846879b5
Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc6c6de3c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fc6846879b5
RDX: 0000000000000049 RSI: 0000559c3e2421d0 RDI: 0000000000000003
RBP: 0000559c3e23a910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013
R13: 00007fc684815212 R14: 00007ffc6c6de4c8 R15: 0000000000000000