Warning: Permanently added '10.128.0.204' (ECDSA) to the list of known hosts. [ 45.902739] audit: type=1400 audit(1571668306.657:36): avc: denied { map } for pid=7501 comm="syz-executor725" path="/root/syz-executor725997888" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 45.914278] ================================================================== [ 45.931877] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 [ 45.936418] BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x358/0x460 [ 45.944363] PGD 8f0b8067 [ 45.951091] Read of size 63 at addr 0000000000000000 by task syz-executor725/7509 [ 45.951099] P4D 8f0b8067 [ 45.953832] [ 45.961431] PUD 998b2067 [ 45.964191] CPU: 1 PID: 7509 Comm: syz-executor725 Not tainted 4.19.80 #0 [ 45.965787] PMD 0 [ 45.968525] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.977553] Call Trace: [ 45.986887] Oops: 0000 [#1] PREEMPT SMP KASAN [ 45.989455] dump_stack+0x172/0x1f0 [ 45.993932] CPU: 0 PID: 7510 Comm: syz-executor725 Not tainted 4.19.80 #0 [ 45.997542] ? llcp_sock_getname+0x358/0x460 [ 46.004447] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.008839] kasan_report.cold+0x199/0x2ba [ 46.018208] RIP: 0010:memcpy_erms+0x6/0x10 [ 46.022431] check_memory_region+0x123/0x190 [ 46.026638] 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 [ 46.031022] memcpy+0x24/0x50 [ 46.049900] RSP: 0018:ffff888092017ba8 EFLAGS: 00010246 [ 46.052994] llcp_sock_getname+0x358/0x460 [ 46.058337] RAX: ffff888092017d32 RBX: ffff888092017d20 RCX: 000000000000003f [ 46.062549] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 46.069812] RDX: 000000000000003f RSI: 0000000000000000 RDI: ffff888092017d32 [ 46.074982] sock_getsockopt+0x149a/0x1c66 [ 46.083526] RBP: ffff888092017bc8 R08: 1ffff11012402fa6 R09: ffffed1012402faf [ 46.087739] ? release_sock+0x156/0x1c0 [ 46.094992] R10: ffffed1012402fae R11: ffff888092017d70 R12: 000000000000003f [ 46.098949] ? sk_get_meminfo+0x4d0/0x4d0 [ 46.106194] R13: ffff888092017d32 R14: 0000000000000000 R15: ffff888094985b00 [ 46.110325] ? selinux_secmark_relabel_packet+0xe0/0xe0 [ 46.117576] FS: 0000000001aa8880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 46.122924] ? selinux_socket_getsockopt+0x36/0x40 [ 46.131203] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.136112] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.141967] CR2: 0000000000000000 CR3: 000000009c201000 CR4: 00000000001406f0 [ 46.147489] ? security_socket_getsockopt+0x8d/0xc0 [ 46.154732] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 46.159731] __sys_getsockopt+0x213/0x240 [ 46.166973] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 46.171103] ? kernel_setsockopt+0x1d0/0x1d0 [ 46.178612] Call Trace: [ 46.183014] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.185574] ? memcpy+0x46/0x50 [ 46.190317] ? do_syscall_64+0x26/0x620 [ 46.193583] llcp_sock_getname+0x358/0x460 [ 46.197533] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.201742] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 46.207081] ? do_syscall_64+0x26/0x620 [ 46.212250] sock_getsockopt+0x149a/0x1c66 [ 46.216199] __x64_sys_getsockopt+0xbe/0x150 [ 46.220410] ? release_sock+0x156/0x1c0 [ 46.224802] do_syscall_64+0xfd/0x620 [ 46.228751] ? sk_get_meminfo+0x4d0/0x4d0 [ 46.232528] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.236651] ? selinux_secmark_relabel_packet+0xe0/0xe0 [ 46.241816] RIP: 0033:0x4412b9 [ 46.247162] ? selinux_socket_getsockopt+0x36/0x40 [ 46.250337] Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 46.255242] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.274116] RSP: 002b:00007ffd270acb18 EFLAGS: 00000246 [ 46.279633] ? security_socket_getsockopt+0x8d/0xc0 [ 46.279636] ORIG_RAX: 0000000000000037 [ 46.279647] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9 [ 46.285002] __sys_getsockopt+0x213/0x240 [ 46.289988] RDX: 000000000000001c RSI: 0000000000000001 RDI: 0000000000000003 [ 46.293951] ? kernel_setsockopt+0x1d0/0x1d0 [ 46.301216] RBP: 00000000006cb018 R08: 0000000020000140 R09: 00000000004002c8 [ 46.305366] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.312594] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402030 [ 46.316981] ? do_syscall_64+0x26/0x620 [ 46.324224] R13: 00000000004020c0 R14: 0000000000000000 R15: 0000000000000000 [ 46.328966] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.336213] ================================================================== [ 46.340169] ? do_syscall_64+0x26/0x620 [ 46.354123] Kernel panic - not syncing: panic_on_warn set ... [ 46.354123] [ 46.360127] __x64_sys_getsockopt+0xbe/0x150 [ 46.375861] do_syscall_64+0xfd/0x620 [ 46.379656] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.384831] RIP: 0033:0x4412b9 [ 46.388013] Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 46.406900] RSP: 002b:00007ffd270acb18 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 [ 46.414621] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9 [ 46.421890] RDX: 000000000000001c RSI: 0000000000000001 RDI: 0000000000000003 [ 46.429153] RBP: 00000000006cb018 R08: 0000000020000140 R09: 00000000004002c8 [ 46.436413] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402030 [ 46.443669] R13: 00000000004020c0 R14: 0000000000000000 R15: 0000000000000000 [ 46.450945] Modules linked in: [ 46.454124] CR2: 0000000000000000 [ 46.458989] Kernel Offset: disabled [ 46.462620] Rebooting in 86400 seconds..