[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 26.395891] kauditd_printk_skb: 7 callbacks suppressed [ 26.395909] audit: type=1800 audit(1540315915.175:29): pid=5215 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 26.425292] audit: type=1800 audit(1540315915.175:30): pid=5215 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 31.804647] sshd (5356) used greatest stack depth: 15976 bytes left Warning: Permanently added '10.128.0.112' (ECDSA) to the list of known hosts. executing program [ 38.310556] kasan: CONFIG_KASAN_INLINE enabled [ 38.315486] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 38.323046] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 38.329296] CPU: 0 PID: 5372 Comm: syz-executor980 Not tainted 4.19.0-rc8+ #273 [ 38.336743] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.346113] RIP: 0010:rb_erase+0x306/0x3710 [ 38.350429] 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 [ 38.369457] RSP: 0018:ffff8801c49be918 EFLAGS: 00010202 [ 38.374821] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 38.382175] RDX: 1ffff10038937d2b RSI: ffffffff8afc5060 RDI: 0000000000000008 [ 38.389455] RBP: ffff8801c49bf320 R08: dffffc0000000000 R09: fffffbfff12d6970 [ 38.396943] R10: fffffbfff12d6970 R11: ffffffff896b4b83 R12: ffff8801b7351970 [ 38.404330] R13: dffffc0000000000 R14: ffff8801c49bf2f8 R15: ffff8801c49bf438 [ 38.411602] FS: 0000000001968880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 38.419948] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.426419] CR2: 0000000020000080 CR3: 00000001bb366000 CR4: 00000000001406f0 [ 38.433690] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 38.440955] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 38.448326] Call Trace: [ 38.450910] ? lockdep_on+0x50/0x50 [ 38.454535] ? rb_insert_color+0x1460/0x1460 [ 38.458940] ? lock_downgrade+0x900/0x900 [ 38.463231] ? noop_count+0x40/0x40 [ 38.466855] ? lock_pin_lock+0x350/0x350 [ 38.470911] ? rcu_bh_qs+0xc0/0xc0 [ 38.474494] ? unwind_dump+0x190/0x190 [ 38.478386] ? kasan_check_read+0x11/0x20 [ 38.482533] ? noop_count+0x40/0x40 [ 38.486152] ? lock_pin_lock+0x350/0x350 [ 38.490207] ? mark_held_locks+0x130/0x130 [ 38.494438] ? check_usage_forwards+0x3e0/0x3e0 [ 38.499108] ? __bfs+0x385/0x7a0 [ 38.502535] ? check_usage+0x1a9/0x790 [ 38.506440] ? lock_pin_lock+0x350/0x350 [ 38.510502] ? check_usage_forwards+0x3e0/0x3e0 [ 38.515167] ? __bfs+0x385/0x7a0 [ 38.518528] ? modules_open+0xa0/0xa0 [ 38.522321] ? lockdep_on+0x50/0x50 [ 38.525941] ? lock_pin_lock+0x350/0x350 [ 38.529999] ? mark_held_locks+0x130/0x130 [ 38.534231] ? kasan_check_read+0x11/0x20 [ 38.538475] ? __lock_acquire+0x2881/0x4ec0 [ 38.542795] ? mark_held_locks+0x130/0x130 [ 38.547025] ? print_usage_bug+0xc0/0xc0 [ 38.551084] ? _raw_spin_unlock+0x2c/0x50 [ 38.555233] ? graph_lock+0x170/0x170 [ 38.559033] ? ext4_exit_mballoc+0xc0/0xc0 [ 38.563391] ? __lock_acquire+0x7ec/0x4ec0 [ 38.567621] ? find_held_lock+0x36/0x1c0 [ 38.571688] ? mark_held_locks+0x130/0x130 [ 38.575919] ? lock_downgrade+0x900/0x900 [ 38.580152] ? ext4_es_scan+0x960/0x960 [ 38.584124] ? lock_release+0x970/0x970 [ 38.588199] ? do_raw_write_trylock+0x1c0/0x1c0 [ 38.592874] ? kasan_check_write+0x14/0x20 [ 38.597172] ? lock_acquire+0x1ed/0x520 [ 38.601145] ? integrity_inode_free+0x77/0x320 [ 38.605724] ? ext4_es_remove_extent+0x151/0x500 [ 38.610473] ? lock_release+0x970/0x970 [ 38.614507] ? kasan_check_write+0x14/0x20 [ 38.618743] ? do_raw_write_lock+0xbd/0x1e0 [ 38.623058] integrity_inode_free+0x12f/0x320 [ 38.627672] security_inode_free+0x19/0x90 [ 38.631908] __destroy_inode+0x328/0x820 [ 38.635966] ? generic_update_time+0x450/0x450 [ 38.640543] ? evict+0x5d8/0x980 [ 38.643905] ? lock_downgrade+0x900/0x900 [ 38.648048] ? __inode_wait_for_writeback+0x2cf/0x380 [ 38.653237] destroy_inode+0xda/0x200 [ 38.657025] ? __destroy_inode+0x820/0x820 [ 38.661250] ? kasan_check_write+0x14/0x20 [ 38.665534] ? do_raw_spin_lock+0xc1/0x230 [ 38.669904] evict+0x5e0/0x980 [ 38.673090] ? destroy_inode+0x200/0x200 [ 38.677212] ? iput+0x671/0xa90 [ 38.680484] ? lock_downgrade+0x900/0x900 [ 38.684635] ? kasan_check_read+0x11/0x20 [ 38.688781] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.693353] ? lock_downgrade+0x900/0x900 [ 38.697492] iput+0x679/0xa90 [ 38.700589] ? inode_add_lru+0x2a0/0x2a0 [ 38.704645] ? up_write+0x7b/0x220 [ 38.708175] ? up_read+0x110/0x110 [ 38.711701] ? up_read+0x110/0x110 [ 38.715337] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.720875] ? check_preemption_disabled+0x48/0x280 [ 38.725897] ext4_ioctl+0x236f/0x4210 [ 38.729694] ? is_bpf_text_address+0xac/0x170 [ 38.734258] ? ext4_ioctl_group_add+0x560/0x560 [ 38.738929] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 38.744723] ? kasan_check_read+0x11/0x20 [ 38.748869] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 38.754257] ? rcu_bh_qs+0xc0/0xc0 [ 38.757800] ? rcu_bh_qs+0xc0/0xc0 [ 38.761335] ? unwind_dump+0x190/0x190 [ 38.765223] ? is_bpf_text_address+0xd3/0x170 [ 38.769715] ? kernel_text_address+0x79/0xf0 [ 38.774121] ? __kernel_text_address+0xd/0x40 [ 38.778615] ? unwind_get_return_address+0x61/0xa0 [ 38.783687] ? __save_stack_trace+0x8d/0xf0 [ 38.788015] ? save_stack+0xa9/0xd0 [ 38.791743] ? save_stack+0x43/0xd0 [ 38.795363] ? __kasan_slab_free+0x102/0x150 [ 38.799771] ? kasan_slab_free+0xe/0x10 [ 38.803749] ? kmem_cache_free+0x83/0x290 [ 38.807892] ? putname+0xf2/0x130 [ 38.811335] ? do_sys_open+0x54d/0x700 [ 38.815218] ? __x64_sys_openat+0x9d/0x100 [ 38.819550] ? do_syscall_64+0x1b9/0x820 [ 38.823608] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.828980] ? trace_hardirqs_off+0xb8/0x310 [ 38.833383] ? kasan_check_read+0x11/0x20 [ 38.837590] ? do_raw_spin_unlock+0xa7/0x330 [ 38.842004] ? trace_hardirqs_on+0x310/0x310 [ 38.846420] ? kasan_check_write+0x14/0x20 [ 38.850663] ? trace_hardirqs_off+0xb8/0x310 [ 38.855081] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.860644] ? check_preemption_disabled+0x48/0x280 [ 38.865684] ? check_preemption_disabled+0x48/0x280 [ 38.870715] ? ext4_ioctl_group_add+0x560/0x560 [ 38.875509] do_vfs_ioctl+0x1de/0x1720 [ 38.879398] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 38.884678] ? ioctl_preallocate+0x300/0x300 [ 38.889093] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.894637] ? __fget_light+0x2e9/0x430 [ 38.898614] ? fget_raw+0x20/0x20 [ 38.902062] ? putname+0xf2/0x130 [ 38.905512] ? rcu_read_lock_sched_held+0x108/0x120 [ 38.910522] ? kmem_cache_free+0x24f/0x290 [ 38.914755] ? putname+0xf7/0x130 [ 38.918199] ? do_syscall_64+0x9a/0x820 [ 38.922156] ? do_syscall_64+0x9a/0x820 [ 38.926118] ? lockdep_hardirqs_on+0x421/0x5c0 [ 38.930690] ? security_file_ioctl+0x94/0xc0 [ 38.935091] ksys_ioctl+0xa9/0xd0 [ 38.938605] __x64_sys_ioctl+0x73/0xb0 [ 38.942503] do_syscall_64+0x1b9/0x820 [ 38.946381] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 38.951744] ? syscall_return_slowpath+0x5e0/0x5e0 [ 38.956665] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.961508] ? trace_hardirqs_on_caller+0x310/0x310 [ 38.966526] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 38.971546] ? prepare_exit_to_usermode+0x291/0x3b0 [ 38.976567] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.981417] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.986608] RIP: 0033:0x440009 [ 38.989799] 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 [ 39.008698] RSP: 002b:00007ffc8a689968 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 39.016405] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 39.023673] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 39.031013] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 39.038283] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 39.045546] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 39.052813] Modules linked in: [ 39.056120] ---[ end trace fa6c3dfe61bfe28e ]--- [ 39.060896] RIP: 0010:rb_erase+0x306/0x3710 [ 39.065311] 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 [ 39.084300] RSP: 0018:ffff8801c49be918 EFLAGS: 00010202 [ 39.089679] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 39.097246] RDX: 1ffff10038937d2b RSI: ffffffff8afc5060 RDI: 0000000000000008 [ 39.104602] RBP: ffff8801c49bf320 R08: dffffc0000000000 R09: fffffbfff12d6970 [ 39.111934] R10: fffffbfff12d6970 R11: ffffffff896b4b83 R12: ffff8801b7351970 [ 39.119254] R13: dffffc0000000000 R14: ffff8801c49bf2f8 R15: ffff8801c49bf438 [ 39.126625] FS: 0000000001968880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 39.134965] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.140851] CR2: 0000000020000080 CR3: 00000001bb366000 CR4: 00000000001406f0 [ 39.148212] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 39.155542] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 39.162899] Kernel panic - not syncing: Fatal exception [ 39.169165] Kernel Offset: disabled [ 39.172798] Rebooting in 86400 seconds..