random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) audit: type=1400 audit(1571288534.520:36): avc: denied { map } for pid=6984 comm="syz-executor401" path="/root/syz-executor401745791" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 ================================================================== 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+0x38f/0x4a0 net/nfc/llcp_sock.c:532 Read of size 1 at addr (null) by task syz-executor401/6992 at (null) IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 CPU: 0 PID: 6992 Comm: syz-executor401 Not tainted 4.14.149 #0 PGD a9900067 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 P4D a9900067 Call Trace: PUD 7d6fd067 __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x138/0x197 lib/dump_stack.c:53 PMD 0 kasan_report_error mm/kasan/report.c:349 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0x127/0x2af mm/kasan/report.c:393 Oops: 0000 [#1] PREEMPT SMP KASAN check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x123/0x190 mm/kasan/kasan.c:267 Modules linked in: memcpy+0x24/0x50 mm/kasan/kasan.c:302 CPU: 1 PID: 6995 Comm: syz-executor401 Not tainted 4.14.149 #0 memcpy include/linux/string.h:347 [inline] llcp_sock_getname+0x38f/0x4a0 net/nfc/llcp_sock.c:532 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a9294440 task.stack: ffff888098d08000 SYSC_getpeername+0x120/0x270 net/socket.c:1715 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: 0018:ffff888098d0fd20 EFLAGS: 00010246 SyS_getpeername+0x24/0x30 net/socket.c:1699 RAX: ffff888098d0fe0a RBX: ffff888098d0fdf8 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff888098d0fe0a RBP: ffff888098d0fd40 R08: 1ffff110131a1fc1 R09: ffffed10131a1fc2 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 R10: ffffed10131a1fc1 R11: ffff888098d0fe0a R12: 0000000000000001 R13: ffff888098d0fe0a R14: 0000000000000000 R15: ffffffff87069c40 entry_SYSCALL_64_after_hwframe+0x42/0xb7 FS: 0000000001403880(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 RIP: 0033:0x441299 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 RSP: 002b:00007ffd6613ba88 EFLAGS: 00000246 CR2: 0000000000000000 CR3: 000000009dc63000 CR4: 00000000001406e0 ORIG_RAX: 0000000000000034 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441299 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 Call Trace: RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402010 memcpy include/linux/string.h:347 [inline] llcp_sock_getname+0x38f/0x4a0 net/nfc/llcp_sock.c:532 R13: 00000000004020a0 R14: 0000000000000000 R15: 0000000000000000 ================================================================== SYSC_getpeername+0x120/0x270 net/socket.c:1715 SyS_getpeername+0x24/0x30 net/socket.c:1699 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441299 RSP: 002b:00007ffd6613ba88 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402010 R13: 00000000004020a0 R14: 0000000000000000 R15: 0000000000000000 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: ffff888098d0fd20 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 9762e067 P4D 9762e067 PUD a5f17067 PMD 0 Oops: 0000 [#2] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 6993 Comm: syz-executor401 Tainted: G B D 4.14.149 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88807c78c5c0 task.stack: ffff888099378000 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: 0018:ffff88809937fd20 EFLAGS: 00010246 RAX: ffff88809937fe0a RBX: ffff88809937fdf8 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff88809937fe0a RBP: ffff88809937fd40 R08: 1ffff1101326ffc1 R09: ffffed101326ffc2 R10: ffffed101326ffc1 R11: ffff88809937fe0a R12: 0000000000000001 R13: ffff88809937fe0a R14: 0000000000000000 R15: ffffffff87069c40 FS: 0000000001403880(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000099702000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memcpy include/linux/string.h:347 [inline] llcp_sock_getname+0x38f/0x4a0 net/nfc/llcp_sock.c:532 SYSC_getpeername+0x120/0x270 net/socket.c:1715 SyS_getpeername+0x24/0x30 net/socket.c:1699 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441299 RSP: 002b:00007ffd6613ba88 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402010 R13: 00000000004020a0 R14: 0000000000000000 R15: 0000000000000000 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: ffff88809937fd20 CR2: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at (null)