[....] 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.756034] kauditd_printk_skb: 8 callbacks suppressed [ 26.756049] audit: type=1800 audit(1539910611.007:29): pid=5240 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.788439] audit: type=1800 audit(1539910611.007:30): pid=5240 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 Warning: Permanently added '10.128.10.46' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 45.869534] kasan: CONFIG_KASAN_INLINE enabled [ 45.874326] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 45.881686] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 45.887903] CPU: 0 PID: 5395 Comm: syz-executor812 Not tainted 4.19.0-rc7+ #266 [ 45.895336] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.904686] RIP: 0010:rb_erase+0x306/0x3710 [ 45.908997] 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 [ 45.927895] RSP: 0018:ffff8801bac6e918 EFLAGS: 00010202 [ 45.933251] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 45.940510] RDX: 1ffff1003758dd2b RSI: ffffffff8afc5020 RDI: 0000000000000008 [ 45.947767] RBP: ffff8801bac6f320 R08: dffffc0000000000 R09: fffffbfff12d68f0 [ 45.955021] R10: fffffbfff12d68f0 R11: ffffffff896b4783 R12: ffff8801b72e4930 [ 45.962338] R13: dffffc0000000000 R14: ffff8801bac6f2f8 R15: ffff8801bac6f438 [ 45.969608] FS: 0000000000b1e880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 45.977826] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.983693] CR2: 0000000020000080 CR3: 00000001c279b000 CR4: 00000000001406f0 [ 45.990995] Call Trace: [ 45.993584] ? lockdep_on+0x50/0x50 [ 45.997251] ? rb_insert_color+0x1460/0x1460 [ 46.001654] ? noop_count+0x40/0x40 [ 46.005273] ? lock_pin_lock+0x350/0x350 [ 46.009328] ? kasan_check_read+0x11/0x20 [ 46.013467] ? noop_count+0x40/0x40 [ 46.017147] ? lock_pin_lock+0x350/0x350 [ 46.021201] ? mark_held_locks+0x130/0x130 [ 46.025433] ? check_usage_forwards+0x3e0/0x3e0 [ 46.030085] ? __bfs+0x385/0x7a0 [ 46.033434] ? noop_count+0x40/0x40 [ 46.037052] ? check_usage+0x1a9/0x790 [ 46.040934] ? lock_pin_lock+0x350/0x350 [ 46.044990] ? check_usage_forwards+0x3e0/0x3e0 [ 46.049645] ? __bfs+0x385/0x7a0 [ 46.052998] ? modules_open+0xa0/0xa0 [ 46.056782] ? lockdep_on+0x50/0x50 [ 46.060394] ? lock_pin_lock+0x350/0x350 [ 46.064450] ? mark_held_locks+0x130/0x130 [ 46.068738] ? kasan_check_read+0x11/0x20 [ 46.072881] ? __lock_acquire+0x2881/0x4ec0 [ 46.077200] ? mark_held_locks+0x130/0x130 [ 46.081421] ? print_usage_bug+0xc0/0xc0 [ 46.085469] ? _raw_spin_unlock+0x2c/0x50 [ 46.089706] ? graph_lock+0x170/0x170 [ 46.093504] ? ext4_exit_mballoc+0xc0/0xc0 [ 46.097732] ? __lock_acquire+0x7ec/0x4ec0 [ 46.101957] ? find_held_lock+0x36/0x1c0 [ 46.106014] ? mark_held_locks+0x130/0x130 [ 46.110337] ? lock_downgrade+0x900/0x900 [ 46.114476] ? ext4_es_scan+0x960/0x960 [ 46.118446] ? lock_release+0x970/0x970 [ 46.122419] ? do_raw_write_trylock+0x1c0/0x1c0 [ 46.127085] ? kasan_check_write+0x14/0x20 [ 46.131308] ? lock_acquire+0x1ed/0x520 [ 46.135278] ? integrity_inode_free+0x77/0x320 [ 46.139859] ? ext4_es_remove_extent+0x151/0x500 [ 46.144607] ? lock_release+0x970/0x970 [ 46.148575] ? kasan_check_write+0x14/0x20 [ 46.152864] ? do_raw_write_lock+0xbd/0x1b0 [ 46.157177] integrity_inode_free+0x12f/0x320 [ 46.161666] security_inode_free+0x19/0x90 [ 46.165932] __destroy_inode+0x328/0x820 [ 46.170049] ? generic_update_time+0x450/0x450 [ 46.174624] ? evict+0x5d8/0x980 [ 46.177977] ? lock_downgrade+0x900/0x900 [ 46.182113] ? __inode_wait_for_writeback+0x2cf/0x380 [ 46.187290] destroy_inode+0xda/0x200 [ 46.191153] ? __destroy_inode+0x820/0x820 [ 46.195380] ? kasan_check_write+0x14/0x20 [ 46.199608] ? do_raw_spin_lock+0xc1/0x200 [ 46.203898] evict+0x5e0/0x980 [ 46.207082] ? destroy_inode+0x200/0x200 [ 46.211129] ? iput+0x671/0xa90 [ 46.214392] ? lock_downgrade+0x900/0x900 [ 46.218528] ? kasan_check_read+0x11/0x20 [ 46.222661] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 46.227280] ? lock_downgrade+0x900/0x900 [ 46.231466] iput+0x679/0xa90 [ 46.234563] ? inode_add_lru+0x2a0/0x2a0 [ 46.238672] ? up_write+0x7b/0x220 [ 46.242201] ? up_read+0x110/0x110 [ 46.245835] ? up_read+0x110/0x110 [ 46.249370] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.254900] ? check_preemption_disabled+0x48/0x200 [ 46.259906] ext4_ioctl+0x236f/0x4210 [ 46.263697] ? is_bpf_text_address+0xac/0x170 [ 46.268227] ? ext4_ioctl_group_add+0x560/0x560 [ 46.272891] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 46.278676] ? kasan_check_read+0x11/0x20 [ 46.282812] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 46.288073] ? rcu_bh_qs+0xc0/0xc0 [ 46.291602] ? rcu_bh_qs+0xc0/0xc0 [ 46.295134] ? unwind_dump+0x190/0x190 [ 46.299017] ? is_bpf_text_address+0xd3/0x170 [ 46.303504] ? kernel_text_address+0x79/0xf0 [ 46.307980] ? __kernel_text_address+0xd/0x40 [ 46.312480] ? unwind_get_return_address+0x61/0xa0 [ 46.317398] ? __save_stack_trace+0x8d/0xf0 [ 46.321715] ? save_stack+0xa9/0xd0 [ 46.325338] ? save_stack+0x43/0xd0 [ 46.328958] ? __kasan_slab_free+0x102/0x150 [ 46.333350] ? kasan_slab_free+0xe/0x10 [ 46.337314] ? kmem_cache_free+0x83/0x290 [ 46.341446] ? putname+0xf2/0x130 [ 46.344888] ? do_sys_open+0x54d/0x700 [ 46.348765] ? __x64_sys_openat+0x9d/0x100 [ 46.352992] ? do_syscall_64+0x1b9/0x820 [ 46.357050] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.362411] ? trace_hardirqs_off+0xb8/0x310 [ 46.366869] ? kasan_check_read+0x11/0x20 [ 46.371014] ? do_raw_spin_unlock+0xa7/0x2f0 [ 46.375409] ? trace_hardirqs_on+0x310/0x310 [ 46.379805] ? kasan_check_write+0x14/0x20 [ 46.384041] ? trace_hardirqs_off+0xb8/0x310 [ 46.388440] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.394008] ? check_preemption_disabled+0x48/0x200 [ 46.399023] ? check_preemption_disabled+0x48/0x200 [ 46.404033] ? ext4_ioctl_group_add+0x560/0x560 [ 46.408740] do_vfs_ioctl+0x1de/0x1720 [ 46.412626] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 46.417934] ? ioctl_preallocate+0x300/0x300 [ 46.422376] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.427909] ? __fget_light+0x2e9/0x430 [ 46.431866] ? fget_raw+0x20/0x20 [ 46.435307] ? putname+0xf2/0x130 [ 46.438813] ? rcu_read_lock_sched_held+0x108/0x120 [ 46.443824] ? kmem_cache_free+0x24f/0x290 [ 46.448040] ? putname+0xf7/0x130 [ 46.451478] ? do_syscall_64+0x9a/0x820 [ 46.455443] ? do_syscall_64+0x9a/0x820 [ 46.459404] ? lockdep_hardirqs_on+0x421/0x5c0 [ 46.463975] ? security_file_ioctl+0x94/0xc0 [ 46.468370] ksys_ioctl+0xa9/0xd0 [ 46.471812] __x64_sys_ioctl+0x73/0xb0 [ 46.475691] do_syscall_64+0x1b9/0x820 [ 46.479576] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 46.484932] ? syscall_return_slowpath+0x5e0/0x5e0 [ 46.489845] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.494743] ? trace_hardirqs_on_caller+0x310/0x310 [ 46.499754] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 46.504762] ? prepare_exit_to_usermode+0x291/0x3b0 [ 46.509766] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.514597] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.519770] RIP: 0033:0x440009 [ 46.523006] 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 [ 46.541945] RSP: 002b:00007fff19b27858 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 46.549646] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 46.556906] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 46.564169] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 46.571422] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 46.578675] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 46.585935] Modules linked in: [ 46.589278] ---[ end trace 5408a25491fcc16e ]--- [ 46.594133] RIP: 0010:rb_erase+0x306/0x3710 [ 46.598448] 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 [ 46.617421] RSP: 0018:ffff8801bac6e918 EFLAGS: 00010202 [ 46.622810] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 46.630177] RDX: 1ffff1003758dd2b RSI: ffffffff8afc5020 RDI: 0000000000000008 [ 46.637506] RBP: ffff8801bac6f320 R08: dffffc0000000000 R09: fffffbfff12d68f0 [ 46.644793] R10: fffffbfff12d68f0 R11: ffffffff896b4783 R12: ffff8801b72e4930 [ 46.652112] R13: dffffc0000000000 R14: ffff8801bac6f2f8 R15: ffff8801bac6f438 [ 46.659379] FS: 0000000000b1e880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 46.667670] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.673577] CR2: 0000000020000080 CR3: 00000001c279b000 CR4: 00000000001406f0 [ 46.680854] Kernel panic - not syncing: Fatal exception [ 46.687018] Kernel Offset: disabled [ 46.690645] Rebooting in 86400 seconds..