[....] 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. [ 31.050770] audit: type=1800 audit(1539482415.428:33): pid=5372 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 [ 31.073352] audit: type=1800 audit(1539482415.428:34): pid=5372 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 [ 31.699444] audit: type=1400 audit(1539482416.078:35): avc: denied { map } for pid=5549 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.110' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 42.562631] audit: type=1400 audit(1539482426.938:36): avc: denied { map } for pid=5564 comm="syz-executor785" path="/root/syz-executor785286379" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 42.567481] kasan: CONFIG_KASAN_INLINE enabled [ 42.593641] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 42.601226] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 42.607464] CPU: 1 PID: 5564 Comm: syz-executor785 Not tainted 4.19.0-rc7+ #61 [ 42.614804] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.624190] RIP: 0010:rb_erase+0x306/0x3710 [ 42.628497] Code: c7 81 28 01 00 00 f2 f2 f2 f2 c7 81 2c 01 00 00 00 f2 f2 f2 48 89 f9 65 48 8b 1c 25 28 00 00 00 48 89 5d d0 31 db 48 c1 e9 03 <42> 80 3c 01 00 0f 85 41 1c 00 00 4c 8d 48 10 4c 8b 78 08 48 b9 00 [ 42.647396] RSP: 0018:ffff8801c671e918 EFLAGS: 00010202 [ 42.652744] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 42.659996] RDX: 1ffff10038ce3d2b RSI: ffffffff8afbc860 RDI: 0000000000000008 [ 42.667247] RBP: ffff8801c671f320 R08: dffffc0000000000 R09: fffffbfff12d6990 [ 42.674499] R10: fffffbfff12d6990 R11: ffffffff896b4c83 R12: ffff8801b13803f0 [ 42.681751] R13: dffffc0000000000 R14: ffff8801c671f2f8 R15: ffff8801c671f438 [ 42.689006] FS: 0000000002055880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 42.697214] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.703079] CR2: 0000000020000080 CR3: 00000001c8cb8000 CR4: 00000000001406e0 [ 42.710332] Call Trace: [ 42.712908] ? lockdep_on+0x50/0x50 [ 42.716522] ? rb_insert_color+0x1460/0x1460 [ 42.720917] ? noop_count+0x40/0x40 [ 42.724531] ? lock_pin_lock+0x350/0x350 [ 42.728581] ? noop_count+0x40/0x40 [ 42.732193] ? kasan_check_read+0x11/0x20 [ 42.736326] ? noop_count+0x40/0x40 [ 42.739939] ? noop_count+0x40/0x40 [ 42.743554] ? lock_pin_lock+0x350/0x350 [ 42.747602] ? mark_held_locks+0x130/0x130 [ 42.751825] ? check_usage_forwards+0x3e0/0x3e0 [ 42.756481] ? __bfs+0x385/0x7a0 [ 42.759830] ? noop_count+0x40/0x40 [ 42.763441] ? check_usage+0x1a9/0x790 [ 42.767314] ? lock_pin_lock+0x350/0x350 [ 42.771376] ? check_usage_forwards+0x3e0/0x3e0 [ 42.776030] ? __bfs+0x385/0x7a0 [ 42.779388] ? __lock_acquire+0x7ec/0x4ec0 [ 42.783608] ? lockdep_on+0x50/0x50 [ 42.787223] ? lock_pin_lock+0x350/0x350 [ 42.791299] ? mark_held_locks+0x130/0x130 [ 42.795536] ? kasan_check_read+0x11/0x20 [ 42.799672] ? __lock_acquire+0x2881/0x4ec0 [ 42.803981] ? mark_held_locks+0x130/0x130 [ 42.808209] ? print_usage_bug+0xc0/0xc0 [ 42.812270] ? _raw_spin_unlock+0x2c/0x50 [ 42.816404] ? graph_lock+0x170/0x170 [ 42.820194] ? ext4_exit_mballoc+0xc0/0xc0 [ 42.824415] ? __lock_acquire+0x7ec/0x4ec0 [ 42.828666] ? find_held_lock+0x36/0x1c0 [ 42.832717] ? mark_held_locks+0x130/0x130 [ 42.836936] ? lock_downgrade+0x900/0x900 [ 42.841094] ? ext4_es_scan+0x960/0x960 [ 42.845074] ? lock_release+0x970/0x970 [ 42.849070] ? do_raw_write_trylock+0x1c0/0x1c0 [ 42.853725] ? kasan_check_write+0x14/0x20 [ 42.857945] ? lock_acquire+0x1ed/0x520 [ 42.861904] ? integrity_inode_free+0x77/0x320 [ 42.866471] ? ext4_es_remove_extent+0x151/0x500 [ 42.871215] ? lock_release+0x970/0x970 [ 42.875177] ? kasan_check_write+0x14/0x20 [ 42.879395] ? do_raw_write_lock+0xbd/0x1b0 [ 42.883705] integrity_inode_free+0x12f/0x320 [ 42.888193] security_inode_free+0x19/0x90 [ 42.892430] __destroy_inode+0x328/0x820 [ 42.896474] ? generic_update_time+0x450/0x450 [ 42.901060] ? evict+0x5d8/0x980 [ 42.904416] ? lock_downgrade+0x900/0x900 [ 42.908552] ? __inode_wait_for_writeback+0x2cf/0x380 [ 42.913730] destroy_inode+0xda/0x200 [ 42.917533] ? __destroy_inode+0x820/0x820 [ 42.921756] ? kasan_check_write+0x14/0x20 [ 42.925978] ? do_raw_spin_lock+0xc1/0x200 [ 42.930218] evict+0x5e0/0x980 [ 42.933412] ? destroy_inode+0x200/0x200 [ 42.937459] ? iput+0x671/0xa90 [ 42.940722] ? lock_downgrade+0x900/0x900 [ 42.944856] ? kasan_check_read+0x11/0x20 [ 42.948989] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 42.953552] ? lock_downgrade+0x900/0x900 [ 42.957684] iput+0x679/0xa90 [ 42.960779] ? inode_add_lru+0x2a0/0x2a0 [ 42.964822] ? up_write+0x7b/0x220 [ 42.968348] ? up_read+0x110/0x110 [ 42.971869] ? up_read+0x110/0x110 [ 42.975415] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.980942] ? check_preemption_disabled+0x48/0x200 [ 42.985946] ext4_ioctl+0x236f/0x4210 [ 42.989733] ? ext4_ioctl_group_add+0x560/0x560 [ 42.994391] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 43.000171] ? kasan_check_read+0x11/0x20 [ 43.004305] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 43.009570] ? rcu_bh_qs+0xc0/0xc0 [ 43.013095] ? unwind_dump+0x190/0x190 [ 43.016969] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.022492] ? avc_has_extended_perms+0xab2/0x15a0 [ 43.027413] ? convert_from_fxsr+0x4a7/0x7d0 [ 43.031809] ? avc_ss_reset+0x190/0x190 [ 43.035882] ? save_stack+0xa9/0xd0 [ 43.039493] ? save_stack+0x43/0xd0 [ 43.043099] ? __kasan_slab_free+0x102/0x150 [ 43.047510] ? kasan_slab_free+0xe/0x10 [ 43.051473] ? kmem_cache_free+0x83/0x290 [ 43.055630] ? putname+0xf2/0x130 [ 43.059072] ? do_sys_open+0x54d/0x700 [ 43.062940] ? __x64_sys_openat+0x9d/0x100 [ 43.067160] ? do_syscall_64+0x1b9/0x820 [ 43.071212] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.076568] ? ___might_sleep+0x1ed/0x300 [ 43.080702] ? arch_local_save_flags+0x40/0x40 [ 43.085281] ? kasan_check_write+0x14/0x20 [ 43.089503] ? trace_hardirqs_off+0xb8/0x310 [ 43.093918] ? ext4_ioctl_group_add+0x560/0x560 [ 43.098578] do_vfs_ioctl+0x1de/0x1720 [ 43.102450] ? ioctl_preallocate+0x300/0x300 [ 43.106847] ? selinux_file_mprotect+0x620/0x620 [ 43.111606] ? path_openat+0x3981/0x5160 [ 43.115655] ? rcu_read_lock_sched_held+0x108/0x120 [ 43.120675] ? kmem_cache_free+0x24f/0x290 [ 43.125074] ? putname+0xf7/0x130 [ 43.128514] ? do_syscall_64+0x9a/0x820 [ 43.132475] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 43.137997] ? security_file_ioctl+0x94/0xc0 [ 43.142389] ksys_ioctl+0xa9/0xd0 [ 43.145823] __x64_sys_ioctl+0x73/0xb0 [ 43.149697] do_syscall_64+0x1b9/0x820 [ 43.153572] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 43.158921] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.163837] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.168666] ? trace_hardirqs_on_caller+0x310/0x310 [ 43.173708] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.178710] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.183714] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.188545] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.193720] RIP: 0033:0x440009 [ 43.196899] 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 [ 43.215870] RSP: 002b:00007ffc2f136f08 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 43.223563] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 43.230818] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 43.238074] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 43.245461] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 43.252715] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 43.259973] Modules linked in: [ 43.263209] ---[ end trace 9fb6ee964bf925cd ]--- [ 43.268148] RIP: 0010:rb_erase+0x306/0x3710 [ 43.272497] Code: c7 81 28 01 00 00 f2 f2 f2 f2 c7 81 2c 01 00 00 00 f2 f2 f2 48 89 f9 65 48 8b 1c 25 28 00 00 00 48 89 5d d0 31 db 48 c1 e9 03 <42> 80 3c 01 00 0f 85 41 1c 00 00 4c 8d 48 10 4c 8b 78 08 48 b9 00 [ 43.291422] RSP: 0018:ffff8801c671e918 EFLAGS: 00010202 [ 43.296793] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 43.304254] RDX: 1ffff10038ce3d2b RSI: ffffffff8afbc860 RDI: 0000000000000008 [ 43.311661] RBP: ffff8801c671f320 R08: dffffc0000000000 R09: fffffbfff12d6990 [ 43.318954] R10: fffffbfff12d6990 R11: ffffffff896b4c83 R12: ffff8801b13803f0 [ 43.326224] R13: dffffc0000000000 R14: ffff8801c671f2f8 R15: ffff8801c671f438 [ 43.333598] FS: 0000000002055880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 43.341880] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 43.347751] CR2: 0000000020000080 CR3: 00000001c8cb8000 CR4: 00000000001406e0 [ 43.355047] Kernel panic - not syncing: Fatal exception [ 43.361357] Kernel Offset: disabled [ 43.364983] Rebooting in 86400 seconds..