INFO: task kworker/u4:1:11 blocked for more than 143 seconds.
Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:1 state:D stack:20320 pid:11 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:1)
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
io_schedule+0x8c/0x100 kernel/sched/core.c:8887
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
folio_lock include/linux/pagemap.h:952 [inline]
write_cache_pages+0x570/0x12c0 mm/page-writeback.c:2440
iomap_writepages+0x68/0x240 fs/iomap/buffered-io.c:1820
xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513
do_writepages+0x3a6/0x670 mm/page-writeback.c:2551
__writeback_single_inode+0x155/0xfb0 fs/fs-writeback.c:1603
writeback_sb_inodes+0x8ef/0x11d0 fs/fs-writeback.c:1894
__writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1965
wb_writeback+0x46c/0xc70 fs/fs-writeback.c:2070
wb_check_background_flush fs/fs-writeback.c:2136 [inline]
wb_do_writeback fs/fs-writeback.c:2224 [inline]
wb_workfn+0xc6f/0xff0 fs/fs-writeback.c:2251
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.1:16116 blocked for more than 143 seconds.
Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:22056 pid:16116 ppid:5959 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
xlog_grant_head_wait+0x387/0x910 fs/xfs/xfs_log.c:307
xlog_grant_head_check+0x299/0x480
xfs_log_reserve+0x3c4/0xb10 fs/xfs/xfs_log.c:486
xfs_trans_reserve+0x239/0x6a0 fs/xfs/xfs_trans.c:194
xfs_trans_alloc+0x423/0x810 fs/xfs/xfs_trans.c:283
xfs_bmapi_convert_delalloc+0x267/0x1310 fs/xfs/libxfs/xfs_bmap.c:4487
xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline]
xfs_map_blocks+0x780/0x1090 fs/xfs/xfs_aops.c:389
iomap_writepage_map fs/iomap/buffered-io.c:1641 [inline]
iomap_do_writepage+0x941/0x2ee0 fs/iomap/buffered-io.c:1803
write_cache_pages+0x89e/0x12c0 mm/page-writeback.c:2473
iomap_writepages+0x68/0x240 fs/iomap/buffered-io.c:1820
xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513
do_writepages+0x3a6/0x670 mm/page-writeback.c:2551
filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390
__filemap_fdatawrite_range mm/filemap.c:423 [inline]
file_write_and_wait_range+0x20f/0x300 mm/filemap.c:781
xfs_file_fsync+0x1c6/0xa50 fs/xfs/xfs_file.c:151
generic_write_sync include/linux/fs.h:2452 [inline]
xfs_file_buffered_write+0xa0e/0xb50 fs/xfs/xfs_file.c:764
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b2/0xbb0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6ed08c169
RSP: 002b:00007ff6edd79168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff6ed1abf80 RCX: 00007ff6ed08c169
RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000004
RBP: 00007ff6ed0e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd98ab522f R14: 00007ff6edd79300 R15: 0000000000022000
INFO: task syz-executor.1:16215 blocked for more than 144 seconds.
Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:29592 pid:16215 ppid:5959 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
__fdget_pos+0x254/0x2f0 fs/file.c:1047
fdget_pos include/linux/file.h:73 [inline]
ksys_write+0x82/0x2c0 fs/read_write.c:628
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6ed08c169
RSP: 002b:00007ff6edd58168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff6ed1ac050 RCX: 00007ff6ed08c169
RDX: 0000000000000b1a RSI: 00000000200004c0 RDI: 0000000000000004
RBP: 00007ff6ed0e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd98ab522f R14: 00007ff6edd58300 R15: 0000000000022000
INFO: task syz-executor.1:16218 blocked for more than 144 seconds.
Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:26968 pid:16218 ppid:5959 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
xlog_grant_head_wait+0x387/0x910 fs/xfs/xfs_log.c:307
xlog_grant_head_check+0x299/0x480
xfs_log_reserve+0x3c4/0xb10 fs/xfs/xfs_log.c:486
xfs_trans_reserve+0x239/0x6a0 fs/xfs/xfs_trans.c:194
xfs_trans_alloc+0x423/0x810 fs/xfs/xfs_trans.c:283
xfs_vn_update_time+0x1f7/0x540 fs/xfs/xfs_iops.c:1052
inode_update_time fs/inode.c:1872 [inline]
__file_update_time+0xc1/0x240 fs/inode.c:2058
file_modified_flags+0x3e5/0x480 fs/inode.c:2131
xfs_file_write_checks+0x90b/0xae0 fs/xfs/xfs_file.c:420
xfs_file_buffered_write+0x1fd/0xb50 fs/xfs/xfs_file.c:716
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b2/0xbb0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff6ed08c169
RSP: 002b:00007ff6edd37168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff6ed1ac120 RCX: 00007ff6ed08c169
RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000005
RBP: 00007ff6ed0e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd98ab522f R14: 00007ff6edd37300 R15: 0000000000022000
Showing all locks held in the system:
3 locks held by kworker/u4:1/11:
#0: ffff8880177ec138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90000107d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
#2: ffff888035d700e0 (&type->s_umount_key#68){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf25570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf25d70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8cf253a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4741:
#0: ffff88814a7bf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
2 locks held by kworker/u4:9/7509:
#0: ffff8880b983be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#1: ffffc900100efd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
3 locks held by syz-executor.1/16116:
#0: ffff888020ed8ae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
#1: ffff888035d70460 (sb_writers#21){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580
#2: ffff888035d70650 (sb_internal#4){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x267/0x1310 fs/xfs/libxfs/xfs_bmap.c:4487
1 lock held by syz-executor.1/16215:
#0: ffff888020ed8ae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
4 locks held by syz-executor.1/16218:
#0: ffff88807dbbcd68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
#1: ffff888035d70460 (sb_writers#21){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580
#2: ffff888039ae0af8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: xfs_ilock+0xf2/0x3a0 fs/xfs/xfs_inode.c:195
#3: ffff888035d70650 (sb_internal#4){.+.+}-{0:0}, at: xfs_vn_update_time+0x1f7/0x540 fs/xfs/xfs_iops.c:1052
2 locks held by syz-executor.1/19571:
#0: ffff888035d700e0 (&type->s_umount_key#68){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743
#1: ffff88801e3a87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801e3a87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2728
2 locks held by syz-executor.1/19626:
#0: ffff888035d700e0 (&type->s_umount_key#68){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743
#1: ffff88801e3a87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801e3a87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2728
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x270/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: 5215 Comm: kworker/u4:6 Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: 0x0 (events_unbound)
RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4731 [inline]
RIP: 0010:__lock_acquire+0x51b/0x1f80 kernel/locking/lockdep.c:5006
Code: fa 20 43 10 00 0f 84 6d 05 00 00 31 db 48 81 c3 b8 00 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 5e 12 00 00 0f b6 2b <41> 0f b6 04 17 84 c0 0f 85 72 12 00 00 41 8b 1e 81 e3 ff 1f 00 00
RSP: 0018:ffffc900047df920 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff8ffd2178 RCX: ffffffff816a1f85
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff902dc1c0
RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff205b839
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801ea144b0
R13: ffff88801ea13a80 R14: ffff88801ea14500 R15: 1ffff11003d428a0
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562ab1d70150 CR3: 000000000cd30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1e1/0x520 kernel/locking/lockdep.c:5669
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
debug_object_deactivate+0x65/0x420 lib/debugobjects.c:739
debug_work_deactivate kernel/workqueue.c:518 [inline]
process_one_work+0x341/0x10e0 kernel/workqueue.c:2320
worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308