llcp: llcp_sock_recvmsg: Recv datagram failed state 5 -11 0
==================================================================
BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:376 [inline]
BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x38c/0x580 net/nfc/llcp_sock.c:532
Read of size 60 at addr           (null) by task syz-executor.4/19659

CPU: 1 PID: 19659 Comm: syz-executor.4 Not tainted 4.14.226-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/0x281 lib/dump_stack.c:58
 kasan_report_error.cold+0x144/0x191 mm/kasan/report.c:349
 kasan_report+0x6f/0x80 mm/kasan/report.c:409
 memcpy+0x20/0x50 mm/kasan/kasan.c:302
 memcpy include/linux/string.h:376 [inline]
 llcp_sock_getname+0x38c/0x580 net/nfc/llcp_sock.c:532
 SYSC_getsockname net/socket.c:1683 [inline]
 SyS_getsockname+0xff/0x1c0 net/socket.c:1668
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
RSP: 002b:00007f7c4b060188 EFLAGS: 00000246 ORIG_RAX: 0000000000000033
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 00000000200000c0 RSI: 0000000000000000 RDI: 0000000000000008
RBP: 00000000004bf9cb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007fff5da366bf R14: 00007f7c4b060300 R15: 0000000000022000
==================================================================
BUG: unable to handle kernel NULL pointer dereference at           (null)
IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54
PGD b0736067 P4D b0736067 PUD aa05e067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 19688 Comm: syz-executor.5 Tainted: G    B           4.14.226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880aa6cc480 task.stack: ffff88805ade8000
RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54
RSP: 0018:ffff88805adefd88 EFLAGS: 00010246
RAX: ffff88805adefe3a RBX: ffff88805adefe28 RCX: 000000000000003c
RDX: 000000000000003c RSI: 0000000000000000 RDI: ffff88805adefe3a
RBP: ffff88808f5bb440 R08: 0000000000000001 R09: ffffed100b5bdfce
R10: ffff88805adefe75 R11: ffff8880aa6cc480 R12: 0000000000000000
R13: ffff88808f5bb890 R14: 0000000000000000 R15: ffff88805adefe28
FS:  00007f6e1cea1700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000009a673000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memcpy include/linux/string.h:376 [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