vxfs: WRONG superblock magic 00000008 at 1 ================================================================== 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 49 at addr (null) by task syz-executor.5/10250 CPU: 1 PID: 10250 Comm: syz-executor.5 Not tainted 4.14.221-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:372 [inline] llcp_sock_getname+0x38c/0x580 net/nfc/llcp_sock.c:532 sock_getsockopt+0xcd6/0x1a20 net/core/sock.c:1276 SYSC_getsockopt net/socket.c:1892 [inline] SyS_getsockopt+0x18e/0x1c0 net/socket.c:1878 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465ef9 RSP: 002b:00007f5314a76188 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9 RDX: 000000000000001c RSI: 0000000000000001 RDI: 0000000000000008 RBP: 00000000004bcd1c R08: 00000000200001c0 R09: 0000000000000000 R10: 0000000020000440 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffeacb1810f R14: 00007f5314a76300 R15: 0000000000022000 ================================================================== vxfs: WRONG superblock magic 00000000 at 8