================================================================== BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:372 [inline] BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x38c/0x580 net/nfc/llcp_sock.c:532 Read of size 43 at addr (null) by task syz-executor.5/19953 CPU: 0 PID: 19953 Comm: syz-executor.5 Not tainted 4.14.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 kasan_report_error.cold+0x144/0x194 mm/kasan/report.c:349 kasan_report+0x6f/0x7b mm/kasan/report.c:409 memcpy+0x20/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:372 [inline] llcp_sock_getname+0x38c/0x580 net/nfc/llcp_sock.c:532 SYSC_getpeername net/socket.c:1715 [inline] SyS_getpeername+0x109/0x220 net/socket.c:1699 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45deb9 RSP: 002b:00007f926462cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 00000000000041c0 RCX: 000000000045deb9 RDX: 0000000020000180 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff4e68a8af R14: 00007f926462d9c0 R15: 000000000118bf2c ================================================================== print_req_error: I/O error, dev loop2, sector 0