[ 27.200755] audit: type=1800 audit(1538811925.409:28): pid=5513 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [ 27.646472] sshd (5579) used greatest stack depth: 16624 bytes left [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 27.784743] audit: type=1800 audit(1538811926.069:29): pid=5513 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 [ 27.805030] audit: type=1800 audit(1538811926.069:30): pid=5513 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.0.28' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 37.830713] kasan: CONFIG_KASAN_INLINE enabled [ 37.835300] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 37.842672] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 37.848896] CPU: 0 PID: 5667 Comm: syz-executor416 Not tainted 4.19.0-rc6+ #130 [ 37.856317] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.865661] RIP: 0010:rb_erase+0x306/0x3710 [ 37.869958] 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 [ 37.889075] RSP: 0018:ffff8801d8516918 EFLAGS: 00010202 [ 37.894421] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 37.901667] RDX: 1ffff1003b0a2d2b RSI: ffffffff8afbd8a0 RDI: 0000000000000008 [ 37.908912] RBP: ffff8801d8517320 R08: dffffc0000000000 R09: fffffbfff12d6a48 [ 37.916153] R10: fffffbfff12d6a48 R11: ffffffff896b5243 R12: ffff8801b8f711f0 [ 37.923395] R13: dffffc0000000000 R14: ffff8801d85172f8 R15: ffff8801d8517438 [ 37.930642] FS: 00000000021dd880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 37.938842] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 37.944695] CR2: 0000000020000040 CR3: 00000001d9206000 CR4: 00000000001406f0 [ 37.951942] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 37.959182] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 37.966537] Call Trace: [ 37.969102] ? rb_insert_color+0x1460/0x1460 [ 37.973488] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 37.978224] ? is_bpf_text_address+0xac/0x170 [ 37.982704] ? lock_downgrade+0x900/0x900 [ 37.986847] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 37.992629] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 37.998138] ? mark_page_accessed+0xcb0/0x2040 [ 38.002703] ? activate_page+0x1040/0x1040 [ 38.006913] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 38.012423] ? mark_held_locks+0x130/0x130 [ 38.016646] ? mark_page_accessed+0xcb0/0x2040 [ 38.021201] ? activate_page+0x1040/0x1040 [ 38.025418] ? activate_page+0x1040/0x1040 [ 38.029639] ? mark_held_locks+0x130/0x130 [ 38.033850] ? kasan_kmalloc+0xc7/0xe0 [ 38.037713] ? kmem_cache_alloc_trace+0x152/0x750 [ 38.042549] ? ima_add_digest_entry+0xcb/0x6a0 [ 38.047117] ? ima_add_template_entry+0x466/0x7f0 [ 38.051934] ? ima_store_template+0x224/0x310 [ 38.056403] ? ima_store_measurement+0x321/0x630 [ 38.061132] ? process_measurement+0x15c4/0x1bf0 [ 38.065856] ? ima_file_check+0xe5/0x130 [ 38.069893] ? path_openat+0x134d/0x5160 [ 38.073926] ? do_filp_open+0x255/0x380 [ 38.077872] ? do_sys_open+0x568/0x700 [ 38.081735] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 38.086727] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 38.091473] ? is_bpf_text_address+0xac/0x170 [ 38.095940] ? lock_downgrade+0x900/0x900 [ 38.100061] ? mark_held_locks+0x130/0x130 [ 38.104269] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 38.110040] ? mark_held_locks+0x130/0x130 [ 38.114253] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 38.119593] ? lock_downgrade+0x900/0x900 [ 38.123713] ? kasan_check_read+0x11/0x20 [ 38.127833] ? do_raw_spin_unlock+0xa7/0x2f0 [ 38.132216] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.136774] ? mark_held_locks+0x130/0x130 [ 38.140992] ? _raw_spin_unlock+0x2c/0x50 [ 38.145124] ? ext4_discard_preallocations+0x18a/0x13c0 [ 38.150467] ? trace_hardirqs_on+0xbd/0x310 [ 38.154767] ? ext4_exit_mballoc+0xc0/0xc0 [ 38.158982] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 38.163981] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 38.168712] ? modules_open+0xa0/0xa0 [ 38.172490] ? __es_tree_search.isra.12+0x1ba/0x220 [ 38.177482] ? __es_remove_extent+0x9a3/0xba0 [ 38.181954] ? mark_held_locks+0x130/0x130 [ 38.186159] ? lock_downgrade+0x900/0x900 [ 38.190282] ? ext4_es_scan+0x960/0x960 [ 38.194234] ? lock_release+0x970/0x970 [ 38.198196] ? trace_hardirqs_on+0xbd/0x310 [ 38.202493] ? kasan_check_read+0x11/0x20 [ 38.206614] ? clear_inode+0x114/0x3a0 [ 38.210476] ? do_raw_write_trylock+0x1c0/0x1c0 [ 38.215291] ? kasan_check_write+0x14/0x20 [ 38.219507] ? lock_acquire+0x1ed/0x520 [ 38.223468] ? integrity_inode_free+0x77/0x320 [ 38.228046] ? ext4_es_remove_extent+0x151/0x500 [ 38.232777] ? lock_release+0x970/0x970 [ 38.236744] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 38.241820] ? depot_save_stack+0x292/0x470 [ 38.246115] ? kasan_check_write+0x14/0x20 [ 38.250324] ? do_raw_write_lock+0xbd/0x1b0 [ 38.254739] integrity_inode_free+0x12f/0x320 [ 38.259225] security_inode_free+0x19/0x90 [ 38.263434] __destroy_inode+0x328/0x820 [ 38.267474] ? generic_update_time+0x450/0x450 [ 38.272030] ? evict+0x5d8/0x980 [ 38.275486] ? lock_downgrade+0x900/0x900 [ 38.279614] ? __inode_wait_for_writeback+0x2cf/0x380 [ 38.284906] destroy_inode+0xda/0x200 [ 38.288688] ? __destroy_inode+0x820/0x820 [ 38.292898] ? kasan_check_write+0x14/0x20 [ 38.297111] ? do_raw_spin_lock+0xc1/0x200 [ 38.301321] evict+0x5e0/0x980 [ 38.304489] ? jbd2_journal_stop+0x430/0x15d0 [ 38.308960] ? destroy_inode+0x200/0x200 [ 38.312996] ? do_raw_spin_lock+0xc1/0x200 [ 38.317213] ? iput+0x671/0xa90 [ 38.320465] ? lock_downgrade+0x900/0x900 [ 38.324589] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 38.330119] ? kasan_check_read+0x11/0x20 [ 38.334262] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.338819] ? lock_downgrade+0x900/0x900 [ 38.342941] ? ext4_ioctl+0x231b/0x4210 [ 38.346891] iput+0x679/0xa90 [ 38.349979] ? inode_add_lru+0x2a0/0x2a0 [ 38.354013] ? up_write+0x7b/0x220 [ 38.357523] ? up_read+0x110/0x110 [ 38.361034] ? up_read+0x110/0x110 [ 38.364545] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.370060] ? check_preemption_disabled+0x48/0x200 [ 38.375051] ext4_ioctl+0x236f/0x4210 [ 38.378825] ? is_bpf_text_address+0xac/0x170 [ 38.383294] ? ext4_ioctl_group_add+0x560/0x560 [ 38.387936] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 38.393706] ? kasan_check_read+0x11/0x20 [ 38.397827] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 38.403092] ? rcu_bh_qs+0xc0/0xc0 [ 38.406605] ? unwind_dump+0x190/0x190 [ 38.410467] ? is_bpf_text_address+0xd3/0x170 [ 38.414936] ? kernel_text_address+0x79/0xf0 [ 38.419347] ? __kernel_text_address+0xd/0x40 [ 38.423835] ? unwind_get_return_address+0x61/0xa0 [ 38.428748] ? __save_stack_trace+0x8d/0xf0 [ 38.433049] ? save_stack+0xa9/0xd0 [ 38.436651] ? save_stack+0x43/0xd0 [ 38.440267] ? __kasan_slab_free+0x102/0x150 [ 38.444647] ? kasan_slab_free+0xe/0x10 [ 38.448597] ? kmem_cache_free+0x83/0x290 [ 38.452716] ? putname+0xf2/0x130 [ 38.456159] ? do_sys_open+0x54d/0x700 [ 38.460019] ? __x64_sys_openat+0x9d/0x100 [ 38.464227] ? do_syscall_64+0x1b9/0x820 [ 38.468260] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.473605] ? trace_hardirqs_off+0xb8/0x310 [ 38.477990] ? kasan_check_read+0x11/0x20 [ 38.482113] ? do_raw_spin_unlock+0xa7/0x2f0 [ 38.486498] ? trace_hardirqs_on+0x310/0x310 [ 38.490878] ? kasan_check_write+0x14/0x20 [ 38.495087] ? trace_hardirqs_off+0xb8/0x310 [ 38.499472] ? trace_hardirqs_on+0x310/0x310 [ 38.503851] ? ext4_ioctl_group_add+0x560/0x560 [ 38.508502] do_vfs_ioctl+0x1de/0x1720 [ 38.512371] ? trace_hardirqs_on+0xbd/0x310 [ 38.516674] ? ioctl_preallocate+0x300/0x300 [ 38.521058] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.526571] ? __fget_light+0x2e9/0x430 [ 38.530518] ? fget_raw+0x20/0x20 [ 38.533959] ? putname+0xf2/0x130 [ 38.537394] ? kmem_cache_free+0x21a/0x290 [ 38.541598] ? putname+0xf7/0x130 [ 38.545026] ? security_file_ioctl+0x94/0xc0 [ 38.549412] ksys_ioctl+0xa9/0xd0 [ 38.552837] __x64_sys_ioctl+0x73/0xb0 [ 38.556705] do_syscall_64+0x1b9/0x820 [ 38.560565] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 38.565900] ? syscall_return_slowpath+0x5e0/0x5e0 [ 38.570802] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.575618] ? trace_hardirqs_on_caller+0x310/0x310 [ 38.580606] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 38.585610] ? prepare_exit_to_usermode+0x291/0x3b0 [ 38.590604] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.595424] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.600585] RIP: 0033:0x440029 [ 38.603749] 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 [ 38.622621] RSP: 002b:00007ffd28a3d678 EFLAGS: 00000207 ORIG_RAX: 0000000000000010 [ 38.630302] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440029 [ 38.637543] RDX: 0000000000440029 RSI: 0000000000006611 RDI: 0000000000000003 [ 38.644782] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 38.652027] R10: 0000000000000000 R11: 0000000000000207 R12: 00000000004018b0 [ 38.659274] R13: 0000000000401940 R14: 0000000000000000 R15: 0000000000000000 [ 38.666519] Modules linked in: [ 38.670064] ---[ end trace 5c530b584e7a97bf ]--- [ 38.674823] RIP: 0010:rb_erase+0x306/0x3710 [ 38.679144] 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.698183] RSP: 0018:ffff8801d8516918 EFLAGS: 00010202 [ 38.703517] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 38.710781] RDX: 1ffff1003b0a2d2b RSI: ffffffff8afbd8a0 RDI: 0000000000000008 [ 38.718049] RBP: ffff8801d8517320 R08: dffffc0000000000 R09: fffffbfff12d6a48 [ 38.725293] R10: fffffbfff12d6a48 R11: ffffffff896b5243 R12: ffff8801b8f711f0 [ 38.732559] R13: dffffc0000000000 R14: ffff8801d85172f8 R15: ffff8801d8517438 [ 38.739822] FS: 00000000021dd880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 38.748038] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.753901] CR2: 0000000020000040 CR3: 00000001d9206000 CR4: 00000000001406f0 [ 38.761167] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 38.768434] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 38.775678] Kernel panic - not syncing: Fatal exception [ 38.782322] Kernel Offset: disabled [ 38.785934] Rebooting in 86400 seconds..