IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 ================================================================== BUG: unable to handle kernel NULL pointer dereference BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:347 [inline] BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x378/0x480 net/nfc/llcp_sock.c:532 Read of size 3 at addr (null) by task syz-executor.4/7229 at (null) IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 CPU: 0 PID: 7229 Comm: syz-executor.4 Not tainted 4.14.175-syzkaller #0 PGD a5e2f067 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 P4D a5e2f067 Call Trace: PUD 92352067 __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 PMD 0 kasan_report_error mm/kasan/report.c:349 [inline] kasan_report.cold.8+0x6d/0x2d3 mm/kasan/report.c:409 Oops: 0000 [#1] PREEMPT SMP KASAN check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13e/0x1b0 mm/kasan/kasan.c:267 Modules linked in: memcpy+0x23/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:347 [inline] llcp_sock_getname+0x378/0x480 net/nfc/llcp_sock.c:532 CPU: 1 PID: 7227 Comm: syz-executor.0 Not tainted 4.14.175-syzkaller #0 SYSC_getpeername+0x122/0x250 net/socket.c:1715 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808da1a1c0 task.stack: ffff888082ec0000 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: 0018:ffff888082ec7cb8 EFLAGS: 00010246 RAX: ffff888082ec7e22 RBX: 0000000000000003 RCX: 0000000000000003 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffff888082ec7e22 SyS_getpeername+0x9/0x10 net/socket.c:1699 RBP: ffff888082ec7cd8 R08: ffffed10105d8fc5 R09: ffffed10105d8fc4 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 R10: ffffed10105d8fc4 R11: ffff888082ec7e24 R12: ffff888082ec7e22 R13: 0000000000000000 R14: ffff88808f098790 R15: 0000000000000000 FS: 00007fd1139b2700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 entry_SYSCALL_64_after_hwframe+0x42/0xb7 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 RIP: 0033:0x459f39 CR2: 0000000000000000 CR3: 00000000a5e2e000 CR4: 00000000001406e0 RSP: 002b:00007f6423d79c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f39 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 Call Trace: RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6423d7a6d4 R13: 00000000004c0bd0 R14: 00000000004d3668 R15: 00000000ffffffff memcpy include/linux/string.h:347 [inline] llcp_sock_getname+0x378/0x480 net/nfc/llcp_sock.c:532 ================================================================== SYSC_getpeername+0x122/0x250 net/socket.c:1715 SyS_getpeername+0x9/0x10 net/socket.c:1699 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459f39 RSP: 002b:00007fd1139b1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd1139b26d4 R13: 00000000004c0bd0 R14: 00000000004d3668 R15: 00000000ffffffff Code: 90 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 RIP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: ffff888082ec7cb8 CR2: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at (null) IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 PGD 8d5d3067 P4D 8d5d3067 PUD 8d5d4067 PMD 0 Oops: 0000 [#2] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 7235 Comm: syz-executor.3 Tainted: G B D 4.14.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808cb9e3c0 task.stack: ffff88808d778000 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: 0018:ffff88808d77fcb8 EFLAGS: 00010246 ---[ end trace 42f65e13bbbe7117 ]--- RAX: ffff88808d77fe22 RBX: 0000000000000003 RCX: 0000000000000003 RDX: 0000000000000003 RSI: 0000000000000000 RDI: ffff88808d77fe22 RBP: ffff88808d77fcd8 R08: ffffed1011aeffc5 R09: ffffed1011aeffc4 R10: ffffed1011aeffc4 R11: ffff88808d77fe24 R12: ffff88808d77fe22 R13: 0000000000000000 R14: ffff8880a0ba91d0 R15: 0000000000000000 FS: 00007fe5cacd9700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000008d5d2000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000