REISERFS (device loop0): journal params: device loop0, size 15748, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using tea hash to sort names ================================================================== BUG: KASAN: out-of-bounds in memmove include/linux/string.h:462 [inline] BUG: KASAN: out-of-bounds in leaf_paste_entries+0x405/0xa10 fs/reiserfs/lbalance.c:1377 Read of size 18446744073709551584 at addr ffff88803ebbbfa4 by task syz-executor490/5887 CPU: 1 PID: 5887 Comm: syz-executor490 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x9a/0xcc lib/dump_stack.c:120 print_address_description.constprop.0.cold+0x5b/0x2c6 mm/kasan/report.c:230 __kasan_report mm/kasan/report.c:396 [inline] kasan_report.cold+0x79/0xd5 mm/kasan/report.c:413 check_memory_region_inline mm/kasan/generic.c:179 [inline] check_memory_region+0x13d/0x180 mm/kasan/generic.c:185 memmove+0x20/0x60 mm/kasan/shadow.c:53 memmove include/linux/string.h:462 [inline] leaf_paste_entries+0x405/0xa10 fs/reiserfs/lbalance.c:1377 balance_leaf_finish_node_paste_dirent fs/reiserfs/do_balan.c:1295 [inline] balance_leaf_finish_node_paste fs/reiserfs/do_balan.c:1321 [inline] balance_leaf_finish_node fs/reiserfs/do_balan.c:1364 [inline] balance_leaf+0x8d0d/0xd3c0 fs/reiserfs/do_balan.c:1452 do_balance+0x2ee/0x760 fs/reiserfs/do_balan.c:1888 reiserfs_paste_into_item+0x63c/0x7b0 fs/reiserfs/stree.c:2138 reiserfs_add_entry+0x7fd/0xc40 fs/reiserfs/namei.c:566 reiserfs_mkdir+0x59c/0x860 fs/reiserfs/namei.c:858 create_privroot fs/reiserfs/xattr.c:889 [inline] reiserfs_xattr_init+0x412/0xa60 fs/reiserfs/xattr.c:1011 reiserfs_fill_super+0x1c53/0x2670 fs/reiserfs/super.c:2177 mount_bdev+0x2cb/0x3b0 fs/super.c:1366 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:592 vfs_get_tree+0x7f/0x2c0 fs/super.c:1496 do_new_mount fs/namespace.c:2881 [inline] path_mount+0x7f3/0x1b30 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount fs/namespace.c:3409 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f446b307d0a 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:00007ffc224868f8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc22486950 RCX: 00007f446b307d0a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffc22486910 RBP: 00007ffc22486910 R08: 00007ffc22486950 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002a8 R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000007 The buggy address belongs to the page: page:00000000ae3e9e5d refcount:3 mapcount:0 mapping:000000009f494180 index:0x3d97 pfn:0x3ebbb aops:def_blk_aops ino:700000 flags: 0xfff00000002022(referenced|active|private) raw: 00fff00000002022 dead000000000100 dead000000000122 ffff888018952b50 raw: 0000000000003d97 ffff88803aa2e040 00000003ffffffff ffff8880101f2000 page dumped because: kasan: bad access detected pages's memcg:ffff8880101f2000 page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x108c48(GFP_NOFS|__GFP_NOFAIL|__GFP_HARDWALL|__GFP_MOVABLE), pid 5887, ts 76404963547 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x144/0x1c0 mm/page_alloc.c:2297 prep_new_page mm/page_alloc.c:2306 [inline] get_page_from_freelist+0x1c6e/0x3f80 mm/page_alloc.c:3945 __alloc_pages_nodemask+0x2d6/0x730 mm/page_alloc.c:4995 pagecache_get_page+0x1fc/0xce0 mm/filemap.c:1841 find_or_create_page include/linux/pagemap.h:404 [inline] grow_dev_page fs/buffer.c:974 [inline] grow_buffers fs/buffer.c:1043 [inline] __getblk_slow+0x1b6/0x7d0 fs/buffer.c:1070 sb_getblk include/linux/buffer_head.h:325 [inline] search_by_key+0x35c/0x4240 fs/reiserfs/stree.c:651 reiserfs_read_locked_inode+0x144/0x21c0 fs/reiserfs/inode.c:1557 reiserfs_fill_super+0x152a/0x2670 fs/reiserfs/super.c:2081 mount_bdev+0x2cb/0x3b0 fs/super.c:1366 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:592 vfs_get_tree+0x7f/0x2c0 fs/super.c:1496 do_new_mount fs/namespace.c:2881 [inline] path_mount+0x7f3/0x1b30 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount fs/namespace.c:3409 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 page_owner free stack trace missing Memory state around the buggy address: ffff88803ebbbe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88803ebbbf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88803ebbbf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88803ebbc000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88803ebbc080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================