loop0: detected capacity change from 0 to 40427 F2FS-fs (loop0): build fault injection attr: rate: 771, type: 0x3fffff F2FS-fs (loop0): invalid crc value F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5 syz.0.0: attempt to access beyond end of device loop0: rw=2049, sector=45096, nr_sectors = 16 limit=40427 syz.0.0: attempt to access beyond end of device loop0: rw=2049, sector=45112, nr_sectors = 64 limit=40427 F2FS-fs (loop0): inject inconsistent footer in sanity_check_node_footer of f2fs_get_inode_folio fs/f2fs/node.c:1547 [inline] F2FS-fs (loop0): inject inconsistent footer in sanity_check_node_footer of f2fs_get_inode_page fs/f2fs/node.c:1552 [inline] F2FS-fs (loop0): inject inconsistent footer in sanity_check_node_footer of f2fs_get_dnode_of_data+0x25f/0x2570 fs/f2fs/node.c:781 F2FS-fs (loop0): inconsistent node block, node_type:1, nid:10, node_footer[nid:10,ino:10,ofs:0,cpver:10241045589465957861,blkaddr:4615] ------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:2586! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.15.0-rc2-syzkaller-00087-gcfb2e2c57aef #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:f2fs_invalidate_blocks+0xb1a/0xb20 fs/f2fs/segment.c:2586 Code: 15 00 01 e9 80 f6 ff ff e8 33 8b 82 fd 44 89 f6 48 c7 c7 70 d4 33 8f 48 89 da e8 e1 15 00 01 e9 67 f8 ff ff e8 17 8b 82 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d627550 EFLAGS: 00010283 RAX: ffffffff8440ca19 RBX: ffff8880533a4f70 RCX: 0000000000100000 RDX: ffffc9000e082000 RSI: 000000000000276d RDI: 000000000000276e RBP: 0000000000000001 R08: 0000000000000005 R09: ffffffff8440c32e R10: 0000000000000003 R11: ffff888000c2c880 R12: 0000000000000000 R13: ffff888041302000 R14: 00000000ffffffff R15: 0000000000000000 FS: 00007f0fe46626c0(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000006000 CR3: 000000004100c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __replace_atomic_write_block+0x5e1/0x1b10 fs/f2fs/segment.c:254 __complete_revoke_list fs/f2fs/segment.c:293 [inline] __f2fs_commit_atomic_write fs/f2fs/segment.c:385 [inline] f2fs_commit_atomic_write+0x11d0/0x1470 fs/f2fs/segment.c:403 f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2318 [inline] __f2fs_ioctl+0x40ff/0xb850 fs/f2fs/file.c:4551 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0fe378e169 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:00007f0fe4662038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0fe39b5fa0 RCX: 00007f0fe378e169 RDX: 0000000000000000 RSI: 000000000000f502 RDI: 0000000000000004 RBP: 00007f0fe3810a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0fe39b5fa0 R15: 00007ffd07f2b368 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_invalidate_blocks+0xb1a/0xb20 fs/f2fs/segment.c:2586 Code: 15 00 01 e9 80 f6 ff ff e8 33 8b 82 fd 44 89 f6 48 c7 c7 70 d4 33 8f 48 89 da e8 e1 15 00 01 e9 67 f8 ff ff e8 17 8b 82 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d627550 EFLAGS: 00010283 RAX: ffffffff8440ca19 RBX: ffff8880533a4f70 RCX: 0000000000100000 RDX: ffffc9000e082000 RSI: 000000000000276d RDI: 000000000000276e RBP: 0000000000000001 R08: 0000000000000005 R09: ffffffff8440c32e R10: 0000000000000003 R11: ffff888000c2c880 R12: 0000000000000000 R13: ffff888041302000 R14: 00000000ffffffff R15: 0000000000000000 FS: 00007f0fe46626c0(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fe4640fd8 CR3: 000000004100c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400