IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready 8021q: adding VLAN 0 to HW filter on device batadv0 ================================================================== BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:377 [inline] BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x341/0x440 net/nfc/llcp_sock.c:531 PGD 1ef25c067 P4D 1ef25c067 PUD 1cf804067 PMD 0 Read of size 1 at addr 0000000000000000 by task syz-executor.5/7312 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7313 Comm: syz-executor.0 Not tainted 4.19.183-syzkaller #0 CPU: 0 PID: 7312 Comm: syz-executor.5 Not tainted 4.19.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 Call Trace: Code: 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 fe __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x171 lib/dump_stack.c:118 RSP: 0018:ffff8881c8b0fcf0 EFLAGS: 00010246 kasan_report_error mm/kasan/report.c:352 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold.9+0x6d/0x2fe mm/kasan/report.c:396 RAX: ffff8881c8b0fe12 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8881c8b0fe12 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13e/0x1b0 mm/kasan/kasan.c:267 RBP: ffff8881c8b0fd10 R08: ffffed1039161fc3 R09: ffffed1039161fc2 R10: ffffed1039161fc2 R11: ffff8881c8b0fe12 R12: ffff8881c8b0fe12 memcpy+0x23/0x50 mm/kasan/kasan.c:302 R13: 0000000000000000 R14: ffff8881cc5a8580 R15: 0000000000000000 memcpy include/linux/string.h:377 [inline] llcp_sock_getname+0x341/0x440 net/nfc/llcp_sock.c:531 FS: 00007f03b5db4700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 __sys_getpeername+0x123/0x220 net/socket.c:1735 CR2: 0000000000000000 CR3: 00000001ea2d9005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_sys_getpeername net/socket.c:1748 [inline] __se_sys_getpeername net/socket.c:1745 [inline] __x64_sys_getpeername+0x6e/0xb0 net/socket.c:1745 memcpy include/linux/string.h:377 [inline] llcp_sock_getname+0x341/0x440 net/nfc/llcp_sock.c:531 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe __sys_getpeername+0x123/0x220 net/socket.c:1735 RIP: 0033:0x462029 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f90fb5801a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000462029 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 __do_sys_getpeername net/socket.c:1748 [inline] __se_sys_getpeername net/socket.c:1745 [inline] __x64_sys_getpeername+0x6e/0xb0 net/socket.c:1745 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff entry_SYSCALL_64_after_hwframe+0x49/0xbe R13: 00000000004ed550 R14: 00000000004ad1fd R15: 00007f90fb5806bc RIP: 0033:0x462029 ================================================================== Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f03b5db41a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000462029 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ed550 R14: 00000000004ad1fd R15: 00007f03b5db46bc Modules linked in: CR2: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD 1f2b65067 P4D 1f2b65067 PUD 1e8246067 PMD 0 ---[ end trace aa71688d25f543db ]--- Oops: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 7312 Comm: syz-executor.5 Tainted: G B D 4.19.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 Code: 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 fe RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 RSP: 0018:ffff8881c8af7cf0 EFLAGS: 00010246 RAX: ffff8881c8af7e12 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8881c8af7e12 RBP: ffff8881c8af7d10 R08: ffffed103915efc3 R09: ffffed103915efc2 R10: ffffed103915efc2 R11: ffff8881c8af7e12 R12: ffff8881c8af7e12 R13: 0000000000000000 R14: ffff8881e41891c0 R15: 0000000000000000 FS: 00007f90fb580700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001ea5b5001 CR4: 00000000001606f0 Code: 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 fe DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memcpy include/linux/string.h:377 [inline] llcp_sock_getname+0x341/0x440 net/nfc/llcp_sock.c:531 __sys_getpeername+0x123/0x220 net/socket.c:1735 __do_sys_getpeername net/socket.c:1748 [inline] __se_sys_getpeername net/socket.c:1745 [inline] __x64_sys_getpeername+0x6e/0xb0 net/socket.c:1745 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 RSP: 0018:ffff8881c8b0fcf0 EFLAGS: 00010246 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x462029 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f90fb5801a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000462029 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ed550 R14: 00000000004ad1fd R15: 00007f90fb5806bc Modules linked in: CR2: 0000000000000000 ---[ end trace aa71688d25f543dc ]--- RAX: ffff8881c8b0fe12 RBX: 0000000000000001 RCX: 0000000000000001 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8881c8b0fe12 Code: 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 fe RBP: ffff8881c8b0fd10 R08: ffffed1039161fc3 R09: ffffed1039161fc2 RSP: 0018:ffff8881c8b0fcf0 EFLAGS: 00010246 R10: ffffed1039161fc2 R11: ffff8881c8b0fe12 R12: ffff8881c8b0fe12 RAX: ffff8881c8b0fe12 RBX: 0000000000000001 RCX: 0000000000000001 R13: 0000000000000000 R14: ffff8881cc5a8580 R15: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8881c8b0fe12 FS: 00007f03b5db4700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 RBP: ffff8881c8b0fd10 R08: ffffed1039161fc3 R09: ffffed1039161fc2 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R10: ffffed1039161fc2 R11: ffff8881c8b0fe12 R12: ffff8881c8b0fe12 CR2: 00007f0968862018 CR3: 00000001ea2d9006 CR4: 00000000001606e0 R13: 0000000000000000 R14: ffff8881cc5a8580 R15: 0000000000000000 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 FS: 00007f90fb580700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033