REISERFS error (device loop1): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD] REISERFS warning (device loop1): reiserfs_fill_super: corrupt root inode, run fsck ================================================================== BUG: KASAN: vmalloc-out-of-bounds in cleanup_bitmap_list.part.0+0x4ac/0x5f0 fs/reiserfs/journal.c:231 Read of size 8 at addr ffffc900015ce008 by task syz-executor172/5081 CPU: 0 PID: 5081 Comm: syz-executor172 Not tainted 6.3.0-rc3-syzkaller-00317-g65aca32efdcb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 print_address_description.constprop.0+0x2c/0x3c0 mm/kasan/report.c:319 print_report mm/kasan/report.c:430 [inline] kasan_report+0x11c/0x130 mm/kasan/report.c:536 cleanup_bitmap_list.part.0+0x4ac/0x5f0 fs/reiserfs/journal.c:231 cleanup_bitmap_list fs/reiserfs/journal.c:227 [inline] free_list_bitmaps fs/reiserfs/journal.c:249 [inline] free_journal_ram+0x165/0x600 fs/reiserfs/journal.c:1887 do_journal_release fs/reiserfs/journal.c:1960 [inline] journal_release_error+0x76/0xa0 fs/reiserfs/journal.c:1978 reiserfs_fill_super+0x107a/0x2ea0 fs/reiserfs/super.c:2223 mount_bdev+0x351/0x410 fs/super.c:1380 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7faa28ebd7ba Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff39b8a798 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007faa28ebd7ba RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007fff39b8a7b0 RBP: 00007fff39b8a7b0 R08: 00007fff39b8a7f0 R09: 0000000000000000 R10: 0000000000800008 R11: 0000000000000286 R12: 0000000000000004 R13: 0000555556c462c0 R14: 0000000000800008 R15: 00007fff39b8a7f0 The buggy address belongs to the virtual mapping at [ffffc900015ce000, ffffc900015d0000) created by: reiserfs_allocate_list_bitmaps+0x58/0x1d0 fs/reiserfs/journal.c:290 The buggy address belongs to the physical page: page:ffffea0000a83000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2a0c0 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO), pid 5081, tgid 5081 (syz-executor172), ts 38861865046, free_ts 31213342188 prep_new_page mm/page_alloc.c:2553 [inline] get_page_from_freelist+0x1190/0x2e20 mm/page_alloc.c:4326 __alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:5592 __alloc_pages_bulk+0x9a6/0x1590 mm/page_alloc.c:5540 alloc_pages_bulk_array_mempolicy+0x1b7/0x360 mm/mempolicy.c:2378 vm_area_alloc_pages mm/vmalloc.c:2918 [inline] __vmalloc_area_node mm/vmalloc.c:3029 [inline] __vmalloc_node_range+0xe4b/0x1390 mm/vmalloc.c:3199 __vmalloc_node mm/vmalloc.c:3264 [inline] vzalloc+0x6b/0x80 mm/vmalloc.c:3337 reiserfs_allocate_list_bitmaps+0x58/0x1d0 fs/reiserfs/journal.c:290 journal_init+0x3d2/0x64c0 fs/reiserfs/journal.c:2733 reiserfs_fill_super+0xc5b/0x2ea0 fs/reiserfs/super.c:2022 mount_bdev+0x351/0x410 fs/super.c:1380 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1454 [inline] free_pcp_prepare+0x5d5/0xa50 mm/page_alloc.c:1504 free_unref_page_prepare mm/page_alloc.c:3388 [inline] free_unref_page+0x1d/0x490 mm/page_alloc.c:3483 __folio_put_small mm/swap.c:106 [inline] __folio_put+0xc5/0x140 mm/swap.c:129 folio_put include/linux/mm.h:1309 [inline] put_page include/linux/mm.h:1378 [inline] anon_pipe_buf_release+0x3fb/0x4c0 fs/pipe.c:138 pipe_buf_release include/linux/pipe_fs_i.h:203 [inline] pipe_read+0x614/0x1110 fs/pipe.c:324 call_read_iter include/linux/fs.h:1845 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x7fa/0x930 fs/read_write.c:470 ksys_read+0x1ec/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffffc900015cdf00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900015cdf80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc900015ce000: 00 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900015ce080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900015ce100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================