ffff888032b7c020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888032b7c030: 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+0xdee/0xe30 lib/hexdump.c:193 Read of size 1 at addr ffff888032b7c040 by task syz-executor.0/5471 CPU: 0 PID: 5471 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-10355-g38da32ee70b8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc3/0x620 mm/kasan/report.c:488 kasan_report+0xd9/0x110 mm/kasan/report.c:601 hex_dump_to_buffer+0xdee/0xe30 lib/hexdump.c:193 print_hex_dump+0x18c/0x260 lib/hexdump.c:276 ea_get+0x864/0x12c0 fs/jfs/xattr.c:561 __jfs_getxattr+0xfd/0x3f0 fs/jfs/xattr.c:807 jfs_xattr_get+0x3c/0x50 fs/jfs/xattr.c:931 __vfs_getxattr+0x13b/0x1a0 fs/xattr.c:423 inode_doinit_use_xattr+0xb5/0x410 security/selinux/hooks.c:1361 inode_doinit_with_dentry+0x51f/0x12c0 security/selinux/hooks.c:1486 selinux_d_instantiate+0x26/0x30 security/selinux/hooks.c:6335 security_d_instantiate+0x57/0xf0 security/security.c:3916 d_splice_alias+0x94/0xdf0 fs/dcache.c:2973 jfs_lookup+0x237/0x370 fs/jfs/namei.c:1474 __lookup_slow+0x24f/0x460 fs/namei.c:1692 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2493 filename_lookup+0x1e5/0x5b0 fs/namei.c:2522 user_path_at_empty+0x42/0x60 fs/namei.c:2929 user_path_at include/linux/namei.h:58 [inline] path_listxattr+0x9c/0x160 fs/xattr.c:861 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5936c7dca9 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:00007f59379b60c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 00007f5936dabf80 RCX: 00007f5936c7dca9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f5936cc947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5936dabf80 R15: 00007ffd9c6d7608 Allocated by task 5471: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4000 [inline] kmem_cache_alloc_lru_noprof+0x121/0x2f0 mm/slub.c:4019 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x5d/0x230 fs/inode.c:261 iget_locked+0x1a1/0x6d0 fs/inode.c:1280 jfs_iget+0x1e/0x4d0 fs/jfs/inode.c:29 jfs_lookup+0x2a8/0x370 fs/jfs/namei.c:1469 __lookup_slow+0x24f/0x460 fs/namei.c:1692 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2493 filename_lookup+0x1e5/0x5b0 fs/namei.c:2522 user_path_at_empty+0x42/0x60 fs/namei.c:2929 user_path_at include/linux/namei.h:58 [inline] path_listxattr+0x9c/0x160 fs/xattr.c:861 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888032b7b780 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 [ffff888032b7b780, ffff888032b7c040) The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x32b78 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88802030c701 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffefff(slab) raw: 00fff00000000040 ffff88801638e640 dead000000000122 0000000000000000 raw: 0000000000000000 00000000800d000d 00000001ffffefff ffff88802030c701 head: 00fff00000000040 ffff88801638e640 dead000000000122 0000000000000000 head: 0000000000000000 00000000800d000d 00000001ffffefff ffff88802030c701 head: 00fff00000000003 ffffea0000cade01 ffffffffffffffff 0000000000000000 head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000 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 5471, tgid 5469 (syz-executor.0), ts 81434272872, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1468 prep_new_page mm/page_alloc.c:1476 [inline] get_page_from_freelist+0x136a/0x2df0 mm/page_alloc.c:3402 __alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4660 __alloc_pages_node_noprof include/linux/gfp.h:244 [inline] alloc_pages_node_noprof include/linux/gfp.h:271 [inline] alloc_slab_page+0x56/0x110 mm/slub.c:2264 allocate_slab mm/slub.c:2427 [inline] new_slab+0x84/0x260 mm/slub.c:2480 ___slab_alloc+0xdac/0x1870 mm/slub.c:3666 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3756 __slab_alloc_node mm/slub.c:3809 [inline] slab_alloc_node mm/slub.c:3988 [inline] kmem_cache_alloc_lru_noprof+0x2a7/0x2f0 mm/slub.c:4019 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x5d/0x230 fs/inode.c:261 new_inode_pseudo fs/inode.c:1007 [inline] new_inode+0x22/0x270 fs/inode.c:1033 jfs_fill_super+0x433/0xd20 fs/jfs/super.c:544 mount_bdev+0x1e3/0x2d0 fs/super.c:1659 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8f/0x380 fs/super.c:1780 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 page_owner free stack trace missing Memory state around the buggy address: ffff888032b7bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888032b7bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888032b7c000: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff888032b7c080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888032b7c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================