INFO: task kworker/1:8:5122 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-07919-g6e98b09da931 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:8 state:D stack:25608 pid:5122 ppid:2 flags:0x00004000
Workqueue: events_long flush_mdb
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
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/0x250 kernel/sched/wait_bit.c:117
lock_buffer include/linux/buffer_head.h:400 [inline]
hfs_mdb_commit+0xaf9/0xfd0 fs/hfs/mdb.c:325
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
process_scheduled_works kernel/workqueue.c:2453 [inline]
worker_thread+0xcce/0x1210 kernel/workqueue.c:2542
kthread+0x2b2/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.1:20026 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-07919-g6e98b09da931 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:22440 pid:20026 ppid:5004 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_timeout+0xb0/0x310 kernel/time/timer.c:2143
do_wait_for_common+0x449/0x5f0 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x4a/0x60 kernel/sched/completion.c:138
__flush_work+0x130/0x1b0 kernel/workqueue.c:3174
flush_work kernel/workqueue.c:3195 [inline]
flush_delayed_work+0x14f/0x1a0 kernel/workqueue.c:3319
hfs_file_fsync+0xed/0x140 fs/hfs/inode.c:683
generic_write_sync include/linux/fs.h:2455 [inline]
generic_file_write_iter+0x2a1/0x310 mm/filemap.c:4090
call_write_iter include/linux/fs.h:1854 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7da/0xbf0 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:0x7f95a0e8c169
RSP: 002b:00007f95a1b73168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f95a0fabf80 RCX: 00007f95a0e8c169
RDX: 0000000000000054 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007f95a0ee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc2bfc1bcf R14: 00007f95a1b73300 R15: 0000000000022000
INFO: task syz-executor.1:20033 blocked for more than 144 seconds.
Not tainted 6.3.0-syzkaller-07919-g6e98b09da931 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:29096 pid:20033 ppid:5004 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:0x7f95a0e8c169
RSP: 002b:00007f95a1b52168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f95a0fac050 RCX: 00007f95a0e8c169
RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000004
RBP: 00007f95a0ee7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc2bfc1bcf R14: 00007f95a1b52300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf26030 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf263f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8cf25e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by udevd/4430:
2 locks held by getty/4727:
#0: ffff88814a2f2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
2 locks held by kworker/1:8/5122:
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90004e1fd20 ((work_completion)(&(&sbi->mdb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
2 locks held by kworker/u4:7/5271:
3 locks held by kworker/0:9/5306:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90005477d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
#2: ffffffff8cf2b538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8cf2b538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/0:13/5313:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90005f0fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
1 lock held by syz-executor.5/6141:
#0: ffffffff8cf2b538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8cf2b538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
3 locks held by syz-executor.1/20026:
#0: ffff88802b7c1768 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
#1: ffff888034636460 (sb_writers#24){.+.+}-{0:0}, at: vfs_write+0x27e/0xbf0 fs/read_write.c:580
#2: ffff88802a9c4a28 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#2: ffff88802a9c4a28 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: hfs_file_fsync+0x98/0x140 fs/hfs/inode.c:676
1 lock held by syz-executor.1/20033:
#0: ffff88802b7c1768 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
2 locks held by kworker/u4:6/23157:
#0: ffff8880b983bed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#1: ffff888078ea09b0 (&mm->cid_lock){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline]
#1: ffff888078ea09b0 (&mm->cid_lock){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline]
#1: ffff888078ea09b0 (&mm->cid_lock){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5117 [inline]
#1: ffff888078ea09b0 (&mm->cid_lock){....}-{2:2}, at: context_switch kernel/sched/core.c:5258 [inline]
#1: ffff888078ea09b0 (&mm->cid_lock){....}-{2:2}, at: __schedule+0x12e4/0x4630 kernel/sched/core.c:6625
3 locks held by syz-executor.4/24378:
1 lock held by syz-executor.3/24381:
5 locks held by syz-executor.1/24392:
#0: ffff88801ecf25e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
#1: ffff88814b78c460 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x27e/0xbf0 fs/read_write.c:580
#2: ffff8880b983bed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#3: ffff88801dc15ab0 (&mm->cid_lock#2){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline]
#3: ffff88801dc15ab0 (&mm->cid_lock#2){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline]
#3: ffff88801dc15ab0 (&mm->cid_lock#2){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5117 [inline]
#3: ffff88801dc15ab0 (&mm->cid_lock#2){....}-{2:2}, at: context_switch kernel/sched/core.c:5258 [inline]
#3: ffff88801dc15ab0 (&mm->cid_lock#2){....}-{2:2}, at: __schedule+0x12e4/0x4630 kernel/sched/core.c:6625
#4: ffff888028bc27c0 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xb2/0x1230 kernel/sched/core.c:4162
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-07919-g6e98b09da931 #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+0x2b2/0x350 kernel/kthread.c:379
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: 5003 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller-07919-g6e98b09da931 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:debug_lockdep_rcu_enabled+0xd/0x30 kernel/rcu/update.c:319
Code: 8a 48 c7 c6 80 a0 ea 8a e8 e0 7a ab f6 0f 0b eb d0 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 31 c0 83 3d 8b f4 ac 03 00 <74> 1d 83 3d 0e 28 ad 03 00 74 14 65 48 8b 0d 60 52 5c 75 31 c0 83
RSP: 0018:ffffc90003cff830 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88807ddf3b80
RDX: ffff88807ddf3b80 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8aa3cd2f R09: ffffffff8aa3c890
R10: 0000000000000002 R11: ffff88807ddf3b80 R12: 1ffff9200079ff2d
R13: ffffc90003cff978 R14: dffffc0000000000 R15: 0000000000000000
FS: 0000555555f2f400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020580000 CR3: 0000000040356000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_read_lock_held_common kernel/rcu/update.c:104 [inline]
rcu_read_lock_held+0xa/0x40 kernel/rcu/update.c:348
xa_entry include/linux/xarray.h:1198 [inline]
xas_find+0x5b6/0xaa0 lib/xarray.c:1269
find_get_entry mm/filemap.c:2008 [inline]
find_lock_entries+0x265/0x1100 mm/filemap.c:2109
truncate_inode_pages_range+0x202/0x11d0 mm/truncate.c:364
kill_bdev block/bdev.c:76 [inline]
blkdev_flush_mapping+0x15a/0x2b0 block/bdev.c:585
blkdev_put_whole block/bdev.c:616 [inline]
blkdev_put+0x4b8/0x750 block/bdev.c:876
deactivate_locked_super+0xa4/0x110 fs/super.c:331
cleanup_mnt+0x426/0x4c0 fs/namespace.c:1177
task_work_run+0x24a/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297
do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3d4328d5d7
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff888739a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3d4328d5d7
RDX: 00007fff88873a7b RSI: 000000000000000a RDI: 00007fff88873a70
RBP: 00007fff88873a70 R08: 00000000ffffffff R09: 00007fff88873840
R10: 0000555555f30893 R11: 0000000000000246 R12: 00007f3d432e6cdc
R13: 00007fff88874b30 R14: 0000555555f30810 R15: 00007fff88874b70