00000000f9fc6ed2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000f416fa0a: 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+0x5dc/0x984 lib/hexdump.c:193 Read of size 1 at addr ffff0000df1c77c0 by task syz-executor.1/5378 CPU: 1 PID: 5378 Comm: syz-executor.1 Not tainted 6.1.89-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x174/0x4c0 mm/kasan/report.c:395 kasan_report+0xd4/0x130 mm/kasan/report.c:495 __asan_report_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 hex_dump_to_buffer+0x5dc/0x984 lib/hexdump.c:193 print_hex_dump+0x140/0x248 lib/hexdump.c:276 ea_get+0xa04/0xef0 fs/jfs/xattr.c:561 __jfs_setxattr+0xe0/0x1338 fs/jfs/xattr.c:671 __jfs_xattr_set+0xf8/0x190 fs/jfs/xattr.c:917 jfs_xattr_set+0x58/0x70 fs/jfs/xattr.c:941 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x1a8/0x344 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x230/0x294 fs/xattr.c:617 path_setxattr+0x17c/0x258 fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:655 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Allocated by task 5378: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:52 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x74/0x8c mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x74/0x458 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc_lru+0x1ac/0x2f8 mm/slub.c:3429 alloc_inode_sb include/linux/fs.h:3193 [inline] jfs_alloc_inode+0x2c/0x68 fs/jfs/super.c:105 alloc_inode fs/inode.c:261 [inline] iget_locked+0x170/0x708 fs/inode.c:1330 jfs_iget+0x30/0x364 fs/jfs/inode.c:29 jfs_lookup+0x1e8/0x39c fs/jfs/namei.c:1467 __lookup_slow+0x250/0x374 fs/namei.c:1690 lookup_slow+0x60/0x84 fs/namei.c:1707 walk_component+0x280/0x36c fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2479 filename_lookup+0x1d4/0x4e0 fs/namei.c:2508 user_path_at_empty+0x5c/0x84 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xbc/0x258 fs/xattr.c:631 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:655 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000df1c6f00 which belongs to the cache jfs_ip of size 2240 The buggy address is located 0 bytes to the right of 2240-byte region [ffff0000df1c6f00, ffff0000df1c77c0) The buggy address belongs to the physical page: page:00000000477c7851 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff0000df1c0000 pfn:0x11f1c0 head:00000000477c7851 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff0000f1c3bf01 flags: 0x5ffe00000010200(slab|head|node=0|zone=2|lastcpupid=0xfff) raw: 05ffe00000010200 0000000000000000 dead000000000122 ffff0000c74cc000 raw: ffff0000df1c0000 00000000800d0007 00000001ffffffff ffff0000f1c3bf01 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000df1c7680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000df1c7700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000df1c7780: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff0000df1c7800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000df1c7880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== 000000004959720e: 00 00 00 00 00 00 00 00 02 15 00 00 40 04 3a 04 ............@.:. 00000000145e439c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000050caaacb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000c3b93459: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000046d27084: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000469baa62: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000795e362f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000b44d2d02: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000000bdcb0b3: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000b74f1873: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000009f779719: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000005fc7796f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000079c4f71a: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000006d10db72: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000008384172: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000de53dc1b: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000046a02f7c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000045727243: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000fd7ce47b: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000dc537d9f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000009f9d54e4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000002558c70b: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000001d605507: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000007bb148a6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000430b5211: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000dc2037e9: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................