INFO: task syz-executor.1:12214 blocked for more than 143 seconds.
Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27200 pid:12214 ppid: 3685 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0xab2/0x4db0 kernel/sched/core.c:6295
schedule+0xd2/0x260 kernel/sched/core.c:6368
wb_wait_for_completion+0x17e/0x240 fs/fs-writeback.c:190
__writeback_inodes_sb_nr+0x1d7/0x280 fs/fs-writeback.c:2623
try_to_writeback_inodes_sb+0x94/0xc0 fs/fs-writeback.c:2671
ext4_nonda_switch+0x1aa/0x1f0 fs/ext4/inode.c:2894
ext4_da_write_begin+0x176/0xad0 fs/ext4/inode.c:2921
generic_perform_write+0x205/0x510 mm/filemap.c:3765
ext4_buffered_write_iter+0x1a2/0x390 fs/ext4/file.c:268
ext4_file_write_iter+0x423/0x14d0 fs/ext4/file.c:677
call_write_iter include/linux/fs.h:2074 [inline]
new_sync_write+0x431/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0a238f9059
RSP: 002b:00007f0a2226e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0a23a0bf60 RCX: 00007f0a238f9059
RDX: 00000000ffffff6a RSI: 0000000020000000 RDI: 0000000000000053
RBP: 00007f0a2395308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd51ba448f R14: 00007f0a2226e300 R15: 0000000000022000
INFO: task syz-executor.1:12219 blocked for more than 143 seconds.
Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:25912 pid:12219 ppid: 3685 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0xab2/0x4db0 kernel/sched/core.c:6295
schedule+0xd2/0x260 kernel/sched/core.c:6368
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1515
inode_lock include/linux/fs.h:777 [inline]
ext4_buffered_write_iter+0xb0/0x390 fs/ext4/file.c:262
ext4_file_write_iter+0x423/0x14d0 fs/ext4/file.c:677
call_write_iter include/linux/fs.h:2074 [inline]
new_sync_write+0x431/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0a238f9059
RSP: 002b:00007f0a2222c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0a23a0c100 RCX: 00007f0a238f9059
RDX: 00000000000101bf RSI: 0000000020000380 RDI: 0000000000000054
RBP: 00007f0a2395308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd51ba448f R14: 00007f0a2222c300 R15: 0000000000022000
INFO: task syz-executor.1:12225 blocked for more than 144 seconds.
Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:28920 pid:12225 ppid: 3685 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0xab2/0x4db0 kernel/sched/core.c:6295
schedule+0xd2/0x260 kernel/sched/core.c:6368
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1625
inode_lock_nested include/linux/fs.h:812 [inline]
lock_two_nondirectories+0xd1/0x110 fs/inode.c:1124
ext4_move_extents+0x369/0x3ee0 fs/ext4/move_extent.c:603
__ext4_ioctl+0x33e3/0x57e0 fs/ext4/ioctl.c:1285
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0a238f9059
RSP: 002b:00007f0a221ea168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0a23a0c2a0 RCX: 00007f0a238f9059
RDX: 0000000020000180 RSI: 00000000c028660f RDI: 0000000000000054
RBP: 00007f0a2395308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd51ba448f R14: 00007f0a221ea300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83c20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
2 locks held by getty/3274:
#0: ffff88814a712098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077
4 locks held by kworker/u4:8/5520:
2 locks held by syz-executor.1/12211:
4 locks held by syz-executor.1/12214:
#0: ffff88806d00f4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:1034
#1: ffff88807f602460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:643
#2: ffff888073ff7198 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline]
#2: ffff888073ff7198 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x390 fs/ext4/file.c:262
#3: ffff88807f6020e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xc0 fs/fs-writeback.c:2668
3 locks held by syz-executor.1/12219:
#0: ffff88806d00e370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:1034
#1: ffff88807f602460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:643
#2: ffff8880604f97e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline]
#2: ffff8880604f97e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x390 fs/ext4/file.c:262
3 locks held by syz-executor.1/12225:
#0: ffff88807f602460 (sb_writers#5){.+.+}-{0:0}, at: __ext4_ioctl+0x3399/0x57e0 fs/ext4/ioctl.c:1281
#1: ffff8880604f97e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline]
#1: ffff8880604f97e0 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: lock_two_nondirectories+0xec/0x110 fs/inode.c:1122
#2: ffff888073ff7198 (&sb->s_type->i_mutex_key#10/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:812 [inline]
#2: ffff888073ff7198 (&sb->s_type->i_mutex_key#10/4){+.+.}-{3:3}, at: lock_two_nondirectories+0xd1/0x110 fs/inode.c:1124
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 12211 Comm: syz-executor.1 Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lock_is_held_type+0x0/0x140 kernel/locking/lockdep.c:5667
Code: 48 c7 c6 e0 60 ac 89 48 c7 c7 60 5d ac 89 89 44 24 04 e8 50 14 bc ff 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 <41> 57 41 56 41 55 41 bd ff ff ff ff 41 54 55 53 48 83 ec 08 8b 0d
RSP: 0018:ffffc9000547f248 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff815d53d1
RDX: 1ffffffff1771a56 RSI: 00000000ffffffff RDI: ffffffff8bb83b60
RBP: 1ffff92000a8fe4e R08: 0000000000000000 R09: ffffffff8d93d1d7
R10: fffffbfff1b27a3a R11: 0000000000000001 R12: 0000000000000001
R13: ffff88806dddba00 R14: ffff8880b9d39c40 R15: ffff8880b9d3a678
FS: 00005555569cf400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00b07a910 CR3: 00000000741c7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x522/0x720 kernel/locking/lockdep.c:5650
__raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
_raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186
raw_spin_rq_unlock_irq kernel/sched/sched.h:1329 [inline]
finish_lock_switch kernel/sched/core.c:4746 [inline]
finish_task_switch.isra.0+0x314/0xb80 kernel/sched/core.c:4864
context_switch kernel/sched/core.c:4989 [inline]
__schedule+0xaba/0x4db0 kernel/sched/core.c:6295
schedule+0xd2/0x260 kernel/sched/core.c:6368
io_schedule+0xee/0x170 kernel/sched/core.c:8407
folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1322
lock_page include/linux/pagemap.h:792 [inline]
mpage_prepare_extent_to_map+0xa40/0xe60 fs/ext4/inode.c:2578
ext4_writepages+0x12af/0x3b90 fs/ext4/inode.c:2776
do_writepages+0x1ab/0x690 mm/page-writeback.c:2364
filemap_fdatawrite_wbc mm/filemap.c:384 [inline]
filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:374
__filemap_fdatawrite_range mm/filemap.c:417 [inline]
__filemap_fdatawrite mm/filemap.c:423 [inline]
filemap_flush+0x8f/0xc0 mm/filemap.c:450
ext4_alloc_da_blocks+0x1ed/0x330 fs/ext4/inode.c:3086
ext4_release_file+0x183/0x370 fs/ext4/file.c:141
__fput+0x286/0x9f0 fs/file_table.c:311
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0a238abc9b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffd51ba44f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f0a238abc9b
RDX: 0000001b31e20000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f0a23a0d960 R08: 0000000000000000 R09: 00007ffd51bce080
R10: 00007ffd51bce090 R11: 0000000000000293 R12: 000000000004220d
R13: 00007ffd51ba45f0 R14: 00007f0a23a0c370 R15: 0000000000000032
----------------
Code disassembly (best guess):
0: 48 c7 c6 e0 60 ac 89 mov $0xffffffff89ac60e0,%rsi
7: 48 c7 c7 60 5d ac 89 mov $0xffffffff89ac5d60,%rdi
e: 89 44 24 04 mov %eax,0x4(%rsp)
12: e8 50 14 bc ff callq 0xffbc1467
17: 0f 0b ud2
19: 8b 44 24 04 mov 0x4(%rsp),%eax
1d: eb bd jmp 0xffffffdc
1f: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
26: 00 00 00 00
* 2a: 41 57 push %r15 <-- trapping instruction
2c: 41 56 push %r14
2e: 41 55 push %r13
30: 41 bd ff ff ff ff mov $0xffffffff,%r13d
36: 41 54 push %r12
38: 55 push %rbp
39: 53 push %rbx
3a: 48 83 ec 08 sub $0x8,%rsp
3e: 8b .byte 0x8b
3f: 0d .byte 0xd