[....] 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.251010] kauditd_printk_skb: 7 callbacks suppressed [ 26.251021] audit: type=1800 audit(1539959598.949:29): pid=5211 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 26.276581] audit: type=1800 audit(1539959598.949:30): pid=5211 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.18' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 35.773163] kasan: CONFIG_KASAN_INLINE enabled [ 35.777911] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 35.785283] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 35.791506] CPU: 1 PID: 5365 Comm: syz-executor304 Not tainted 4.19.0-rc8+ #68 [ 35.798850] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.808203] RIP: 0010:rb_erase+0x306/0x3710 [ 35.812518] 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 [ 35.831515] RSP: 0018:ffff8801ba866918 EFLAGS: 00010202 [ 35.836869] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 35.844125] RDX: 1ffff1003750cd2b RSI: ffffffff8afbc860 RDI: 0000000000000008 [ 35.851399] RBP: ffff8801ba867320 R08: dffffc0000000000 R09: fffffbfff12d6990 [ 35.858657] R10: fffffbfff12d6990 R11: ffffffff896b4c83 R12: ffff8801b6af4930 [ 35.865954] R13: dffffc0000000000 R14: ffff8801ba8672f8 R15: ffff8801ba867438 [ 35.873227] FS: 0000000000dde880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 35.881439] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 35.887303] CR2: 0000000020000080 CR3: 00000001d8958000 CR4: 00000000001406e0 [ 35.894555] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 35.901804] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 35.909054] Call Trace: [ 35.911649] ? lockdep_on+0x50/0x50 [ 35.915263] ? rb_insert_color+0x1460/0x1460 [ 35.919663] ? lock_downgrade+0x900/0x900 [ 35.923801] ? noop_count+0x40/0x40 [ 35.927416] ? lock_pin_lock+0x350/0x350 [ 35.931461] ? rcu_bh_qs+0xc0/0xc0 [ 35.934984] ? unwind_dump+0x190/0x190 [ 35.938874] ? kasan_check_read+0x11/0x20 [ 35.943020] ? noop_count+0x40/0x40 [ 35.946629] ? lock_pin_lock+0x350/0x350 [ 35.950676] ? mark_held_locks+0x130/0x130 [ 35.954895] ? check_usage_forwards+0x3e0/0x3e0 [ 35.959547] ? __bfs+0x385/0x7a0 [ 35.962899] ? check_usage+0x1a9/0x790 [ 35.966777] ? lock_pin_lock+0x350/0x350 [ 35.970825] ? check_usage_forwards+0x3e0/0x3e0 [ 35.975475] ? __bfs+0x385/0x7a0 [ 35.978823] ? lockdep_on+0x50/0x50 [ 35.982430] ? lock_pin_lock+0x350/0x350 [ 35.986509] ? mark_held_locks+0x130/0x130 [ 35.990731] ? kasan_check_read+0x11/0x20 [ 35.994872] ? __lock_acquire+0x2881/0x4ec0 [ 35.999183] ? mark_held_locks+0x130/0x130 [ 36.003401] ? print_usage_bug+0xc0/0xc0 [ 36.007444] ? _raw_spin_unlock+0x2c/0x50 [ 36.011573] ? graph_lock+0x170/0x170 [ 36.015356] ? ext4_exit_mballoc+0xc0/0xc0 [ 36.019574] ? __lock_acquire+0x7ec/0x4ec0 [ 36.023817] ? find_held_lock+0x36/0x1c0 [ 36.027866] ? mark_held_locks+0x130/0x130 [ 36.032081] ? lock_downgrade+0x900/0x900 [ 36.036211] ? ext4_es_scan+0x960/0x960 [ 36.040172] ? do_raw_write_trylock+0x1c0/0x1c0 [ 36.044821] ? kasan_check_write+0x14/0x20 [ 36.049038] ? lock_acquire+0x1ed/0x520 [ 36.052996] ? integrity_inode_free+0x77/0x320 [ 36.057561] ? ext4_es_remove_extent+0x151/0x500 [ 36.062298] ? lock_release+0x970/0x970 [ 36.066257] ? kasan_check_write+0x14/0x20 [ 36.070477] ? do_raw_write_lock+0xbd/0x1b0 [ 36.074790] integrity_inode_free+0x12f/0x320 [ 36.079276] security_inode_free+0x19/0x90 [ 36.083495] __destroy_inode+0x328/0x820 [ 36.087554] ? generic_update_time+0x450/0x450 [ 36.092120] ? evict+0x5d8/0x980 [ 36.095471] ? lock_downgrade+0x900/0x900 [ 36.099603] ? __inode_wait_for_writeback+0x2cf/0x380 [ 36.104783] destroy_inode+0xda/0x200 [ 36.108570] ? __destroy_inode+0x820/0x820 [ 36.112792] ? kasan_check_write+0x14/0x20 [ 36.117011] ? do_raw_spin_lock+0xc1/0x200 [ 36.121248] evict+0x5e0/0x980 [ 36.124426] ? destroy_inode+0x200/0x200 [ 36.128486] ? iput+0x671/0xa90 [ 36.131759] ? lock_downgrade+0x900/0x900 [ 36.135901] ? kasan_check_read+0x11/0x20 [ 36.140030] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 36.144591] ? lock_downgrade+0x900/0x900 [ 36.148723] iput+0x679/0xa90 [ 36.151813] ? inode_add_lru+0x2a0/0x2a0 [ 36.155857] ? up_write+0x7b/0x220 [ 36.159376] ? up_read+0x110/0x110 [ 36.162897] ? up_read+0x110/0x110 [ 36.166423] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.171944] ? check_preemption_disabled+0x48/0x200 [ 36.176946] ext4_ioctl+0x236f/0x4210 [ 36.180729] ? is_bpf_text_address+0xac/0x170 [ 36.185235] ? ext4_ioctl_group_add+0x560/0x560 [ 36.189888] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 36.195668] ? kasan_check_read+0x11/0x20 [ 36.199801] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.205250] ? rcu_bh_qs+0xc0/0xc0 [ 36.208791] ? rcu_bh_qs+0xc0/0xc0 [ 36.212311] ? unwind_dump+0x190/0x190 [ 36.216187] ? is_bpf_text_address+0xd3/0x170 [ 36.220665] ? kernel_text_address+0x79/0xf0 [ 36.225056] ? __kernel_text_address+0xd/0x40 [ 36.229535] ? unwind_get_return_address+0x61/0xa0 [ 36.234449] ? __save_stack_trace+0x8d/0xf0 [ 36.238755] ? save_stack+0xa9/0xd0 [ 36.242367] ? save_stack+0x43/0xd0 [ 36.245972] ? __kasan_slab_free+0x102/0x150 [ 36.250359] ? kasan_slab_free+0xe/0x10 [ 36.254311] ? kmem_cache_free+0x83/0x290 [ 36.258440] ? putname+0xf2/0x130 [ 36.261876] ? do_sys_open+0x54d/0x700 [ 36.265750] ? __x64_sys_openat+0x9d/0x100 [ 36.269979] ? do_syscall_64+0x1b9/0x820 [ 36.274022] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.279372] ? trace_hardirqs_off+0xb8/0x310 [ 36.283768] ? kasan_check_read+0x11/0x20 [ 36.287906] ? do_raw_spin_unlock+0xa7/0x2f0 [ 36.292297] ? trace_hardirqs_on+0x310/0x310 [ 36.296691] ? kasan_check_write+0x14/0x20 [ 36.300924] ? trace_hardirqs_off+0xb8/0x310 [ 36.305319] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.310862] ? check_preemption_disabled+0x48/0x200 [ 36.315869] ? check_preemption_disabled+0x48/0x200 [ 36.320870] ? ext4_ioctl_group_add+0x560/0x560 [ 36.325537] do_vfs_ioctl+0x1de/0x1720 [ 36.329424] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.334686] ? ioctl_preallocate+0x300/0x300 [ 36.339075] ? memset+0x31/0x40 [ 36.342335] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.347860] ? smack_file_ioctl+0x210/0x3c0 [ 36.352162] ? fget_raw+0x20/0x20 [ 36.355614] ? smack_file_lock+0x2e0/0x2e0 [ 36.359842] ? do_syscall_64+0x9a/0x820 [ 36.363796] ? do_syscall_64+0x9a/0x820 [ 36.367757] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.373291] ? security_file_ioctl+0x94/0xc0 [ 36.377686] ksys_ioctl+0xa9/0xd0 [ 36.381122] __x64_sys_ioctl+0x73/0xb0 [ 36.384991] do_syscall_64+0x1b9/0x820 [ 36.388864] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 36.394214] ? syscall_return_slowpath+0x5e0/0x5e0 [ 36.399127] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.403953] ? trace_hardirqs_on_caller+0x310/0x310 [ 36.408951] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.413950] ? prepare_exit_to_usermode+0x291/0x3b0 [ 36.418953] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.423786] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.428961] RIP: 0033:0x440009 [ 36.432138] 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 [ 36.451026] RSP: 002b:00007ffcf29ee728 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 36.458719] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 36.465970] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 36.473220] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 36.480473] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 36.487738] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 36.495017] Modules linked in: [ 36.498327] ---[ end trace 63136de6b4726e68 ]--- [ 36.503108] RIP: 0010:rb_erase+0x306/0x3710 [ 36.507528] 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 [ 36.526475] RSP: 0018:ffff8801ba866918 EFLAGS: 00010202 [ 36.531849] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 36.539245] RDX: 1ffff1003750cd2b RSI: ffffffff8afbc860 RDI: 0000000000000008 [ 36.546550] RBP: ffff8801ba867320 R08: dffffc0000000000 R09: fffffbfff12d6990 [ 36.553813] R10: fffffbfff12d6990 R11: ffffffff896b4c83 R12: ffff8801b6af4930 [ 36.561123] R13: dffffc0000000000 R14: ffff8801ba8672f8 R15: ffff8801ba867438 [ 36.568417] FS: 0000000000dde880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 36.576675] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.582553] CR2: 0000000020000080 CR3: 00000001d8958000 CR4: 00000000001406e0 [ 36.589843] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 36.597137] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 36.604400] Kernel panic - not syncing: Fatal exception [ 36.610642] Kernel Offset: disabled [ 36.614264] Rebooting in 86400 seconds..