000000009d36bf87: 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0000000066aa37a7: 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+0xc76/0xca0 lib/hexdump.c:175 Read of size 1 at addr ffff888053a4ecd8 by task syz-executor.3/1183 CPU: 1 PID: 1183 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load1_noabort+0x88/0x90 mm/kasan/report.c:430 hex_dump_to_buffer+0xc76/0xca0 lib/hexdump.c:175 print_hex_dump+0x12f/0x1d0 lib/hexdump.c:258 ea_get.cold+0x59/0x75 fs/jfs/xattr.c:574 __jfs_getxattr+0xc4/0x3d0 fs/jfs/xattr.c:820 jfs_xattr_get+0x39/0x50 fs/jfs/xattr.c:944 vfs_getxattr_alloc+0x1ad/0x330 fs/xattr.c:320 ima_read_xattr+0x2c/0x60 security/integrity/ima/ima_appraise.c:196 process_measurement+0xdab/0x1440 security/integrity/ima/ima_main.c:280 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3425 [inline] path_openat+0x7e4/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f76036465a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7601fb9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7603766f80 RCX: 00007f76036465a9 RDX: 0000000000000000 RSI: 0000000000000240 RDI: 0000000020000040 RBP: 00007f76036a1580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd56dbdc5f R14: 00007f7601fb9300 R15: 0000000000022000 Allocated by task 1183: kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 jfs_alloc_inode+0x18/0x50 fs/jfs/super.c:118 alloc_inode+0x5d/0x180 fs/inode.c:211 iget_locked+0x193/0x480 fs/inode.c:1176 jfs_iget+0x1a/0x4d0 fs/jfs/inode.c:41 jfs_lookup+0x19e/0x1c0 fs/jfs/namei.c:1474 lookup_open+0x698/0x1a20 fs/namei.c:3214 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 8140: __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 __rcu_reclaim kernel/rcu/rcu.h:236 [inline] rcu_do_batch kernel/rcu/tree.c:2584 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] rcu_process_callbacks+0x8ff/0x18b0 kernel/rcu/tree.c:2881 __do_softirq+0x265/0x980 kernel/softirq.c:292 The buggy address belongs to the object at ffff888053a4e540 which belongs to the cache jfs_ip of size 1944 The buggy address is located 0 bytes to the right of 1944-byte region [ffff888053a4e540, ffff888053a4ecd8) The buggy address belongs to the page: page:ffffea00014e9380 count:1 mapcount:0 mapping:ffff8882397f0840 index:0xffff888053a4efff flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffffea0001105208 ffffea0001549c08 ffff8882397f0840 raw: ffff888053a4efff ffff888053a4e540 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888053a4eb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888053a4ec00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888053a4ec80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc ^ ffff888053a4ed00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888053a4ed80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================