ffff888043fe33b8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe33c8: 00 00 00 00 00 00 00 00 88 87 03 00 00 c9 ff ff ................ ffff888043fe33d8: d8 33 fe 43 80 88 ff ff d8 33 fe 43 80 88 ff ff .3.C.....3.C.... ffff888043fe33e8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe33f8: f8 33 fe 43 80 88 ff ff f8 33 fe 43 80 88 ff ff .3.C.....3.C.... ffff888043fe3408: d0 2a fe 43 80 88 ff ff c0 e9 d2 52 80 88 ff ff .*.C.......R.... ffff888043fe3418: 18 34 fe 43 80 88 ff ff 18 34 fe 43 80 88 ff ff .4.C.....4.C.... ffff888043fe3428: 90 c5 8f 3e 80 88 ff ff 00 00 00 00 00 00 00 00 ...>............ ffff888043fe3438: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3448: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3458: 80 8e 42 8c ff ff ff ff 00 00 00 00 00 00 00 00 ..B............. ffff888043fe3468: 48 32 fe 43 80 88 ff ff 00 00 00 00 ad 4e ad de H2.C.........N.. ffff888043fe3478: ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ................ ffff888043fe3488: 40 41 47 9a ff ff ff ff 00 00 00 00 00 00 00 00 @AG............. ffff888043fe3498: 00 00 00 00 00 00 00 00 a0 e2 18 8c ff ff ff ff ................ ffff888043fe34a8: 00 03 00 00 00 00 00 00 21 00 00 00 00 00 00 00 ........!....... ffff888043fe34b8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe34c8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe34d8: 00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00 .....N.......... ffff888043fe34e8: ff ff ff ff ff ff ff ff b0 96 20 93 ff ff ff ff .......... ..... ffff888043fe34f8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3508: 60 9a 0a 8c ff ff ff ff 00 02 00 00 00 00 00 00 `............... ffff888043fe3518: 18 35 fe 43 80 88 ff ff 18 35 fe 43 80 88 ff ff .5.C.....5.C.... ffff888043fe3528: c0 34 fe 43 80 88 ff ff 88 e9 d4 8e ff ff ff ff .4.C............ ffff888043fe3538: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3548: 40 d7 18 8c ff ff ff ff 00 04 00 00 00 00 00 00 @............... ffff888043fe3558: ca 0c 10 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3568: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3578: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3588: 80 90 42 8c ff ff ff ff 00 00 00 00 00 00 00 00 ..B............. ffff888043fe3598: 00 00 00 00 00 00 00 00 00 00 00 00 ad 4e ad de .............N.. ffff888043fe35a8: ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ................ ffff888043fe35b8: 30 41 47 9a ff ff ff ff 00 00 00 00 00 00 00 00 0AG............. ffff888043fe35c8: 00 00 00 00 00 00 00 00 60 e2 18 8c ff ff ff ff ........`....... ffff888043fe35d8: 00 03 00 00 00 00 00 00 e0 35 fe 43 80 88 ff ff .........5.C.... ffff888043fe35e8: e0 35 fe 43 80 88 ff ff 00 00 00 00 00 00 00 00 .5.C............ ffff888043fe35f8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3608: 00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00 .....N.......... ffff888043fe3618: ff ff ff ff ff ff ff ff b0 96 20 93 ff ff ff ff .......... ..... ffff888043fe3628: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3638: 60 9a 0a 8c ff ff ff ff 00 02 00 00 00 00 00 00 `............... ffff888043fe3648: 48 36 fe 43 80 88 ff ff 48 36 fe 43 80 88 ff ff H6.C....H6.C.... ffff888043fe3658: f0 35 fe 43 80 88 ff ff 20 41 47 9a ff ff ff ff .5.C.... AG..... ffff888043fe3668: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe3678: 20 e2 18 8c ff ff ff ff 00 04 00 00 00 00 00 00 ............... ffff888043fe3688: 00 00 00 00 00 00 00 00 90 36 fe 43 80 88 ff ff .........6.C.... ffff888043fe3698: 90 36 fe 43 80 88 ff ff 00 00 00 00 00 00 00 00 .6.C............ ffff888043fe36a8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff888043fe36b8: 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+0x731/0xba0 lib/hexdump.c:193 Read of size 1 at addr ffff888043fe36d0 by task syz.0.0/5320 CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted 6.14.0-rc1-syzkaller-00181-g7ee983c850b4 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x169/0x550 mm/kasan/report.c:489 kasan_report+0x143/0x180 mm/kasan/report.c:602 hex_dump_to_buffer+0x731/0xba0 lib/hexdump.c:193 print_hex_dump+0x13f/0x250 lib/hexdump.c:276 ea_get+0xd30/0x12e0 fs/jfs/xattr.c:565 __jfs_setxattr+0xfc/0x1190 fs/jfs/xattr.c:675 __jfs_xattr_set+0xf9/0x180 fs/jfs/xattr.c:936 __vfs_setxattr+0x468/0x4a0 fs/xattr.c:200 __vfs_setxattr_noperm+0x12e/0x660 fs/xattr.c:234 vfs_setxattr+0x221/0x430 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x2af/0x430 fs/xattr.c:665 path_setxattrat+0x440/0x510 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1d0798cde9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1d087b2038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f1d07ba6080 RCX: 00007f1d0798cde9 RDX: 00004000000025c0 RSI: 0000400000002580 RDI: 0000400000000080 RBP: 00007f1d07a0e2a0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000038 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f1d07ba6080 R15: 00007ffc29a7c058 Allocated by task 5320: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4115 [inline] slab_alloc_node mm/slub.c:4164 [inline] kmem_cache_alloc_lru_noprof+0x1dd/0x390 mm/slub.c:4183 jfs_alloc_inode+0x28/0x70 fs/jfs/super.c:105 alloc_inode+0x65/0x1a0 fs/inode.c:336 iget_locked+0xf1/0x5a0 fs/inode.c:1487 jfs_iget+0x23/0x3e0 fs/jfs/inode.c:29 jfs_lookup+0x226/0x410 fs/jfs/namei.c:1469 __lookup_slow+0x296/0x400 fs/namei.c:1793 lookup_slow+0x53/0x70 fs/namei.c:1810 walk_component+0x2e1/0x410 fs/namei.c:2114 lookup_last fs/namei.c:2612 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2636 filename_lookup+0x2a3/0x670 fs/namei.c:2665 filename_setxattr+0xb9/0x430 fs/xattr.c:660 path_setxattrat+0x440/0x510 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888043fe2e18 which belongs to the cache jfs_ip of size 2232 The buggy address is located 0 bytes to the right of allocated 2232-byte region [ffff888043fe2e18, ffff888043fe36d0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x43fe0 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff8880329f9101 flags: 0x4fff00000000040(head|node=1|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 04fff00000000040 ffff8880334e2640 dead000000000122 0000000000000000 raw: 0000000000000000 00000000800d000d 00000000f5000000 ffff8880329f9101 head: 04fff00000000040 ffff8880334e2640 dead000000000122 0000000000000000 head: 0000000000000000 00000000800d000d 00000000f5000000 ffff8880329f9101 head: 04fff00000000003 ffffea00010ff801 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 0xd2050(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_RECLAIMABLE), pid 5319, tgid 5318 (syz.0.0), ts 69406887351, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551 prep_new_page mm/page_alloc.c:1559 [inline] get_page_from_freelist+0x365c/0x37a0 mm/page_alloc.c:3477 __alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4739 alloc_pages_mpol+0x311/0x660 mm/mempolicy.c:2270 alloc_slab_page mm/slub.c:2423 [inline] allocate_slab+0x8f/0x3a0 mm/slub.c:2587 new_slab mm/slub.c:2640 [inline] ___slab_alloc+0xc27/0x14a0 mm/slub.c:3826 __slab_alloc+0x58/0xa0 mm/slub.c:3916 __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] kmem_cache_alloc_lru_noprof+0x26c/0x390 mm/slub.c:4183 jfs_alloc_inode+0x28/0x70 fs/jfs/super.c:105 alloc_inode+0x65/0x1a0 fs/inode.c:336 new_inode_pseudo fs/inode.c:1174 [inline] new_inode+0x22/0x1d0 fs/inode.c:1193 jfs_fill_super+0x570/0xd90 fs/jfs/super.c:511 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3560 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4088 page_owner free stack trace missing Memory state around the buggy address: ffff888043fe3580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888043fe3600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888043fe3680: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ^ ffff888043fe3700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888043fe3780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================