INFO: task kworker/u4:4:65 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:4 state:D stack:16640 pid:65 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:2)
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
io_schedule+0x83/0x100 kernel/sched/core.c:8811
folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1297
write_cache_pages+0x47a/0x1340 mm/page-writeback.c:2439
iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1792
xfs_vm_writepages+0x136/0x190 fs/xfs/xfs_aops.c:506
do_writepages+0x3c3/0x680 mm/page-writeback.c:2581
__writeback_single_inode+0xd1/0x670 fs/fs-writeback.c:1598
writeback_sb_inodes+0x812/0x1050 fs/fs-writeback.c:1889
__writeback_inodes_wb+0x11d/0x260 fs/fs-writeback.c:1960
wb_writeback+0x440/0x7b0 fs/fs-writeback.c:2065
wb_check_background_flush fs/fs-writeback.c:2131 [inline]
wb_do_writeback fs/fs-writeback.c:2219 [inline]
wb_workfn+0xb3f/0xef0 fs/fs-writeback.c:2246
process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.2:5803 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:18632 pid:5803 ppid:5111 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
xlog_grant_head_wait+0x317/0x530 fs/xfs/xfs_log.c:307
xlog_grant_head_check+0x28c/0x470
xfs_log_reserve+0x310/0x6f0 fs/xfs/xfs_log.c:486
xfs_trans_reserve+0x231/0x690 fs/xfs/xfs_trans.c:194
xfs_trans_alloc+0x410/0x610 fs/xfs/xfs_trans.c:283
xfs_bmapi_convert_delalloc+0x232/0x12e0 fs/xfs/libxfs/xfs_bmap.c:4521
xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline]
xfs_map_blocks+0xaca/0x1140 fs/xfs/xfs_aops.c:389
iomap_writepage_map+0x486/0x1340 fs/iomap/buffered-io.c:1612
write_cache_pages+0x7cd/0x1340 mm/page-writeback.c:2472
iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1792
xfs_vm_writepages+0x136/0x190 fs/xfs/xfs_aops.c:506
do_writepages+0x3c3/0x680 mm/page-writeback.c:2581
filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:388
__filemap_fdatawrite_range mm/filemap.c:421 [inline]
file_write_and_wait_range+0x219/0x320 mm/filemap.c:777
xfs_file_fsync+0x12e/0x8b0 fs/xfs/xfs_file.c:151
generic_write_sync include/linux/fs.h:2882 [inline]
xfs_file_buffered_write+0x81f/0x990 fs/xfs/xfs_file.c:764
call_write_iter include/linux/fs.h:2186 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7dc/0xc50 fs/read_write.c:584
ksys_write+0x177/0x2a0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7feae168c0a9
RSP: 002b:00007feae2366168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007feae17abf80 RCX: 00007feae168c0a9
RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000004
RBP: 00007feae16e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6e91daaf R14: 00007feae2366300 R15: 0000000000022000
INFO: task syz-executor.2:5837 blocked for more than 144 seconds.
Not tainted 6.2.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:22744 pid:5837 ppid:5111 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
io_schedule+0x83/0x100 kernel/sched/core.c:8811
folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1297
write_cache_pages+0x47a/0x1340 mm/page-writeback.c:2439
iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1792
xfs_vm_writepages+0x136/0x190 fs/xfs/xfs_aops.c:506
do_writepages+0x3c3/0x680 mm/page-writeback.c:2581
filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:388
__filemap_fdatawrite_range mm/filemap.c:421 [inline]
filemap_write_and_wait_range+0x1df/0x2e0 mm/filemap.c:674
xfs_setattr_size+0x297/0xa10 fs/xfs/xfs_iops.c:851
xfs_vn_setattr+0x257/0x310 fs/xfs/xfs_iops.c:1017
notify_change+0xe50/0x1100 fs/attr.c:482
do_truncate+0x200/0x2f0 fs/open.c:65
do_sys_ftruncate+0x2b0/0x350 fs/open.c:193
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7feae168c0a9
RSP: 002b:00007feae2345168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007feae17ac050 RCX: 00007feae168c0a9
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000000004
RBP: 00007feae16e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6e91daaf R14: 00007feae2345300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d326e90 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d327690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d326cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/46:
#0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537
#1: ffff8880b9827748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x57b/0x9a0 kernel/sched/psi.c:964
3 locks held by kworker/u4:4/65:
#0: ffff888145284938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0
#1: ffffc900015d7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264
#2: ffff888022cc20e0 (&type->s_umount_key#55){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415
2 locks held by getty/4747:
#0: ffff88802c21b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
3 locks held by syz-executor.2/5803:
#0: ffff88802b4dd768 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x242/0x2e0 fs/file.c:1046
#1: ffff888022cc2460 (sb_writers#15){.+.+}-{0:0}, at: vfs_write+0x287/0xc50 fs/read_write.c:580
#2: ffff888022cc2650 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x232/0x12e0 fs/xfs/libxfs/xfs_bmap.c:4521
3 locks held by syz-executor.2/5837:
#0: ffff888022cc2460 (sb_writers#15){.+.+}-{0:0}, at: do_sys_ftruncate+0x243/0x350 fs/open.c:190
#1: ffff888076b88338 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888076b88338 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: do_truncate+0x1ec/0x2f0 fs/open.c:63
#2: ffff888076b884d8 (mapping.invalidate_lock#4){++++}-{3:3}, at: xfs_ilock+0xee/0x1a0 fs/xfs/xfs_inode.c:203
2 locks held by syz-executor.0/6048:
#0: ffff888022cc20e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722
#1: ffff88801e72c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801e72c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2723
2 locks held by syz-executor.0/6218:
#0: ffff888022cc20e0 (&type->s_umount_key#55){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722
#1: ffff88801e72c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801e72c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x264/0xaa0 fs/fs-writeback.c:2723
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5871 Comm: kworker/u4:7 Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: phy8 ieee80211_iface_work
RIP: 0010:_ieee802_11_parse_elems_full+0x1193/0x3bd0 net/mac80211/util.c:1192
Code: 24 10 01 00 00 0f 8c 1d 0a 00 00 e8 e7 d5 a6 f7 48 8b bc 24 10 01 00 00 e9 0b 0a 00 00 e8 d5 2d 51 f7 48 8b bc 24 60 02 00 00 <48> 89 f8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 80 3c 38 00
RSP: 0018:ffffc9000c26f280 EFLAGS: 00000293
RAX: ffffffff8a3aad9b RBX: ffff8880336d5c8f RCX: ffff8880338257c0
RDX: 0000000000000000 RSI: ffffffff8e724650 RDI: ffff888029bff068
RBP: ffffc9000c26f650 R08: 0000000000000001 R09: ffffffff8a3aa5aa
R10: 000000000000002b R11: ffff8880338257c0 R12: 0000000000000032
R13: ffffc9000c26fb00 R14: ffff8880336d5c8e R15: 0000000000000006
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0007c200c CR3: 000000000d08e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee802_11_parse_elems_full+0xe0d/0x2400 net/mac80211/util.c:1674
ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2260 [inline]
ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2267 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline]
ieee80211_ibss_rx_queued_mgmt+0x4da/0x2c40 net/mac80211/ibss.c:1638
ieee80211_iface_process_skb net/mac80211/iface.c:1581 [inline]
ieee80211_iface_work+0x773/0xcf0 net/mac80211/iface.c:1635
process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308