ffff88807c133ff0: e8 3f 13 7c 80 88 ff ff 00 00 00 00 00 00 00 00 .?.|............ ffff88807c134000: 00 40 13 7c 80 88 ff ff 00 40 13 7c 80 88 ff ff .@.|.....@.|.... ffff88807c134010: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ................ ffff88807c134020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff88807c134030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ================================================================== BUG: KASAN: slab-out-of-bounds in hex_dump_to_buffer+0x72d/0xba0 lib/hexdump.c:193 Read of size 1 at addr ffff88807c134040 by task syz-executor.0/5448 CPU: 0 PID: 5448 Comm: syz-executor.0 Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #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+0x1e3/0x2d0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:377 [inline] print_report+0x15f/0x540 mm/kasan/report.c:488 kasan_report+0x13e/0x170 mm/kasan/report.c:601 hex_dump_to_buffer+0x72d/0xba0 lib/hexdump.c:193 print_hex_dump+0x13b/0x250 lib/hexdump.c:276 ea_get+0xcdc/0x1280 fs/jfs/xattr.c:561 jfs_listxattr+0xe0/0x810 fs/jfs/xattr.c:867 vfs_listxattr fs/xattr.c:494 [inline] listxattr+0x103/0x280 fs/xattr.c:841 path_listxattr fs/xattr.c:865 [inline] __do_sys_listxattr fs/xattr.c:877 [inline] __se_sys_listxattr fs/xattr.c:874 [inline] __x64_sys_listxattr+0x172/0x230 fs/xattr.c:874 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x81/0x180 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f788707cb29 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:00007f7887d0f0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 00007f788719bf80 RCX: 00007f788707cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f78870c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f788719bf80 R15: 00007ffefb4e17e8 Allocated by task 5448: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3b/0x70 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:314 [inline] __kasan_slab_alloc+0x62/0x70 mm/kasan/common.c:340 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3813 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmem_cache_alloc_lru+0x166/0x3c0 mm/slub.c:3879 alloc_inode_sb include/linux/fs.h:3019 [inline] jfs_alloc_inode+0x24/0x60 fs/jfs/super.c:105 alloc_inode fs/inode.c:260 [inline] iget_locked+0x1a5/0x830 fs/inode.c:1278 jfs_iget+0x1e/0x3b0 fs/jfs/inode.c:29 jfs_lookup+0x222/0x400 fs/jfs/namei.c:1469 __lookup_slow+0x27e/0x3d0 fs/namei.c:1693 lookup_slow+0x53/0x70 fs/namei.c:1710 walk_component+0x2d0/0x400 fs/namei.c:2001 lookup_last fs/namei.c:2458 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2482 filename_lookup+0x251/0x600 fs/namei.c:2511 user_path_at_empty+0x3e/0x60 fs/namei.c:2920 user_path_at include/linux/namei.h:57 [inline] path_listxattr fs/xattr.c:862 [inline] __do_sys_listxattr fs/xattr.c:877 [inline] __se_sys_listxattr fs/xattr.c:874 [inline] __x64_sys_listxattr+0x108/0x230 fs/xattr.c:874 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x81/0x180 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b The buggy address belongs to the object at ffff88807c133780 which belongs to the cache jfs_ip of size 2240 The buggy address is located 0 bytes to the right of allocated 2240-byte region [ffff88807c133780, ffff88807c134040) The buggy address belongs to the physical page: page:ffffea0001f04c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7c130 head:ffffea0001f04c00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff888019ba4f01 flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888017f7cdc0 dead000000000122 0000000000000000 raw: 0000000000000000 00000000800d000d 00000001ffffffff ffff888019ba4f01 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0x1d2050(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 5448, tgid 5447 (syz-executor.0), ts 89689573638, free_ts 88849296002 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1d2/0x1f0 mm/page_alloc.c:1533 prep_new_page mm/page_alloc.c:1540 [inline] get_page_from_freelist+0x3376/0x3500 mm/page_alloc.c:3311 __alloc_pages+0x251/0x660 mm/page_alloc.c:4567 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page+0x5f/0x140 mm/slub.c:2190 allocate_slab mm/slub.c:2354 [inline] new_slab+0x84/0x2d0 mm/slub.c:2407 ___slab_alloc+0xce1/0x1390 mm/slub.c:3540 __slab_alloc mm/slub.c:3625 [inline] __slab_alloc_node mm/slub.c:3678 [inline] slab_alloc_node mm/slub.c:3850 [inline] kmem_cache_alloc_lru+0x250/0x3c0 mm/slub.c:3879 alloc_inode_sb include/linux/fs.h:3019 [inline] jfs_alloc_inode+0x24/0x60 fs/jfs/super.c:105 alloc_inode fs/inode.c:260 [inline] new_inode_pseudo+0x61/0x1d0 fs/inode.c:1005 new_inode+0x1e/0x1d0 fs/inode.c:1031 jfs_fill_super+0x404/0xc40 fs/jfs/super.c:544 mount_bdev+0x202/0x2c0 fs/super.c:1663 legacy_get_tree+0xeb/0x180 fs/fs_context.c:662 vfs_get_tree+0x88/0x280 fs/super.c:1784 do_new_mount+0x2ba/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3875 page last free pid 5433 tgid 5433 stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1140 [inline] free_unref_page_prepare+0x93d/0xa50 mm/page_alloc.c:2346 free_unref_page+0x33/0x3f0 mm/page_alloc.c:2486 discard_slab mm/slub.c:2453 [inline] __put_partials+0xeb/0x130 mm/slub.c:2922 put_cpu_partial+0x17b/0x250 mm/slub.c:2997 __slab_free+0x2f5/0x3f0 mm/slub.c:4166 qlink_free mm/kasan/quarantine.c:160 [inline] qlist_free_all+0x6d/0xd0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x147/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:324 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3813 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmem_cache_alloc+0x163/0x3c0 mm/slub.c:3867 getname_flags+0xb8/0x4f0 fs/namei.c:140 do_sys_openat2+0xce/0x1c0 fs/open.c:1398 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1430 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x81/0x180 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Memory state around the buggy address: ffff88807c133f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807c133f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88807c134000: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff88807c134080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807c134100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================