================================================================== BUG: KASAN: vmalloc-out-of-bounds in cleanup_bitmap_list+0x175/0x500 fs/reiserfs/journal.c:230 Read of size 8 at addr ffffc900047a9000 by task syz-executor.5/6973 CPU: 0 PID: 6973 Comm: syz-executor.5 Not tainted 6.7.0-rc6-syzkaller-00303-g3f82f1c3a036 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x163/0x540 mm/kasan/report.c:475 kasan_report+0x142/0x170 mm/kasan/report.c:588 cleanup_bitmap_list+0x175/0x500 fs/reiserfs/journal.c:230 cleanup_freed_for_journal_list fs/reiserfs/journal.c:569 [inline] flush_commit_list+0x12f2/0x1c50 fs/reiserfs/journal.c:1141 flush_journal_list+0x2a8/0x1c80 fs/reiserfs/journal.c:1390 flush_used_journal_lists+0x1256/0x15d0 fs/reiserfs/journal.c:1828 do_journal_end+0x3d51/0x4b40 do_journal_begin_r+0x970/0x1030 journal_begin+0x14c/0x360 fs/reiserfs/journal.c:3254 __commit_trans_jl fs/reiserfs/journal.c:3865 [inline] reiserfs_commit_for_inode+0x73e/0x9e0 fs/reiserfs/journal.c:3921 reiserfs_dir_fsync+0xcb/0x100 fs/reiserfs/dir.c:43 vfs_fsync_range fs/sync.c:188 [inline] vfs_fsync fs/sync.c:202 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fsync fs/sync.c:220 [inline] __se_sys_fsync fs/sync.c:218 [inline] __x64_sys_fsync+0x196/0x1e0 fs/sync.c:218 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fea8fc7cce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fea90a9c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004a RAX: ffffffffffffffda RBX: 00007fea8fd9bf80 RCX: 00007fea8fc7cce9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fea8fcc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fea8fd9bf80 R15: 00007fff1bf08008 The buggy address belongs to the virtual mapping at [ffffc900047a1000, ffffc900047aa000) created by: reiserfs_allocate_list_bitmaps+0x50/0x220 fs/reiserfs/journal.c:289 Memory state around the buggy address: ffffc900047a8f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900047a8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc900047a9000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900047a9080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900047a9100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================