00000000357482e4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000345b0daa: 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 ffff0000e91e3700 by task syz-executor.0/5338 CPU: 1 PID: 5338 Comm: syz-executor.0 Not tainted 5.15.157-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description+0x7c/0x3f0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x174/0x1e4 mm/kasan/report.c:451 __asan_report_load1_noabort+0x44/0x50 mm/kasan/report_generic.c:306 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/0x13ac 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:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x250/0x2b4 fs/xattr.c:611 path_setxattr+0x17c/0x258 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:649 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Allocated by task 5338: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8c/0xcc mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x74/0x3f4 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x1dc/0x45c mm/slub.c:3233 jfs_alloc_inode+0x24/0x60 fs/jfs/super.c:105 alloc_inode fs/inode.c:236 [inline] iget_locked+0x180/0x720 fs/inode.c:1244 jfs_iget+0x30/0x364 fs/jfs/inode.c:29 jfs_lookup+0x1e8/0x39c fs/jfs/namei.c:1467 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xbc/0x258 fs/xattr.c:625 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:649 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Last potentially related work creation: kasan_save_stack+0x38/0x68 mm/kasan/common.c:38 kasan_record_aux_stack+0xd4/0x11c mm/kasan/generic.c:348 __call_rcu kernel/rcu/tree.c:3007 [inline] call_rcu+0x118/0xb40 kernel/rcu/tree.c:3087 destroy_inode fs/inode.c:291 [inline] evict+0x5fc/0x68c fs/inode.c:602 dispose_list fs/inode.c:620 [inline] evict_inodes+0x6b4/0x74c fs/inode.c:670 generic_shutdown_super+0x9c/0x29c fs/super.c:454 kill_block_super+0x70/0xdc fs/super.c:1414 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Second to last potentially related work creation: kasan_save_stack+0x38/0x68 mm/kasan/common.c:38 kasan_record_aux_stack+0xd4/0x11c mm/kasan/generic.c:348 __call_rcu kernel/rcu/tree.c:3007 [inline] call_rcu+0x118/0xb40 kernel/rcu/tree.c:3087 destroy_inode fs/inode.c:291 [inline] evict+0x5fc/0x68c fs/inode.c:602 dispose_list fs/inode.c:620 [inline] evict_inodes+0x6b4/0x74c fs/inode.c:670 generic_shutdown_super+0x9c/0x29c fs/super.c:454 kill_block_super+0x70/0xdc fs/super.c:1414 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 The buggy address belongs to the object at ffff0000e91e2e40 which belongs to the cache jfs_ip of size 2240 The buggy address is located 0 bytes to the right of 2240-byte region [ffff0000e91e2e40, ffff0000e91e3700) The buggy address belongs to the page: page:000000003d95da8e refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1291e0 head:000000003d95da8e order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff0000cad52b01 flags: 0x5ffe00000010200(slab|head|node=0|zone=2|lastcpupid=0xfff) raw: 05ffe00000010200 0000000000000000 dead000000000122 ffff0000c690f080 raw: 0000000000000000 00000000800d000d 00000001ffffffff ffff0000cad52b01 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e91e3600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000e91e3680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000e91e3700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000e91e3780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000e91e3800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== 00000000041a2393: c0 40 1e e9 00 00 ff ff da 14 00 00 ec 03 40 9f .@............@. 0000000050849164: 19 03 40 87 19 03 40 87 18 10 29 e9 00 00 ff ff ..@...@...)..... 00000000d8ec8b01: 18 11 00 00 1b 03 80 8f 00 00 00 00 00 00 00 00 ................ 0000000018985d2f: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000009829d9ab: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000003a067644: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000083049f2e: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000008cce4751: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000002cb59f84: 10 00 00 00 ed 81 06 00 00 00 00 00 00 00 00 00 ................ 0000000009068b3b: 04 00 00 00 1c 00 00 00 00 00 00 00 00 00 00 00 ................ 00000000cc672006: 00 00 00 00 00 00 00 00 20 00 00 00 48 01 00 00 ........ ...H... 0000000094dbba84: 01 00 00 00 2d 00 00 00 f2 f1 7c 63 00 00 00 00 ....-.....|c.... 00000000f7dc8822: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000009921e434: 30 29 1e e9 00 00 ff ff 00 00 00 00 00 00 00 00 0).............. 00000000133d0723: 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00 00 ................ 0000000058f79340: 00 00 00 00 00 00 00 00 00 00 00 00 ad 4e ad de .............N.. 000000005afe489a: ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff ................ 0000000019b44b68: 00 39 58 18 00 80 ff ff 40 a8 0a 17 00 80 ff ff .9X.....@....... 000000004c20c132: 00 00 00 00 00 00 00 00 a0 a6 e2 11 00 80 ff ff ................ 0000000086b24cb3: 00 02 00 00 00 00 00 00 38 38 1e e9 00 00 ff ff ........88...... 00000000b4aead7a: 38 38 1e e9 00 00 ff ff 00 00 00 00 00 00 00 00 88.............. 00000000920be7bd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 000000004b238e4c: 00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00 .....N.......... 00000000467ee331: ff ff ff ff ff ff ff ff b0 54 f5 16 00 80 ff ff .........T...... 000000003e04a741: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000049f1c502: 20 a0 ae 11 00 80 ff ff 00 02 00 00 00 00 00 00 ...............