[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 30.691389] kauditd_printk_skb: 9 callbacks suppressed [ 30.691417] audit: type=1800 audit(1538124573.633:33): pid=5362 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 [ 30.718441] audit: type=1800 audit(1538124573.633:34): pid=5362 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 syzkaller login: [ 33.669885] audit: type=1400 audit(1538124576.613:35): avc: denied { map } for pid=5537 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.10.12' (ECDSA) to the list of known hosts. executing program [ 40.343106] audit: type=1400 audit(1538124583.293:36): avc: denied { map } for pid=5552 comm="syz-executor174" path="/root/syz-executor174508359" 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 [ 40.348052] kasan: CONFIG_KASAN_INLINE enabled [ 40.374381] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 40.381820] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 40.388087] CPU: 1 PID: 5552 Comm: syz-executor174 Not tainted 4.19.0-rc5+ #36 [ 40.395473] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.405243] RIP: 0010:rb_erase+0x306/0x3710 [ 40.409563] 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 [ 40.428988] RSP: 0018:ffff8801c4196918 EFLAGS: 00010202 [ 40.434351] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 40.441733] RDX: 1ffff10038832d2b RSI: ffffffff8b5a08a0 RDI: 0000000000000008 [ 40.449008] RBP: ffff8801c4197320 R08: dffffc0000000000 R09: fffffbfff135d5c8 [ 40.456276] R10: fffffbfff135d5c8 R11: ffffffff89aeae43 R12: ffff8801b0fa43f0 [ 40.463658] R13: dffffc0000000000 R14: ffff8801c41972f8 R15: ffff8801c4197438 [ 40.470926] FS: 0000000000e5a880(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000 [ 40.479356] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 40.485238] CR2: 0000000020000000 CR3: 00000001c4879000 CR4: 00000000001406e0 [ 40.492506] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 40.499856] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 40.507147] Call Trace: [ 40.509735] ? lockdep_on+0x50/0x50 [ 40.513362] ? rb_insert_color+0x1460/0x1460 [ 40.518230] ? noop_count+0x40/0x40 [ 40.521855] ? lock_pin_lock+0x350/0x350 [ 40.525921] ? noop_count+0x40/0x40 [ 40.529543] ? kasan_check_read+0x11/0x20 [ 40.533687] ? noop_count+0x40/0x40 [ 40.537312] ? noop_count+0x40/0x40 [ 40.541243] ? lock_pin_lock+0x350/0x350 [ 40.545422] ? mark_held_locks+0x130/0x130 [ 40.549653] ? check_usage_forwards+0x3e0/0x3e0 [ 40.554319] ? __bfs+0x385/0x7a0 [ 40.557677] ? noop_count+0x40/0x40 [ 40.561299] ? check_usage+0x1a9/0x790 [ 40.565184] ? lock_pin_lock+0x350/0x350 [ 40.569243] ? check_usage_forwards+0x3e0/0x3e0 [ 40.573934] ? __bfs+0x385/0x7a0 [ 40.577304] ? __lock_acquire+0x7ec/0x4ec0 [ 40.581536] ? lockdep_on+0x50/0x50 [ 40.585189] ? lock_pin_lock+0x350/0x350 [ 40.589253] ? mark_held_locks+0x130/0x130 [ 40.593486] ? kasan_check_read+0x11/0x20 [ 40.597629] ? __lock_acquire+0x2881/0x4ec0 [ 40.601952] ? mark_held_locks+0x130/0x130 [ 40.606184] ? print_usage_bug+0xc0/0xc0 [ 40.610339] ? _raw_spin_unlock+0x2c/0x50 [ 40.614622] ? graph_lock+0x170/0x170 [ 40.618422] ? ext4_exit_mballoc+0xc0/0xc0 [ 40.622658] ? __lock_acquire+0x7ec/0x4ec0 [ 40.626890] ? find_held_lock+0x36/0x1c0 [ 40.630948] ? mark_held_locks+0x130/0x130 [ 40.635180] ? lock_downgrade+0x900/0x900 [ 40.639325] ? ext4_es_scan+0x960/0x960 [ 40.643300] ? do_raw_write_trylock+0x1c0/0x1c0 [ 40.647965] ? kasan_check_write+0x14/0x20 [ 40.652197] ? lock_acquire+0x1ed/0x520 [ 40.656172] ? integrity_inode_free+0x77/0x320 [ 40.660748] ? ext4_es_remove_extent+0x151/0x500 [ 40.665500] ? lock_release+0x970/0x970 [ 40.669470] ? kasan_check_write+0x14/0x20 [ 40.673699] ? do_raw_write_lock+0xbd/0x1b0 [ 40.678147] integrity_inode_free+0x12f/0x320 [ 40.682645] security_inode_free+0x19/0x90 [ 40.686881] __destroy_inode+0x328/0x820 [ 40.690937] ? generic_update_time+0x450/0x450 [ 40.695513] ? evict+0x5d8/0x980 [ 40.698881] ? lock_downgrade+0x900/0x900 [ 40.703027] ? __inode_wait_for_writeback+0x2cf/0x380 [ 40.708218] destroy_inode+0xda/0x200 [ 40.712017] ? __destroy_inode+0x820/0x820 [ 40.716244] ? kasan_check_write+0x14/0x20 [ 40.720473] ? do_raw_spin_lock+0xc1/0x200 [ 40.724705] evict+0x5e0/0x980 [ 40.727896] ? destroy_inode+0x200/0x200 [ 40.731953] ? iput+0x671/0xa90 [ 40.735228] ? lock_downgrade+0x900/0x900 [ 40.739373] ? kasan_check_read+0x11/0x20 [ 40.743520] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 40.748101] ? lock_downgrade+0x900/0x900 [ 40.752273] iput+0x679/0xa90 [ 40.755377] ? inode_add_lru+0x2a0/0x2a0 [ 40.759437] ? up_write+0x7b/0x220 [ 40.762975] ? up_read+0x110/0x110 [ 40.766507] ? up_read+0x110/0x110 [ 40.770045] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.775577] ? check_preemption_disabled+0x48/0x200 [ 40.780595] ext4_ioctl+0x236f/0x4210 [ 40.784398] ? ext4_ioctl_group_add+0x560/0x560 [ 40.789275] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 40.795071] ? kasan_check_read+0x11/0x20 [ 40.799217] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 40.804696] ? rcu_bh_qs+0xc0/0xc0 [ 40.808512] ? unwind_dump+0x190/0x190 [ 40.812400] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.817933] ? avc_has_extended_perms+0xab2/0x15a0 [ 40.822904] ? regset_tls_active+0x67/0xc0 [ 40.827155] ? avc_ss_reset+0x190/0x190 [ 40.831147] ? save_stack+0xa9/0xd0 [ 40.834773] ? save_stack+0x43/0xd0 [ 40.838394] ? __kasan_slab_free+0x102/0x150 [ 40.842901] ? kasan_slab_free+0xe/0x10 [ 40.846880] ? kmem_cache_free+0x83/0x290 [ 40.851023] ? putname+0xf2/0x130 [ 40.854474] ? do_sys_open+0x54d/0x700 [ 40.858356] ? __x64_sys_openat+0x9d/0x100 [ 40.862676] ? do_syscall_64+0x1b9/0x820 [ 40.866817] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.872190] ? ___might_sleep+0x1ed/0x300 [ 40.876334] ? arch_local_save_flags+0x40/0x40 [ 40.880908] ? kasan_check_write+0x14/0x20 [ 40.885250] ? trace_hardirqs_off+0xb8/0x310 [ 40.889659] ? ext4_ioctl_group_add+0x560/0x560 [ 40.894327] do_vfs_ioctl+0x1de/0x1720 [ 40.898627] ? ioctl_preallocate+0x300/0x300 [ 40.903037] ? selinux_file_mprotect+0x620/0x620 [ 40.907883] ? path_lookupat.isra.43+0x2e1/0xc00 [ 40.912640] ? rcu_read_lock_sched_held+0x108/0x120 [ 40.917652] ? kmem_cache_free+0x24f/0x290 [ 40.922194] ? putname+0xf7/0x130 [ 40.925650] ? do_syscall_64+0x9a/0x820 [ 40.929625] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.935186] ? security_file_ioctl+0x94/0xc0 [ 40.939743] ksys_ioctl+0xa9/0xd0 [ 40.943194] __x64_sys_ioctl+0x73/0xb0 [ 40.947081] do_syscall_64+0x1b9/0x820 [ 40.950966] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 40.956472] ? syscall_return_slowpath+0x5e0/0x5e0 [ 40.961410] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.966253] ? trace_hardirqs_on_caller+0x310/0x310 [ 40.971300] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 40.976323] ? prepare_exit_to_usermode+0x291/0x3b0 [ 40.981339] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.986190] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.991460] RIP: 0033:0x440029 [ 40.994652] 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.013662] RSP: 002b:00007ffdc47b01e8 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 41.021368] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440029 [ 41.028633] RDX: 0000000000440029 RSI: 0000000000006611 RDI: 0000000000000003 [ 41.035899] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 41.043177] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018b0 [ 41.050531] R13: 0000000000401940 R14: 0000000000000000 R15: 0000000000000000 [ 41.057798] Modules linked in: [ 41.061032] ---[ end trace e9e38d7985a3240d ]--- [ 41.065818] RIP: 0010:rb_erase+0x306/0x3710 [ 41.070162] 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 [ 41.089091] RSP: 0018:ffff8801c4196918 EFLAGS: 00010202 [ 41.094508] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 41.101813] RDX: 1ffff10038832d2b RSI: ffffffff8b5a08a0 RDI: 0000000000000008 [ 41.109091] RBP: ffff8801c4197320 R08: dffffc0000000000 R09: fffffbfff135d5c8 [ 41.116417] R10: fffffbfff135d5c8 R11: ffffffff89aeae43 R12: ffff8801b0fa43f0 [ 41.123710] R13: dffffc0000000000 R14: ffff8801c41972f8 R15: ffff8801c4197438 [ 41.131100] FS: 0000000000e5a880(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000 [ 41.139376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.145282] CR2: 0000000020000000 CR3: 00000001c4879000 CR4: 00000000001406e0 [ 41.152584] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.159864] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.167188] Kernel panic - not syncing: Fatal exception [ 41.173781] Kernel Offset: disabled [ 41.177414] Rebooting in 86400 seconds..