loop0: detected capacity change from 49152 to 5 JBD2: syz.0.0 wants too many credits credits:2076 rsv_credits:0 max:337 ------------[ cut here ]------------ 1 WARNING: fs/jbd2/transaction.c:334 at start_this_handle+0x1e3f/0x21f0 fs/jbd2/transaction.c:334, CPU#0: syz.0.0/5338 Modules linked in: CPU: 0 UID: 0 PID: 5338 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:start_this_handle+0x1e3f/0x21f0 fs/jbd2/transaction.c:334 Code: 8b 35 cd c8 2f 12 48 81 c6 20 09 00 00 48 c7 c7 e0 8c 48 8c 48 8b 94 24 90 00 00 00 48 8b 4c 24 38 41 89 d8 e8 42 db 73 fe 90 <0f> 0b 90 b8 e4 ff ff ff e9 35 fe ff ff e8 ef 5c 15 ff eb 05 e8 e8 RSP: 0018:ffffc9000f8671e0 EFLAGS: 00010246 RAX: 0000000000000047 RBX: 0000000000000151 RCX: a397677822e5c000 RDX: ffffc90020001000 RSI: 000000000000072f RDI: 0000000000000730 RBP: ffffc9000f8674c0 R08: ffffc9000f866f67 R09: 1ffff92001f0cdec R10: dffffc0000000000 R11: fffff52001f0cded R12: 0000000000000000 R13: 0000000000000c40 R14: dffffc0000000000 R15: 000000000000081c FS: 00007f77572c26c0(0000) GS:ffff88808a9e5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12d42e3e18 CR3: 0000000014b85000 CR4: 0000000000352ef0 Call Trace: jbd2__journal_start+0x2c0/0x5d0 fs/jbd2/transaction.c:502 __ext4_journal_start_sb+0x205/0x780 fs/ext4/ext4_jbd2.c:129 __ext4_journal_start fs/ext4/ext4_jbd2.h:238 [inline] ext4_write_begin+0x953/0x1900 fs/ext4/inode.c:1523 generic_perform_write+0x359/0x9e0 mm/filemap.c:4417 ext4_buffered_write_iter+0x15c/0x540 fs/ext4/file.c:380 ext4_file_write_iter+0xae4/0x1cd0 fs/ext4/file.c:-1 aio_write+0x5cc/0x870 fs/aio.c:1697 __io_submit_one fs/aio.c:-1 [inline] io_submit_one+0x798/0x13d0 fs/aio.c:2121 __do_sys_io_submit fs/aio.c:2180 [inline] __se_sys_io_submit+0x195/0x340 fs/aio.c:2150 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f77563a9b59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f77572c1fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f7756636098 RCX: 00007f77563a9b59 RDX: 0000200000009240 RSI: 0000000000000001 RDI: 00007f77572a0000 RBP: 00007f775643a18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7756636130 R14: 00007f7756636098 R15: 00007ffc95795398