==================================================================
BUG: KASAN: slab-out-of-bounds in string+0x216/0x2d0
Read of size 1 at addr ffff888111872f6d by task syz.4.31194/14895

CPU: 0 UID: 0 PID: 14895 Comm: syz.4.31194 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
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+0xe8/0x150
 print_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report+0x117/0x150
 string+0x216/0x2d0
 vsnprintf+0x74a/0xef0
 pointer+0xa12/0x1120
 vsnprintf+0x626/0xef0
 vprintk_store+0x3be/0xd90
 vprintk_emit+0x192/0x560
 _printk+0xdd/0x130
 __dynamic_pr_debug+0x1a2/0x260
 nfc_llcp_get_sdp_ssap+0x3a7/0x440
 llcp_sock_bind+0x3c5/0x780
 __sys_bind+0x2e3/0x410
 __x64_sys_bind+0x7a/0x90
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9c0f59e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9c10382028 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007f9c0f825fa0 RCX: 00007f9c0f59e159
RDX: 0000000000000060 RSI: 0000200000000080 RDI: 0000000000000004
RBP: 00007f9c0f63506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9c0f826038 R14: 00007f9c0f825fa0 R15: 00007ffee39213c8
 </TASK>

Allocated by task 14895:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_node_track_caller_noprof+0x4b4/0x720
 kmemdup_noprof+0x2b/0x70
 llcp_sock_bind+0x377/0x780
 __sys_bind+0x2e3/0x410
 __x64_sys_bind+0x7a/0x90
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888111872f60
 which belongs to the cache kmalloc-16 of size 16
The buggy address is located 0 bytes to the right of
 allocated 13-byte region [ffff888111872f60, ffff888111872f6d)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888111872ee0 pfn:0x111872
flags: 0x17ff00000000200(workingset|node=0|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 017ff00000000200 ffff888100041640 ffff888100040408 ffffea00044b8d90
raw: ffff888111872ee0 000000000080005c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x252800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_THISNODE), pid 25556, tgid 25556 (syz-executor), ts 1900197474808
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x2209/0x2280
 __alloc_frozen_pages_noprof+0x217/0x5a0
 allocate_slab+0x7d/0x620
 ___slab_alloc+0x16a/0x960
 __kvmalloc_node_noprof+0x329/0x820
 do_replace_table+0x18c/0x610
 xt_replace_table+0x2c/0x140
 __do_replace+0x161/0x9a0
 do_ip6t_set_ctl+0xb45/0xe30
 nf_setsockopt+0x26f/0x290
 do_sock_setsockopt+0x17c/0x1b0
 __x64_sys_setsockopt+0x13d/0x1b0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 25556 tgid 25556 ts 1900197439340 stack trace:
 __free_frozen_pages+0xc93/0xd90
 __kasan_populate_vmalloc+0x12d/0x1c0
 alloc_vmap_area+0xd1a/0x1420
 __get_vm_area_node+0x200/0x2f0
 __vmalloc_node_range_noprof+0x343/0x1540
 vzalloc_noprof+0xb2/0xe0
 __do_replace+0xb2/0x9a0
 do_ip6t_set_ctl+0xb45/0xe30
 nf_setsockopt+0x26f/0x290
 do_sock_setsockopt+0x17c/0x1b0
 __x64_sys_setsockopt+0x13d/0x1b0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888111872e00: fa fb fc fc 00 00 fc fc 00 00 fc fc fa fb fc fc
 ffff888111872e80: fa fb fc fc fa fb fc fc 00 03 fc fc fa fb fc fc
>ffff888111872f00: fa fb fc fc 00 00 fc fc 00 04 fc fc 00 05 fc fc
                                                          ^
 ffff888111872f80: 00 00 fc fc fa fb fc fc 00 00 fc fc fa fb fc fc
 ffff888111873000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
