[ 40.247160] audit: type=1800 audit(1571949862.602:30): pid=7470 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2490 res=0 Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 45.937872] kauditd_printk_skb: 4 callbacks suppressed [ 45.937886] audit: type=1400 audit(1571949868.332:35): avc: denied { map } for pid=7645 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.104' (ECDSA) to the list of known hosts. [ 52.490946] audit: type=1400 audit(1571949874.892:36): avc: denied { map } for pid=7657 comm="syz-executor057" path="/root/syz-executor057212939" 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 [ 52.503618] ================================================================== [ 52.520348] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 [ 52.524770] BUG: KASAN: null-ptr-deref in llcp_sock_getname+0x358/0x460 [ 52.532715] PGD 8e51a067 [ 52.539468] Read of size 43 at addr 0000000000000000 by task syz-executor057/7665 [ 52.539476] P4D 8e51a067 [ 52.542211] [ 52.549810] PUD 9a4b3067 [ 52.552557] CPU: 1 PID: 7665 Comm: syz-executor057 Not tainted 4.19.80 #0 [ 52.554158] PMD 0 [ 52.556916] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.565964] Call Trace: [ 52.575304] Oops: 0000 [#1] PREEMPT SMP KASAN [ 52.577899] dump_stack+0x172/0x1f0 [ 52.582381] CPU: 0 PID: 7666 Comm: syz-executor057 Not tainted 4.19.80 #0 [ 52.585995] ? llcp_sock_getname+0x358/0x460 [ 52.592895] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.597288] kasan_report.cold+0x199/0x2ba [ 52.606628] RIP: 0010:memcpy_erms+0x6/0x10 [ 52.610846] check_memory_region+0x123/0x190 [ 52.615060] 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 [ 52.619454] memcpy+0x24/0x50 [ 52.638337] RSP: 0018:ffff8880811e7d50 EFLAGS: 00010246 [ 52.641434] llcp_sock_getname+0x358/0x460 [ 52.641449] __sys_getpeername+0x12b/0x290 [ 52.646789] RAX: ffff8880811e7e12 RBX: ffff8880811e7e00 RCX: 000000000000002b [ 52.651009] ? __ia32_sys_getsockname+0xb0/0xb0 [ 52.655220] RDX: 000000000000002b RSI: 0000000000000000 RDI: ffff8880811e7e12 [ 52.662486] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.667127] RBP: ffff8880811e7d70 R08: 1ffff1101023cfc2 R09: ffffed101023cfc8 [ 52.674388] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.679123] R10: ffffed101023cfc7 R11: ffff8880811e7e3c R12: 000000000000002b [ 52.686390] ? do_syscall_64+0x26/0x620 [ 52.691120] R13: ffff8880811e7e12 R14: 0000000000000000 R15: ffffffff87fbf4a0 [ 52.698383] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.702332] FS: 0000000000829880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 52.709590] ? do_syscall_64+0x26/0x620 [ 52.714928] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.723153] __x64_sys_getpeername+0x73/0xb0 [ 52.727101] CR2: 0000000000000000 CR3: 00000000a4bcb000 CR4: 00000000001406f0 [ 52.732972] do_syscall_64+0xfd/0x620 [ 52.737353] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 52.744735] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.748536] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 52.755792] RIP: 0033:0x4412b9 [ 52.760957] Call Trace: [ 52.768216] 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 [ 52.771407] ? memcpy+0x46/0x50 [ 52.773966] RSP: 002b:00007ffc4b6211e8 EFLAGS: 00000246 [ 52.792861] llcp_sock_getname+0x358/0x460 [ 52.796130] ORIG_RAX: 0000000000000034 [ 52.801480] __sys_getpeername+0x12b/0x290 [ 52.805687] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9 [ 52.809749] ? __ia32_sys_getsockname+0xb0/0xb0 [ 52.813961] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 52.821225] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.825878] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 52.833138] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.837875] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402030 [ 52.846265] ? do_syscall_64+0x26/0x620 [ 52.850995] R13: 00000000004020c0 R14: 0000000000000000 R15: 0000000000000000 [ 52.859039] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.862988] ================================================================== [ 52.870258] ? do_syscall_64+0x26/0x620 [ 52.882269] Kernel panic - not syncing: panic_on_warn set ... [ 52.882269] [ 52.883001] __x64_sys_getpeername+0x73/0xb0 [ 52.898712] do_syscall_64+0xfd/0x620 [ 52.902612] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.907900] RIP: 0033:0x4412b9 [ 52.911089] 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 [ 52.930008] RSP: 002b:00007ffc4b6211e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000034 [ 52.937731] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004412b9 [ 52.944992] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 52.952254] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 52.960556] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402030 [ 52.967835] R13: 00000000004020c0 R14: 0000000000000000 R15: 0000000000000000 [ 52.975115] Modules linked in: [ 52.978307] CR2: 0000000000000000 [ 52.983047] Kernel Offset: disabled [ 52.986781] Rebooting in 86400 seconds..