[ 32.933655] restorecond (6067) used greatest stack depth: 15232 bytes left [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 33.184481] audit: type=1800 audit(1542154836.882:33): pid=5974 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 33.213386] audit: type=1800 audit(1542154836.892:34): pid=5974 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 [ 34.402227] audit: type=1400 audit(1542154838.102:35): avc: denied { map } for pid=6149 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.71' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 41.174209] audit: type=1400 audit(1542154844.872:36): avc: denied { map } for pid=6163 comm="syz-executor697" path="/root/syz-executor697315096" 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 [ 41.188755] BUG: GPF in non-whitelisted uaccess (non-canonical address?) [ 41.207905] kasan: CONFIG_KASAN_INLINE enabled [ 41.212535] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 41.220108] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 41.226358] CPU: 0 PID: 6163 Comm: syz-executor697 Not tainted 4.20.0-rc2+ #112 [ 41.233783] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.243133] RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 [ 41.249002] Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 1f 00 c3 0f 1f 80 00 00 00 00 0f 1f 00 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 1f 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 83 [ 41.267890] RSP: 0018:ffff8881d188f398 EFLAGS: 00010206 [ 41.273252] RAX: 0000000000000000 RBX: 0000000000000109 RCX: 0000000000000109 [ 41.280506] RDX: 0000000000000109 RSI: 241037f828e5769d RDI: ffff8881ce130738 [ 41.287758] RBP: ffff8881d188f3d0 R08: ffffed1039c26109 R09: ffffed1039c26109 [ 41.295011] R10: ffffed1039c26108 R11: ffff8881ce130840 R12: 241037f828e577a6 [ 41.302273] R13: 241037f828e5769d R14: ffff8881ce130738 R15: ffffffffffffffff [ 41.309527] FS: 0000000001dab880(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 [ 41.317738] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.323602] CR2: 0000000020d83ff8 CR3: 00000001b6a5c000 CR4: 00000000001406f0 [ 41.330854] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.338105] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.345358] Call Trace: [ 41.347935] ? _copy_from_user+0x10d/0x150 [ 41.352158] uhid_dev_create+0x20c/0xb40 [ 41.356211] ? uhid_dev_create2+0x7e0/0x7e0 [ 41.360527] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.366047] uhid_char_write+0xc74/0xef0 [ 41.370095] __vfs_write+0x119/0x9f0 [ 41.373792] ? uhid_hid_stop+0x90/0x90 [ 41.377660] ? kernel_read+0x120/0x120 [ 41.381535] ? dput.part.25+0x241/0x860 [ 41.385492] ? perf_trace_sched_process_exec+0x860/0x860 [ 41.390924] ? lock_downgrade+0x900/0x900 [ 41.395056] ? check_preemption_disabled+0x48/0x280 [ 41.400073] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.405600] __kernel_write+0x10c/0x370 [ 41.409557] write_pipe_buf+0x180/0x240 [ 41.413514] ? do_splice_direct+0x420/0x420 [ 41.417821] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.423354] ? splice_from_pipe_next.part.11+0x296/0x340 [ 41.428789] ? dput.part.25+0x26d/0x860 [ 41.432745] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.438272] __splice_from_pipe+0x38b/0x7c0 [ 41.442579] ? do_splice_direct+0x420/0x420 [ 41.446891] splice_from_pipe+0x1ec/0x340 [ 41.451022] ? do_splice_direct+0x420/0x420 [ 41.455328] ? splice_shrink_spd+0xd0/0xd0 [ 41.459597] default_file_splice_write+0x3c/0x90 [ 41.464331] ? generic_splice_sendpage+0x50/0x50 [ 41.469074] direct_splice_actor+0x128/0x190 [ 41.473463] splice_direct_to_actor+0x318/0x8f0 [ 41.478120] ? __inode_security_revalidate+0xd9/0x120 [ 41.483292] ? pipe_to_sendpage+0x400/0x400 [ 41.487610] ? do_splice_to+0x190/0x190 [ 41.491567] ? security_file_permission+0x1c2/0x220 [ 41.496567] ? rw_verify_area+0x118/0x360 [ 41.500697] do_splice_direct+0x2d4/0x420 [ 41.504829] ? splice_direct_to_actor+0x8f0/0x8f0 [ 41.509705] ? rw_verify_area+0x118/0x360 [ 41.513853] do_sendfile+0x62a/0xe20 [ 41.517554] ? do_compat_pwritev64+0x1c0/0x1c0 [ 41.522122] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.527657] ? _copy_from_user+0xdf/0x150 [ 41.531790] __x64_sys_sendfile64+0x15d/0x250 [ 41.536278] ? __ia32_sys_sendfile+0x2a0/0x2a0 [ 41.540847] do_syscall_64+0x1b9/0x820 [ 41.544805] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 41.550179] ? syscall_return_slowpath+0x5e0/0x5e0 [ 41.555117] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.559946] ? trace_hardirqs_on_caller+0x310/0x310 [ 41.564953] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 41.569964] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.575486] ? prepare_exit_to_usermode+0x291/0x3b0 [ 41.580498] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.585348] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.590517] RIP: 0033:0x440309 [ 41.593691] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 41.612580] RSP: 002b:00007ffcd9cfe2e8 EFLAGS: 00000203 ORIG_RAX: 0000000000000028 [ 41.620274] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440309 [ 41.627522] RDX: 0000000020d83ff8 RSI: 0000000000000004 RDI: 0000000000000003 [ 41.634769] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 41.642023] R10: 00008000fffffffe R11: 0000000000000203 R12: 0000000000401b90 [ 41.649277] R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 [ 41.656539] Modules linked in: [ 41.660544] ---[ end trace d77e684529ebafbc ]--- [ 41.665369] RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 [ 41.671258] Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 1f 00 c3 0f 1f 80 00 00 00 00 0f 1f 00 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 1f 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 83 [ 41.690232] RSP: 0018:ffff8881d188f398 EFLAGS: 00010206 [ 41.695626] RAX: 0000000000000000 RBX: 0000000000000109 RCX: 0000000000000109 [ 41.702880] RDX: 0000000000000109 RSI: 241037f828e5769d RDI: ffff8881ce130738 [ 41.710179] RBP: ffff8881d188f3d0 R08: ffffed1039c26109 R09: ffffed1039c26109 [ 41.717481] R10: ffffed1039c26108 R11: ffff8881ce130840 R12: 241037f828e577a6 [ 41.724737] R13: 241037f828e5769d R14: ffff8881ce130738 R15: ffffffffffffffff [ 41.732029] FS: 0000000001dab880(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 [ 41.740276] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.746231] CR2: 0000000020d83ff8 CR3: 00000001b6a5c000 CR4: 00000000001406f0 [ 41.753522] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.760815] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.768113] Kernel panic - not syncing: Fatal exception [ 41.774516] Kernel Offset: disabled [ 41.778138] Rebooting in 86400 seconds..