INFO: task syz-executor.2:19878 blocked for more than 143 seconds.
Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:23696 pid:19878 tgid:19877 ppid:16052 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
jbd2_log_wait_commit+0x29f/0x4a0 fs/jbd2/journal.c:697
ext4_sync_fs+0x45c/0x710 fs/ext4/super.c:6342
sync_filesystem+0x1c8/0x230 fs/sync.c:66
ext4_quota_off+0xcf/0x520 fs/ext4/super.c:7123
__do_sys_quotactl_fd fs/quota/quota.c:1002 [inline]
__se_sys_quotactl_fd+0x2a1/0x440 fs/quota/quota.c:973
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f99ad07dea9
RSP: 002b:00007f99acbff0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001bb
RAX: ffffffffffffffda RBX: 00007f99ad1abf80 RCX: 00007f99ad07dea9
RDX: 00000000000041c0 RSI: ffffffff80000300 RDI: 000000000000000f
RBP: 00007f99ad0ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f99ad1abf80 R15: 00007ffd9a2dd018
INFO: task syz-executor.4:19885 blocked for more than 143 seconds.
Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25080 pid:19885 tgid:19884 ppid:16984 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2558
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_work+0xa7b/0xc90 kernel/workqueue.c:4218
__lru_add_drain_all+0x504/0x570 mm/swap.c:912
invalidate_bdev+0x93/0xc0 block/bdev.c:95
btrfs_get_bdev_and_sb+0xfb/0x170 fs/btrfs/volumes.c:490
btrfs_open_one_device fs/btrfs/volumes.c:654 [inline]
open_fs_devices+0x2b4/0x1260 fs/btrfs/volumes.c:1193
btrfs_get_tree_super fs/btrfs/super.c:1821 [inline]
btrfs_get_tree+0x504/0x1920 fs/btrfs/super.c:2084
vfs_get_tree+0x90/0x2a0 fs/super.c:1779
fc_mount+0x1b/0xb0 fs/namespace.c:1125
btrfs_get_tree_subvol fs/btrfs/super.c:2047 [inline]
btrfs_get_tree+0x652/0x1920 fs/btrfs/super.c:2085
vfs_get_tree+0x90/0x2a0 fs/super.c:1779
do_new_mount+0x2be/0xb40 fs/namespace.c:3352
do_mount fs/namespace.c:3692 [inline]
__do_sys_mount fs/namespace.c:3898 [inline]
__se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd3a027f5aa
RSP: 002b:00007fd3a0fc4ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd3a0fc4f80 RCX: 00007fd3a027f5aa
RDX: 0000000020022240 RSI: 0000000020022280 RDI: 00007fd3a0fc4f40
RBP: 0000000020022240 R08: 00007fd3a0fc4f80 R09: 0000000002000040
R10: 0000000002000040 R11: 0000000000000202 R12: 0000000020022280
R13: 00007fd3a0fc4f40 R14: 0000000000022215 R15: 0000000020000580
INFO: task syz-executor.0:19887 blocked for more than 144 seconds.
Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:23600 pid:19887 tgid:19886 ppid:16528 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
jbd2_log_wait_commit+0x29f/0x4a0 fs/jbd2/journal.c:697
ext4_fc_commit+0x1d5/0x2060 fs/ext4/fast_commit.c:1199
ext4_fsync_journal fs/ext4/fsync.c:115 [inline]
ext4_sync_file+0x6f2/0xb90 fs/ext4/fsync.c:167
generic_write_sync include/linux/fs.h:2795 [inline]
ext4_buffered_write_iter+0x286/0x350 fs/ext4/file.c:305
ext4_file_write_iter+0x1de/0x1a10
call_write_iter include/linux/fs.h:2110 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0xa84/0xcb0 fs/read_write.c:590
ksys_write+0x1a0/0x2c0 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa73ec7dea9
RSP: 002b:00007fa73fa6b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa73edabf80 RCX: 00007fa73ec7dea9
RDX: 0000000000000009 RSI: 0000000020000000 RDI: 0000000000000009
RBP: 00007fa73ecca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa73edabf80 R15: 00007fff6227c8f8
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
3 locks held by kworker/1:1/44:
2 locks held by getty/4827:
#0: ffff88802ae310a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by syz-fuzzer/5083:
#0: ffff88804c97c0c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191
#1: ffff8880115ae800 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0x436/0x6f0 fs/readdir.c:103
#2: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2459 [inline]
#2: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: iterate_dir+0x5df/0x6f0 fs/readdir.c:113
6 locks held by kworker/1:4/5134:
2 locks held by syz-executor.2/19878:
#0: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88802ace20e0 (&type->s_umount_key#31){++++}-{3:3}, at: __do_sys_quotactl_fd fs/quota/quota.c:998 [inline]
#1: ffff88802ace20e0 (&type->s_umount_key#31){++++}-{3:3}, at: __se_sys_quotactl_fd+0x282/0x440 fs/quota/quota.c:973
1 lock held by syz-executor.1/19883:
1 lock held by syz-executor.1/19888:
2 locks held by syz-executor.4/19885:
#0: ffffffff8e898868 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1805 [inline]
#0: ffffffff8e898868 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2084
#1: ffffffff8e3ec148 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:867
2 locks held by syz-executor.0/19887:
#0: ffff888059888848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191
#1: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline]
#1: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
1 lock held by syz-executor.3/19893:
#0: ffffffff8e898868 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1805 [inline]
#0: ffffffff8e898868 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2084
2 locks held by syz-executor.2/19897:
#0: ffff88806bf8c0e0 (&type->s_umount_key#31){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88806bf8c0e0 (&type->s_umount_key#31){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88806bf8c0e0 (&type->s_umount_key#31){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504
#1: ffffffff8e3ec148 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:867
3 locks held by syz-executor.4/19908:
#0: ffff88804c97d4c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191
#1: ffff88806e141800 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0x436/0x6f0 fs/readdir.c:103
#2: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2459 [inline]
#2: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: iterate_dir+0x5df/0x6f0 fs/readdir.c:113
3 locks held by kworker/0:1/19938:
2 locks held by syz-executor.0/19990:
#0: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453
#1: ffff88802ace6160 (&journal->j_barrier){+.+.}-{3:3}, at: jbd2_journal_lock_updates+0x2b4/0x380 fs/jbd2/transaction.c:904
2 locks held by syz-executor.3/19992:
#0: ffff88802ace2420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88805f723600 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline]
#1: ffff88805f723600 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
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:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 19883 Comm: syz-executor.1 Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:check_preemption_disabled+0x2/0x120 lib/smp_processor_id.c:13
Code: aa 1e 8c 48 c7 c6 80 aa 1e 8c eb 1c 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 <41> 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24
RSP: 0018:ffffc900031afb58 EFLAGS: 00000083
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff819d4eec
RDX: 0000000000000000 RSI: ffffffff8c1eaa80 RDI: ffffffff8c1eaa40
RBP: 0000000000000000 R08: ffffffff8fa7ccef R09: 1ffffffff1f4f99d
R10: dffffc0000000000 R11: fffffbfff1f4f99e R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f38061156c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3804ffef00 CR3: 000000001f284000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:700
trace_irq_disable+0x3b/0x120 include/trace/events/preemptirq.h:36
irqentry_enter+0x39/0x60 kernel/entry/common.c:297
sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 6a 5c f0 f5 48 89 df e8 82 9c f1 f5 e8 dd f6 1a f6 fb bf 01 00 00 00 72 61 e3 f5 65 8b 05 23 7c 81 74 85 c0 74 06 5b c3 cc cc cc cc
RSP: 0018:ffffc900031afc70 EFLAGS: 00000282
RAX: ac8746ee806e5500 RBX: ffff88802867c0c0 RCX: ffffffff946f6603
RDX: dffffc0000000000 RSI: ffffffff8bcab8a0 RDI: 0000000000000001
RBP: ffffc900031afdb0 R08: ffffffff8fa7ccef R09: 1ffffffff1f4f99d
R10: dffffc0000000000 R11: fffffbfff1f4f99e R12: 0000000000000021
R13: 1ffff110050cf8ab R14: ffff88802867c558 R15: ffff88802867c0c0
spin_unlock_irq include/linux/spinlock.h:401 [inline]
get_signal+0x14dd/0x1740 kernel/signal.c:2914
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f380547dea7
Code: 14 25 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 <0f> 05 48 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89
RSP: 002b:00007f38061150c8 EFLAGS: 00000246
RAX: 00000000000000ca RBX: 00007f38055abf80 RCX: 00007f380547dea9
RDX: 0000000000000000 RSI: 0000800000000006 RDI: 0000000020001300
RBP: 00007f38054ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000004d R14: 00007f38055abf80 R15: 00007ffe9c278fa8