loop0: detected capacity change from 0 to 40427 F2FS-fs: heap/no_heap options were deprecated F2FS-fs (loop0): build fault injection rate: 19 F2FS-fs (loop0): build fault injection type: 0x3bfe8c F2FS-fs (loop0): invalid crc value F2FS-fs (loop0): inject page alloc in f2fs_grab_cache_folio of f2fs_ra_meta_pages+0x615/0x970 fs/f2fs/checkpoint.c:303 F2FS-fs (loop0): inject page alloc in f2fs_grab_cache_folio of __get_meta_folio+0x157/0x4f0 fs/f2fs/checkpoint.c:77 F2FS-fs (loop0): f2fs_recover_fsync_data: recovery fsync data, check_only: 0 F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5 F2FS-fs (loop0): inject slab alloc in f2fs_kmem_cache_alloc of f2fs_new_node_folio+0x1d9/0xa40 fs/f2fs/node.c:1386 F2FS-fs (loop0): inject page alloc in f2fs_grab_cache_folio of f2fs_new_node_folio+0x131/0xa40 fs/f2fs/node.c:1378 ------------[ cut here ]------------ kernel BUG at fs/f2fs/inode.c:965! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5326 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_evict_inode+0x1b35/0x1b60 fs/f2fs/inode.c:965 Code: 17 b6 fd 40 84 ed 75 32 e8 18 14 b6 fd 49 bd 00 00 00 00 00 fc ff df e9 e8 e6 ff ff e8 04 14 b6 fd 90 0f 0b e8 fc 13 b6 fd 90 <0f> 0b e8 f4 13 b6 fd 90 0f 0b 90 e9 f9 fe ff ff e8 e6 13 b6 fd e8 RSP: 0018:ffffc9000d4de630 EFLAGS: 00010287 RAX: ffffffff8409ff64 RBX: ffff88801218acd8 RCX: 0000000000100000 RDX: ffffc9000e382000 RSI: 000000000002635f RDI: 0000000000026360 RBP: 0000000000000000 R08: ffff88801218b16f R09: 1ffff1100243162d R10: dffffc0000000000 R11: ffffed100243162e R12: ffff88801218b168 R13: dffffc0000000000 R14: 1ffff1100243162d R15: 0000000000000002 FS: 00007fc7869b16c0(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000280 CR3: 0000000011b19000 CR4: 0000000000352ef0 Call Trace: evict+0x504/0x9c0 fs/inode.c:810 dispose_list fs/inode.c:852 [inline] prune_icache_sb+0x21b/0x2c0 fs/inode.c:1000 super_cache_scan+0x39b/0x4b0 fs/super.c:224 do_shrink_slab+0x6ef/0x1110 mm/shrinker.c:437 shrink_slab_memcg mm/shrinker.c:550 [inline] shrink_slab+0x7ef/0x10d0 mm/shrinker.c:628 shrink_one+0x28a/0x7c0 mm/vmscan.c:4955 shrink_many mm/vmscan.c:5016 [inline] lru_gen_shrink_node mm/vmscan.c:5094 [inline] shrink_node+0x315d/0x3780 mm/vmscan.c:6081 shrink_zones mm/vmscan.c:6339 [inline] do_try_to_free_pages+0x668/0x1960 mm/vmscan.c:6401 try_to_free_pages+0x8a2/0xdd0 mm/vmscan.c:6647 __perform_reclaim mm/page_alloc.c:4340 [inline] __alloc_pages_direct_reclaim+0x144/0x300 mm/page_alloc.c:4362 __alloc_pages_slowpath+0x60c/0xcf0 mm/page_alloc.c:4811 __alloc_frozen_pages_noprof+0x319/0x370 mm/page_alloc.c:5191 alloc_buddy_hugetlb_folio mm/hugetlb.c:1944 [inline] only_alloc_fresh_hugetlb_folio+0x1ca/0x8e0 mm/hugetlb.c:1984 alloc_fresh_hugetlb_folio mm/hugetlb.c:2003 [inline] alloc_surplus_hugetlb_folio+0x103/0x3c0 mm/hugetlb.c:2223 alloc_buddy_hugetlb_folio_with_mpol mm/hugetlb.c:2309 [inline] alloc_hugetlb_folio+0xb1a/0x16a0 mm/hugetlb.c:3027 hugetlb_no_page mm/hugetlb.c:6488 [inline] hugetlb_fault+0x1dc2/0x2970 mm/hugetlb.c:6737 handle_mm_fault+0x740/0x8e0 mm/memory.c:6503 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x165c/0x2a00 mm/gup.c:1428 populate_vma_page_range+0x29f/0x3a0 mm/gup.c:1860 __mm_populate+0x24c/0x380 mm/gup.c:1963 mm_populate include/linux/mm.h:3478 [inline] vm_mmap_pgoff+0x387/0x4d0 mm/util.c:586 ksys_mmap_pgoff+0x587/0x760 mm/mmap.c:604 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc785b8f749 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:00007fc7869b1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fc785de5fa0 RCX: 00007fc785b8f749 RDX: 0000000003000009 RSI: 0000000000800000 RDI: 0000200000800000 RBP: 00007fc785c13f91 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000046031 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc785de6038 R14: 00007fc785de5fa0 R15: 00007ffd54c95e78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_evict_inode+0x1b35/0x1b60 fs/f2fs/inode.c:965 Code: 17 b6 fd 40 84 ed 75 32 e8 18 14 b6 fd 49 bd 00 00 00 00 00 fc ff df e9 e8 e6 ff ff e8 04 14 b6 fd 90 0f 0b e8 fc 13 b6 fd 90 <0f> 0b e8 f4 13 b6 fd 90 0f 0b 90 e9 f9 fe ff ff e8 e6 13 b6 fd e8 RSP: 0018:ffffc9000d4de630 EFLAGS: 00010287 RAX: ffffffff8409ff64 RBX: ffff88801218acd8 RCX: 0000000000100000 RDX: ffffc9000e382000 RSI: 000000000002635f RDI: 0000000000026360 RBP: 0000000000000000 R08: ffff88801218b16f R09: 1ffff1100243162d R10: dffffc0000000000 R11: ffffed100243162e R12: ffff88801218b168 R13: dffffc0000000000 R14: 1ffff1100243162d R15: 0000000000000002 FS: 00007fc7869b16c0(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc78698ffc8 CR3: 0000000011b19000 CR4: 0000000000352ef0