[....] 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.071877] kauditd_printk_skb: 9 callbacks suppressed [ 30.071889] audit: type=1800 audit(1537943665.798:33): pid=5343 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.100698] audit: type=1800 audit(1537943665.798:34): pid=5343 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: [ 34.810554] audit: type=1400 audit(1537943670.538:35): avc: denied { map } for pid=5520 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.42' (ECDSA) to the list of known hosts. executing program [ 41.565119] audit: type=1400 audit(1537943677.288:36): avc: denied { map } for pid=5534 comm="syz-executor985" path="/root/syz-executor985119704" 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 [ 41.571062] kasan: CONFIG_KASAN_INLINE enabled [ 41.596234] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 41.603947] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 41.610278] CPU: 0 PID: 5534 Comm: syz-executor985 Not tainted 4.19.0-rc5+ #33 [ 41.617658] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.627087] RIP: 0010:rb_erase+0x306/0x3710 [ 41.631408] 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.650352] RSP: 0018:ffff8801bb0a6918 EFLAGS: 00010202 [ 41.655710] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 41.663121] RDX: 1ffff10037614d2b RSI: ffffffff8b5a08a0 RDI: 0000000000000008 [ 41.670464] RBP: ffff8801bb0a7320 R08: dffffc0000000000 R09: fffffbfff135d5c8 [ 41.677783] R10: fffffbfff135d5c8 R11: ffffffff89aeae43 R12: ffff8801bac24830 [ 41.685100] R13: dffffc0000000000 R14: ffff8801bb0a72f8 R15: ffff8801bb0a7438 [ 41.692421] FS: 0000000000836880(0000) GS:ffff8801dac00000(0000) knlGS:0000000000000000 [ 41.700667] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.706541] CR2: 0000000020000080 CR3: 00000001b397a000 CR4: 00000000001406f0 [ 41.713807] Call Trace: [ 41.716441] ? lockdep_on+0x50/0x50 [ 41.720352] ? rb_insert_color+0x1460/0x1460 [ 41.724756] ? noop_count+0x40/0x40 [ 41.728375] ? lock_pin_lock+0x350/0x350 [ 41.732433] ? noop_count+0x40/0x40 [ 41.736106] ? kasan_check_read+0x11/0x20 [ 41.740277] ? noop_count+0x40/0x40 [ 41.743909] ? noop_count+0x40/0x40 [ 41.747686] ? lock_pin_lock+0x350/0x350 [ 41.751747] ? mark_held_locks+0x130/0x130 [ 41.755977] ? check_usage_forwards+0x3e0/0x3e0 [ 41.760758] ? __bfs+0x385/0x7a0 [ 41.764252] ? noop_count+0x40/0x40 [ 41.767877] ? check_usage+0x1a9/0x790 [ 41.771762] ? lock_pin_lock+0x350/0x350 [ 41.775818] ? check_usage_forwards+0x3e0/0x3e0 [ 41.780530] ? __bfs+0x385/0x7a0 [ 41.783898] ? __lock_acquire+0x7ec/0x4ec0 [ 41.788128] ? lockdep_on+0x50/0x50 [ 41.791754] ? lock_pin_lock+0x350/0x350 [ 41.795815] ? mark_held_locks+0x130/0x130 [ 41.800045] ? kasan_check_read+0x11/0x20 [ 41.804186] ? __lock_acquire+0x2881/0x4ec0 [ 41.808591] ? mark_held_locks+0x130/0x130 [ 41.812843] ? print_usage_bug+0xc0/0xc0 [ 41.816903] ? _raw_spin_unlock+0x2c/0x50 [ 41.821048] ? graph_lock+0x170/0x170 [ 41.824845] ? ext4_exit_mballoc+0xc0/0xc0 [ 41.829207] ? __lock_acquire+0x7ec/0x4ec0 [ 41.833487] ? find_held_lock+0x36/0x1c0 [ 41.837552] ? mark_held_locks+0x130/0x130 [ 41.841782] ? lock_downgrade+0x900/0x900 [ 41.845923] ? ext4_es_scan+0x960/0x960 [ 41.849893] ? lock_release+0x970/0x970 [ 41.853866] ? do_raw_write_trylock+0x1c0/0x1c0 [ 41.858528] ? kasan_check_write+0x14/0x20 [ 41.862757] ? lock_acquire+0x1ed/0x520 [ 41.866727] ? integrity_inode_free+0x77/0x320 [ 41.871305] ? ext4_es_remove_extent+0x151/0x500 [ 41.876065] ? lock_release+0x970/0x970 [ 41.880057] ? kasan_check_write+0x14/0x20 [ 41.884286] ? do_raw_write_lock+0xbd/0x1b0 [ 41.888603] integrity_inode_free+0x12f/0x320 [ 41.893128] security_inode_free+0x19/0x90 [ 41.897361] __destroy_inode+0x328/0x820 [ 41.901418] ? generic_update_time+0x450/0x450 [ 41.905995] ? evict+0x5d8/0x980 [ 41.909357] ? lock_downgrade+0x900/0x900 [ 41.913500] ? __inode_wait_for_writeback+0x2cf/0x380 [ 41.918742] destroy_inode+0xda/0x200 [ 41.922540] ? __destroy_inode+0x820/0x820 [ 41.926771] ? kasan_check_write+0x14/0x20 [ 41.931054] ? do_raw_spin_lock+0xc1/0x200 [ 41.935284] evict+0x5e0/0x980 [ 41.938473] ? destroy_inode+0x200/0x200 [ 41.942532] ? iput+0x671/0xa90 [ 41.945858] ? lock_downgrade+0x900/0x900 [ 41.950053] ? kasan_check_read+0x11/0x20 [ 41.954271] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 41.958895] ? lock_downgrade+0x900/0x900 [ 41.963040] iput+0x679/0xa90 [ 41.966142] ? inode_add_lru+0x2a0/0x2a0 [ 41.970211] ? up_write+0x7b/0x220 [ 41.973744] ? up_read+0x110/0x110 [ 41.977324] ? up_read+0x110/0x110 [ 41.980865] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.986557] ? check_preemption_disabled+0x48/0x200 [ 41.991692] ext4_ioctl+0x236f/0x4210 [ 41.995535] ? ext4_ioctl_group_add+0x560/0x560 [ 42.000207] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 42.005994] ? kasan_check_read+0x11/0x20 [ 42.010138] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 42.015410] ? rcu_bh_qs+0xc0/0xc0 [ 42.018950] ? unwind_dump+0x190/0x190 [ 42.022901] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.028434] ? avc_has_extended_perms+0xab2/0x15a0 [ 42.033417] ? regset_tls_active+0x67/0xc0 [ 42.037668] ? avc_ss_reset+0x190/0x190 [ 42.041771] ? save_stack+0xa9/0xd0 [ 42.045458] ? save_stack+0x43/0xd0 [ 42.049086] ? __kasan_slab_free+0x102/0x150 [ 42.053493] ? kasan_slab_free+0xe/0x10 [ 42.057462] ? kmem_cache_free+0x83/0x290 [ 42.061602] ? putname+0xf2/0x130 [ 42.065081] ? do_sys_open+0x54d/0x700 [ 42.069002] ? __x64_sys_openat+0x9d/0x100 [ 42.073246] ? do_syscall_64+0x1b9/0x820 [ 42.077304] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.082683] ? ___might_sleep+0x1ed/0x300 [ 42.086825] ? arch_local_save_flags+0x40/0x40 [ 42.091402] ? kasan_check_write+0x14/0x20 [ 42.095741] ? trace_hardirqs_off+0xb8/0x310 [ 42.100155] ? ext4_ioctl_group_add+0x560/0x560 [ 42.104824] do_vfs_ioctl+0x1de/0x1720 [ 42.108715] ? ioctl_preallocate+0x300/0x300 [ 42.113318] ? selinux_file_mprotect+0x620/0x620 [ 42.118070] ? path_lookupat.isra.43+0x2e1/0xc00 [ 42.122846] ? rcu_read_lock_sched_held+0x108/0x120 [ 42.127859] ? kmem_cache_free+0x24f/0x290 [ 42.132085] ? putname+0xf7/0x130 [ 42.135563] ? do_syscall_64+0x9a/0x820 [ 42.139588] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.145160] ? security_file_ioctl+0x94/0xc0 [ 42.149564] ksys_ioctl+0xa9/0xd0 [ 42.153018] __x64_sys_ioctl+0x73/0xb0 [ 42.156902] do_syscall_64+0x1b9/0x820 [ 42.160790] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.166159] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.171135] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.175975] ? trace_hardirqs_on_caller+0x310/0x310 [ 42.180988] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.186003] ? prepare_exit_to_usermode+0x291/0x3b0 [ 42.191017] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.195861] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.201123] RIP: 0033:0x440009 [ 42.204318] 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 [ 42.223351] RSP: 002b:00007ffdabbab8c8 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 42.231058] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 42.238321] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 42.245582] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 42.252843] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 42.260105] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 42.267421] Modules linked in: [ 42.270749] ---[ end trace ecf2a506501c0c96 ]--- [ 42.275530] RIP: 0010:rb_erase+0x306/0x3710 [ 42.279997] 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.298985] RSP: 0018:ffff8801bb0a6918 EFLAGS: 00010202 [ 42.304364] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 42.311687] RDX: 1ffff10037614d2b RSI: ffffffff8b5a08a0 RDI: 0000000000000008 [ 42.319001] RBP: ffff8801bb0a7320 R08: dffffc0000000000 R09: fffffbfff135d5c8 [ 42.326281] R10: fffffbfff135d5c8 R11: ffffffff89aeae43 R12: ffff8801bac24830 [ 42.333578] R13: dffffc0000000000 R14: ffff8801bb0a72f8 R15: ffff8801bb0a7438 [ 42.340921] FS: 0000000000836880(0000) GS:ffff8801dac00000(0000) knlGS:0000000000000000 [ 42.349190] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.355081] CR2: 0000000020000080 CR3: 00000001b397a000 CR4: 00000000001406f0 [ 42.362387] Kernel panic - not syncing: Fatal exception [ 42.368926] Kernel Offset: disabled [ 42.372574] Rebooting in 86400 seconds..