</TASK>
F2FS-fs (loop0): access invalid blkaddr:1818846767
CPU: 0 UID: 0 PID: 5354 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~bpo12+1 04/01/2014
Call Trace:
<TASK>
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
__f2fs_is_valid_blkaddr+0xe52/0x14f0 fs/f2fs/checkpoint.c:213
f2fs_truncate_data_blocks_range+0x790/0x1390 fs/f2fs/file.c:674
f2fs_truncate_hole+0x3f2/0x6c0 fs/f2fs/file.c:1245
f2fs_punch_hole+0x2db/0x330 fs/f2fs/file.c:1306
f2fs_fallocate+0x546/0x990 fs/f2fs/file.c:2018
vfs_fallocate+0x669/0x7e0 fs/open.c:342
ksys_fallocate fs/open.c:366 [inline]
__do_sys_fallocate fs/open.c:371 [inline]
__se_sys_fallocate fs/open.c:369 [inline]
__x64_sys_fallocate+0xc0/0x110 fs/open.c:369
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f51b758ebe9
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:00007f51b83e8038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f51b77b5fa0 RCX: 00007f51b758ebe9
RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000008
RBP: 00007f51b7611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008000c62 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f51b77b6038 R14: 00007f51b77b5fa0 R15: 00007ffe91d3c348
</TASK>
F2FS-fs (loop0): Inconsistent error blkaddr:12389, sit bitmap:0
CPU: 0 UID: 0 PID: 5354 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~bpo12+1 04/01/2014
Call Trace:
<TASK>
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
__is_bitmap_valid fs/f2fs/checkpoint.c:168 [inline]
__f2fs_is_valid_blkaddr+0xd84/0x14f0 fs/f2fs/checkpoint.c:216
f2fs_truncate_data_blocks_range+0x790/0x1390 fs/f2fs/file.c:674
f2fs_truncate_hole+0x3f2/0x6c0 fs/f2fs/file.c:1245
f2fs_punch_hole+0x2db/0x330 fs/f2fs/file.c:1306
f2fs_fallocate+0x546/0x990 fs/f2fs/file.c:2018
vfs_fallocate+0x669/0x7e0 fs/open.c:342
ksys_fallocate fs/open.c:366 [inline]
__do_sys_fallocate fs/open.c:371 [inline]
__se_sys_fallocate fs/open.c:369 [inline]
__x64_sys_fallocate+0xc0/0x110 fs/open.c:369
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f51b758ebe9
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:00007f51b83e8038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f51b77b5fa0 RCX: 00007f51b758ebe9
RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000008
RBP: 00007f51b7611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008000c62 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f51b77b6038 R14: 00007f51b77b5fa0 R15: 00007ffe91d3c348
</TASK>
------------[ cut here ]------------
kernel BUG at fs/f2fs/file.c:1243!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5354 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~bpo12+1 04/01/2014
RIP: 0010:f2fs_truncate_hole+0x69e/0x6c0 fs/f2fs/file.c:1243
Code: 75 1d 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 ef e2 be fd eb a4 e8 a8 be 7a 07 e8 e3 e2 be fd 90 <0f> 0b e8 db e2 be fd 4c 89 ef 48 c7 c6 60 8d d1 8b e8 1c 24 27 fd
RSP: 0018:ffffc9000d30fbe0 EFLAGS: 00010287
RAX: ffffffff8400d84d RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000ddfa000 RSI: 000000000008051c RDI: 000000000008051d
RBP: ffffc9000d30fd18 R08: ffff888043731f8f R09: 1ffff110086e63f1
R10: dffffc0000000000 R11: ffffed10086e63f2 R12: 0000000000000360
R13: ffffffffffffffff R14: 0000000000008000 R15: 00000000000006c0
FS: 00007f51b83e86c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f51b8364990 CR3: 0000000043d63000 CR4: 0000000000352ef0
Call Trace:
<TASK>
f2fs_punch_hole+0x2db/0x330 fs/f2fs/file.c:1306
f2fs_fallocate+0x546/0x990 fs/f2fs/file.c:2018
vfs_fallocate+0x669/0x7e0 fs/open.c:342
ksys_fallocate fs/open.c:366 [inline]
__do_sys_fallocate fs/open.c:371 [inline]
__se_sys_fallocate fs/open.c:369 [inline]
__x64_sys_fallocate+0xc0/0x110 fs/open.c:369
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f51b758ebe9
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:00007f51b83e8038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f51b77b5fa0 RCX: 00007f51b758ebe9
RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000008
RBP: 00007f51b7611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008000c62 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f51b77b6038 R14: 00007f51b77b5fa0 R15: 00007ffe91d3c348
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_truncate_hole+0x69e/0x6c0 fs/f2fs/file.c:1243
Code: 75 1d 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 ef e2 be fd eb a4 e8 a8 be 7a 07 e8 e3 e2 be fd 90 <0f> 0b e8 db e2 be fd 4c 89 ef 48 c7 c6 60 8d d1 8b e8 1c 24 27 fd
RSP: 0018:ffffc9000d30fbe0 EFLAGS: 00010287
RAX: ffffffff8400d84d RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000ddfa000 RSI: 000000000008051c RDI: 000000000008051d
RBP: ffffc9000d30fd18 R08: ffff888043731f8f R09: 1ffff110086e63f1
R10: dffffc0000000000 R11: ffffed10086e63f2 R12: 0000000000000360
R13: ffffffffffffffff R14: 0000000000008000 R15: 00000000000006c0
FS: 00007f51b83e86c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f51b8364990 CR3: 0000000043d63000 CR4: 0000000000352ef0