00000000c7fbd0dc: 60 3b 1d 38 80 88 ff ff 02 00 00 00 00 00 00 00 `;.8............
000000009c081378: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000000051dcff47: 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 ffff8880381d3b98 by task syz-executor.4/6801
CPU: 0 PID: 6801 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/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_get_acl+0x122/0x180 fs/jfs/acl.c:48
get_acl.part.0+0xcd/0x1f0 fs/posix_acl.c:140
get_acl fs/posix_acl.c:111 [inline]
posix_acl_create.part.0+0xbb/0x380 fs/posix_acl.c:594
posix_acl_create+0x12b/0x170 fs/posix_acl.c:628
jfs_init_acl+0x83/0x2a0 fs/jfs/acl.c:142
jfs_create.part.0+0x1b3/0x880 fs/jfs/namei.c:116
jfs_create+0x3f/0x60 fs/jfs/namei.c:90
lookup_open+0x893/0x1a20 fs/namei.c:3235
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
RIP: 0033:0x7f32121e85a9
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:00007f321073a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f3212309050 RCX: 00007f32121e85a9
RDX: 000000000000275a RSI: 00000000200001c0 RDI: ffffffffffffff9c
RBP: 00007f32122437b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd03818aaf R14: 00007f321073a300 R15: 0000000000022000
Allocated by task 6801:
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_slow+0x246/0x4a0 fs/namei.c:1672
lookup_slow fs/namei.c:1689 [inline]
walk_component+0x7ac/0xda0 fs/namei.c:1811
lookup_last fs/namei.c:2274 [inline]
path_lookupat+0x1ff/0x8d0 fs/namei.c:2319
filename_lookup+0x1ac/0x5a0 fs/namei.c:2349
user_path_at include/linux/namei.h:57 [inline]
ksys_chdir+0x84/0x1d0 fs/open.c:458
__do_sys_chdir fs/open.c:480 [inline]
__se_sys_chdir fs/open.c:478 [inline]
__x64_sys_chdir+0x2d/0x40 fs/open.c:478
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
Freed by task 0:
(stack is not available)
The buggy address belongs to the object at ffff8880381d3400
which belongs to the cache jfs_ip of size 1944
The buggy address is located 0 bytes to the right of
1944-byte region [ffff8880381d3400, ffff8880381d3b98)
The buggy address belongs to the page:
page:ffffea0000e074c0 count:1 mapcount:0 mapping:ffff8880b0ee4900 index:0xffff8880381d3fff
flags: 0xfff00000000100(slab)
raw: 00fff00000000100 ffffea0000ef54c8 ffffea0000e0f188 ffff8880b0ee4900
raw: ffff8880381d3fff ffff8880381d3400 0000000100000001 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff8880381d3a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8880381d3b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8880381d3b80: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff8880381d3c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff8880381d3c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================