hfsplus: invalid length 256 has been corrected to 255
==================================================================
BUG: KASAN: slab-out-of-bounds in hfsplus_uni2asc+0x5ce/0x1290
Read of size 2 at addr ffff8881128aca18 by task syz.5.467/8630

CPU: 1 UID: 0 PID: 8630 Comm: syz.5.467 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x240
 kasan_report+0x118/0x150
 hfsplus_uni2asc+0x5ce/0x1290
 hfsplus_listxattr+0x58e/0xb80
 listxattr+0x10d/0x2a0
 path_listxattrat+0x179/0x3a0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f17ecf8ebe9
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:00007f17ede8d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3
RAX: ffffffffffffffda RBX: 00007f17ed1c5fa0 RCX: 00007f17ecf8ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000140
RBP: 00007f17ed011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f17ed1c6038 R14: 00007f17ed1c5fa0 R15: 00007fffcb975178
 </TASK>

Allocated by task 8630:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_noprof+0x27a/0x4f0
 hfsplus_find_init+0x8c/0x1d0
 hfsplus_listxattr+0x38f/0xb80
 listxattr+0x10d/0x2a0
 path_listxattrat+0x179/0x3a0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff8881128ac800
 which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 0 bytes to the right of
 allocated 536-byte region [ffff8881128ac800, ffff8881128aca18)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1128a8
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000040 ffff88801a441dc0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
head: 057ff00000000040 ffff88801a441dc0 dead000000000100 dead000000000122
head: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
head: 057ff00000000003 ffffea00044a2a01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Unmovable, gfp_mask 0x52820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 12, tgid 12 (kworker/u8:0), ts 60280505484, free_ts 55220170303
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 allocate_slab+0x8a/0x370
 ___slab_alloc+0xbeb/0x1410
 __kmalloc_noprof+0x305/0x4f0
 ___neigh_create+0x6d5/0x2260
 ip6_finish_output2+0xb4d/0x16a0
 ndisc_send_skb+0xb54/0x1440
 ndisc_send_ns+0xcb/0x150
 addrconf_dad_work+0xaae/0x14b0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
page last free pid 5772 tgid 5772 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 __put_partials+0x156/0x1a0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2d5/0x3c0
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_node_noprof+0x1bb/0x3c0
 __alloc_skb+0x112/0x2d0
 tcp_stream_alloc_skb+0x3d/0x340
 tcp_sendmsg_locked+0xf38/0x5620
 tcp_sendmsg+0x2f/0x50
 __sock_sendmsg+0x19c/0x270
 sock_write_iter+0x258/0x330
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250

Memory state around the buggy address:
 ffff8881128ac900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8881128ac980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8881128aca00: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc
                            ^
 ffff8881128aca80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff8881128acb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
