------------[ cut here ]------------
WARNING: CPU: 1 PID: 3593 at fs/ext4/page-io.c:231 ext4_put_io_end_defer+0x2d5/0x300 fs/ext4/page-io.c:297
Modules linked in:
CPU: 1 PID: 3593 Comm: syz-executor.3 Not tainted 5.15.155-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:ext4_add_complete_io fs/ext4/page-io.c:231 [inline]
RIP: 0010:ext4_put_io_end_defer+0x2d5/0x300 fs/ext4/page-io.c:297
Code: 65 00 eb 05 e8 ac 5b 5b ff 48 8b 3c 24 48 8b 74 24 08 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d e9 90 1a 02 08 e8 8b 5b 5b ff <0f> 0b e9 b7 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 85 fd ff
RSP: 0018:ffffc90000dd0ad8 EFLAGS: 00010246
RAX: ffffffff82250155 RBX: ffff8880250d8378 RCX: ffff88801c350000
RDX: 0000000080000100 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8880616816b8 R08: ffffffff8224ff00 R09: ffffed100e4a8e5a
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880725472a0
R13: ffff8880250d8000 R14: ffff888061681690 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c002825000 CR3: 0000000062d28000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ext4_end_bio+0x357/0x5b0 fs/ext4/page-io.c:360
req_bio_endio block/blk-core.c:261 [inline]
blk_update_request+0x87c/0x1470 block/blk-core.c:1441
scsi_end_request+0x83/0x980 drivers/scsi/scsi_lib.c:544
scsi_io_completion+0x1fa/0x540 drivers/scsi/scsi_lib.c:940
blk_complete_reqs block/blk-mq.c:587 [inline]
blk_done_softirq+0xf2/0x130 block/blk-mq.c:592
__do_softirq+0x3b3/0x93a kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
common_interrupt+0xa4/0xc0 arch/x86/kernel/irq.c:240
asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:629
RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline]
RIP: 0010:percpu_ref_get_many include/linux/percpu-refcount.h:204 [inline]
RIP: 0010:percpu_ref_get include/linux/percpu-refcount.h:222 [inline]
RIP: 0010:blk_mq_sched_insert_requests+0xf9/0x570 block/blk-mq-sched.c:500
Code: 63 d7 8a be e5 02 00 00 48 c7 c2 00 64 d7 8a e8 5d 9b 71 fd 4d 89 ef 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 00 <74> 08 4c 89 ef e8 cd b2 d8 fd 49 8b 5d 00 48 89 de 48 83 e6 03 31
RSP: 0018:ffffc900048c67d8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffff88801c350000
RDX: 0000000000000000 RSI: ffffffff8ad8f3e0 RDI: ffffffff8ad8f3a0
RBP: ffff88801c626000 R08: ffffffff83f16c84 R09: fffffbfff1f7ec19
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110038c4c29
R13: ffff88801c375590 R14: ffff88801c626148 R15: 1ffff1100386eab2
blk_mq_flush_plug_list+0x5de/0x6b0 block/blk-mq.c:1965
blk_flush_plug_list+0x44b/0x490 block/blk-core.c:1734
blk_mq_submit_bio+0xe7b/0x1c40 block/blk-mq.c:2280
__submit_bio+0x813/0x850 block/blk-core.c:917
__submit_bio_noacct_mq block/blk-core.c:997 [inline]
submit_bio_noacct+0xa44/0xb30 block/blk-core.c:1027
submit_bio+0x2dd/0x560 block/blk-core.c:1089
ext4_io_submit fs/ext4/page-io.c:381 [inline]
io_submit_add_bh fs/ext4/page-io.c:425 [inline]
ext4_bio_write_page+0x1365/0x1cc0 fs/ext4/page-io.c:553
mpage_submit_page+0x18d/0x230 fs/ext4/inode.c:2101
mpage_map_and_submit_buffers fs/ext4/inode.c:2349 [inline]
mpage_map_and_submit_extent fs/ext4/inode.c:2488 [inline]
ext4_writepages+0x204f/0x3d10 fs/ext4/inode.c:2817
do_writepages+0x481/0x730 mm/page-writeback.c:2364
filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400
__filemap_fdatawrite_range mm/filemap.c:433 [inline]
__filemap_fdatawrite mm/filemap.c:439 [inline]
filemap_flush+0x10c/0x150 mm/filemap.c:466
ext4_release_file+0x7d/0x300 fs/ext4/file.c:141
__fput+0x3bf/0x890 fs/file_table.c:280
task_work_run+0x129/0x1a0 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0x6a3/0x2480 kernel/exit.c:872
do_group_exit+0x144/0x310 kernel/exit.c:994
get_signal+0xc66/0x14e0 kernel/signal.c:2889
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320
exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562
asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562
RIP: 0033:0x7f3324519e71
Code: Unable to access opcode bytes at RIP 0x7f3324519e47.
RSP: 002b:0000000020000180 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f3324647f80 RCX: 00007f3324519e69
RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 0000000000800400
RBP: 00007f332456647a R08: 0000000020000240 R09: 0000000020000240
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000000b R14: 00007f3324647f80 R15: 00007fff289984f8
----------------
Code disassembly (best guess):
0: 63 d7 movsxd %edi,%edx
2: 8a be e5 02 00 00 mov 0x2e5(%rsi),%bh
8: 48 c7 c2 00 64 d7 8a mov $0xffffffff8ad76400,%rdx
f: e8 5d 9b 71 fd call 0xfd719b71
14: 4d 89 ef mov %r13,%r15
17: 49 c1 ef 03 shr $0x3,%r15
1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
22: fc ff df
25: 41 80 3c 07 00 cmpb $0x0,(%r15,%rax,1)
* 2a: 74 08 je 0x34 <-- trapping instruction
2c: 4c 89 ef mov %r13,%rdi
2f: e8 cd b2 d8 fd call 0xfdd8b301
34: 49 8b 5d 00 mov 0x0(%r13),%rbx
38: 48 89 de mov %rbx,%rsi
3b: 48 83 e6 03 and $0x3,%rsi
3f: 31 .byte 0x31