loop2: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4_jbd2.c:53! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2545 Comm: syz.2.451 Not tainted 6.1.138-syzkaller-00010-gba4506940166 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline] RIP: 0010:__ext4_journal_stop+0x192/0x1a0 fs/ext4/ext4_jbd2.c:116 Code: c3 e8 92 5f 8e ff e9 f7 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 ff ff ff e8 88 b7 d2 ff e9 0a ff ff ff e8 6e 5f 8e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000a37738 EFLAGS: 00010293 RAX: ffffffff81e191a2 RBX: 0000000000000000 RCX: ffff8881141b1440 RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff8640f056 RBP: ffffc90000a37770 R08: dffffc0000000000 R09: ffffed1022ce1f1e R10: ffffed1022ce1f1e R11: 1ffff11022ce1f1d R12: 1ffff11021fa6f3a R13: ffff88810fd379d0 R14: 000000000000032c R15: ffffffff8640f056 FS: 00007f6b3a29d6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 0000000102347000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x7b8/0xa90 fs/ext4/inline.c:812 ext4_da_write_end+0x1ce/0x8c0 fs/ext4/inode.c:3093 generic_perform_write+0x3a2/0x6d0 mm/filemap.c:3893 ext4_buffered_write_iter+0x36f/0x660 fs/ext4/file.c:285 ext4_file_write_iter+0x18f/0x13d0 fs/ext4/file.c:-1 call_write_iter include/linux/fs.h:2282 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5db/0xca0 fs/read_write.c:584 ksys_write+0x140/0x240 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6b3938e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6b3a29d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6b395b5fa0 RCX: 00007f6b3938e929 RDX: 0000000000000004 RSI: 0000200000000180 RDI: 0000000000000004 RBP: 00007f6b39410b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6b395b5fa0 R15: 00007ffd700cecc8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline] RIP: 0010:__ext4_journal_stop+0x192/0x1a0 fs/ext4/ext4_jbd2.c:116 Code: c3 e8 92 5f 8e ff e9 f7 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 ff ff ff e8 88 b7 d2 ff e9 0a ff ff ff e8 6e 5f 8e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000a37738 EFLAGS: 00010293 RAX: ffffffff81e191a2 RBX: 0000000000000000 RCX: ffff8881141b1440 RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff8640f056 RBP: ffffc90000a37770 R08: dffffc0000000000 R09: ffffed1022ce1f1e R10: ffffed1022ce1f1e R11: 1ffff11022ce1f1d R12: 1ffff11021fa6f3a R13: ffff88810fd379d0 R14: 000000000000032c R15: ffffffff8640f056 FS: 00007f6b3a29d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78d71f7000 CR3: 0000000102347000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400