[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 42.870293] kauditd_printk_skb: 9 callbacks suppressed [ 42.870309] audit: type=1400 audit(1539249239.811:35): avc: denied { map } for pid=5904 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.10.57' (ECDSA) to the list of known hosts. executing program [ 49.347471] audit: type=1400 audit(1539249246.291:36): avc: denied { map } for pid=5916 comm="syz-executor268" path="/root/syz-executor268379063" 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 [ 49.350664] kasan: CONFIG_KASAN_INLINE enabled [ 49.378396] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 49.385776] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 49.392041] CPU: 0 PID: 5916 Comm: syz-executor268 Not tainted 4.19.0-rc7+ #57 [ 49.399381] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.408729] RIP: 0010:rb_erase+0x306/0x3710 [ 49.413034] 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 [ 49.431921] RSP: 0018:ffff8801c35ae918 EFLAGS: 00010202 [ 49.437265] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 49.444512] RDX: 1ffff100386b5d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 49.451767] RBP: ffff8801c35af320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 49.459050] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7b2e430 [ 49.466301] R13: dffffc0000000000 R14: ffff8801c35af2f8 R15: ffff8801c35af438 [ 49.473553] FS: 00000000012dc880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 49.481772] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.487633] CR2: 0000000020000040 CR3: 00000001c3a41000 CR4: 00000000001406f0 [ 49.494883] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 49.502133] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 49.509378] Call Trace: [ 49.511956] ? rb_insert_color+0x1460/0x1460 [ 49.516349] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 49.521089] ? is_bpf_text_address+0xac/0x170 [ 49.525567] ? mark_held_locks+0x130/0x130 [ 49.529785] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 49.535566] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 49.541086] ? mark_page_accessed+0xcb0/0x2040 [ 49.545649] ? activate_page+0x1040/0x1040 [ 49.549864] ? mark_held_locks+0x130/0x130 [ 49.554082] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 49.559616] ? mark_held_locks+0x130/0x130 [ 49.563831] ? mark_page_accessed+0xcb0/0x2040 [ 49.568391] ? activate_page+0x1040/0x1040 [ 49.572622] ? activate_page+0x1040/0x1040 [ 49.576860] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 49.581875] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 49.586612] ? is_bpf_text_address+0xac/0x170 [ 49.591093] ? lock_downgrade+0x900/0x900 [ 49.595223] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 49.601008] ? mark_held_locks+0x130/0x130 [ 49.605227] ? depot_save_stack+0x292/0x470 [ 49.609529] ? mark_held_locks+0x130/0x130 [ 49.613753] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 49.619098] ? lock_downgrade+0x900/0x900 [ 49.623231] ? kasan_check_read+0x11/0x20 [ 49.627375] ? do_raw_spin_unlock+0xa7/0x2f0 [ 49.631767] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 49.636332] ? mark_held_locks+0x130/0x130 [ 49.640547] ? _raw_spin_unlock+0x2c/0x50 [ 49.644691] ? ext4_discard_preallocations+0x18a/0x13c0 [ 49.650040] ? trace_hardirqs_on+0xbd/0x310 [ 49.654348] ? ext4_exit_mballoc+0xc0/0xc0 [ 49.658633] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 49.663631] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 49.668366] ? modules_open+0xa0/0xa0 [ 49.672166] ? __es_tree_search.isra.12+0x1ba/0x220 [ 49.677164] ? __es_remove_extent+0x9a3/0xba0 [ 49.681640] ? mark_held_locks+0x130/0x130 [ 49.685855] ? lock_downgrade+0x900/0x900 [ 49.689990] ? ext4_es_scan+0x960/0x960 [ 49.693944] ? lock_release+0x970/0x970 [ 49.697900] ? trace_hardirqs_on+0xbd/0x310 [ 49.702204] ? kasan_check_read+0x11/0x20 [ 49.706332] ? clear_inode+0x114/0x3a0 [ 49.710199] ? do_raw_write_trylock+0x1c0/0x1c0 [ 49.714849] ? kasan_check_write+0x14/0x20 [ 49.719066] ? lock_acquire+0x1ed/0x520 [ 49.723029] ? integrity_inode_free+0x77/0x320 [ 49.727595] ? ext4_es_remove_extent+0x151/0x500 [ 49.732332] ? lock_release+0x970/0x970 [ 49.736288] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 49.741370] ? depot_save_stack+0x292/0x470 [ 49.745673] ? kasan_check_write+0x14/0x20 [ 49.749886] ? do_raw_write_lock+0xbd/0x1b0 [ 49.754190] integrity_inode_free+0x12f/0x320 [ 49.758669] security_inode_free+0x19/0x90 [ 49.762883] __destroy_inode+0x328/0x820 [ 49.766923] ? generic_update_time+0x450/0x450 [ 49.771483] ? evict+0x5d8/0x980 [ 49.774827] ? lock_downgrade+0x900/0x900 [ 49.778954] ? __inode_wait_for_writeback+0x2cf/0x380 [ 49.784125] destroy_inode+0xda/0x200 [ 49.787903] ? __destroy_inode+0x820/0x820 [ 49.792117] ? kasan_check_write+0x14/0x20 [ 49.796335] ? do_raw_spin_lock+0xc1/0x200 [ 49.800760] evict+0x5e0/0x980 [ 49.803933] ? jbd2_journal_stop+0x430/0x15d0 [ 49.808409] ? destroy_inode+0x200/0x200 [ 49.812465] ? do_raw_spin_lock+0xc1/0x200 [ 49.816675] ? iput+0x671/0xa90 [ 49.819932] ? lock_downgrade+0x900/0x900 [ 49.824061] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 49.829579] ? kasan_check_read+0x11/0x20 [ 49.833710] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 49.838272] ? lock_downgrade+0x900/0x900 [ 49.842404] ? ext4_ioctl+0x231b/0x4210 [ 49.846358] iput+0x679/0xa90 [ 49.849443] ? inode_add_lru+0x2a0/0x2a0 [ 49.853516] ? up_write+0x7b/0x220 [ 49.857054] ? up_read+0x110/0x110 [ 49.860570] ? up_read+0x110/0x110 [ 49.864093] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.869631] ? check_preemption_disabled+0x48/0x200 [ 49.874632] ext4_ioctl+0x236f/0x4210 [ 49.878430] ? ext4_ioctl_group_add+0x560/0x560 [ 49.883096] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 49.888884] ? kasan_check_read+0x11/0x20 [ 49.893035] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 49.898296] ? unwind_dump+0x190/0x190 [ 49.902169] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.907701] ? avc_has_extended_perms+0xab2/0x15a0 [ 49.912617] ? fpu__prepare_read+0x17/0x750 [ 49.916916] ? avc_ss_reset+0x190/0x190 [ 49.920909] ? save_stack+0xa9/0xd0 [ 49.924523] ? save_stack+0x43/0xd0 [ 49.928129] ? __kasan_slab_free+0x102/0x150 [ 49.932520] ? kasan_slab_free+0xe/0x10 [ 49.936477] ? kmem_cache_free+0x83/0x290 [ 49.940607] ? putname+0xf2/0x130 [ 49.944044] ? do_sys_open+0x54d/0x700 [ 49.947909] ? __x64_sys_openat+0x9d/0x100 [ 49.952123] ? do_syscall_64+0x1b9/0x820 [ 49.956166] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.961524] ? trace_hardirqs_off+0xb8/0x310 [ 49.965915] ? kasan_check_read+0x11/0x20 [ 49.970045] ? do_raw_spin_unlock+0xa7/0x2f0 [ 49.974437] ? ___might_sleep+0x1ed/0x300 [ 49.978565] ? arch_local_save_flags+0x40/0x40 [ 49.983127] ? kasan_check_write+0x14/0x20 [ 49.987341] ? trace_hardirqs_off+0xb8/0x310 [ 49.991747] ? ext4_ioctl_group_add+0x560/0x560 [ 49.996400] do_vfs_ioctl+0x1de/0x1720 [ 50.000271] ? ioctl_preallocate+0x300/0x300 [ 50.004665] ? selinux_file_mprotect+0x620/0x620 [ 50.009398] ? putname+0xf2/0x130 [ 50.012833] ? kmem_cache_free+0x21a/0x290 [ 50.017048] ? putname+0xf7/0x130 [ 50.020487] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.026025] ? security_file_ioctl+0x94/0xc0 [ 50.030430] ksys_ioctl+0xa9/0xd0 [ 50.033866] __x64_sys_ioctl+0x73/0xb0 [ 50.037734] do_syscall_64+0x1b9/0x820 [ 50.041603] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.046946] ? syscall_return_slowpath+0x5e0/0x5e0 [ 50.051856] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.056678] ? trace_hardirqs_on_caller+0x310/0x310 [ 50.061691] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 50.066688] ? prepare_exit_to_usermode+0x291/0x3b0 [ 50.071693] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.076518] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.081689] RIP: 0033:0x440029 [ 50.084864] 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 [ 50.103917] RSP: 002b:00007ffdf91f9268 EFLAGS: 00000217 ORIG_RAX: 0000000000000010 [ 50.111620] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440029 [ 50.118883] RDX: 0000000000440029 RSI: 0000000000006611 RDI: 0000000000000004 [ 50.126133] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 50.133384] R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004018b0 [ 50.140646] R13: 0000000000401940 R14: 0000000000000000 R15: 0000000000000000 [ 50.147914] Modules linked in: [ 50.151327] ---[ end trace bbe8a95344fd1d84 ]--- [ 50.156110] RIP: 0010:rb_erase+0x306/0x3710 [ 50.160425] 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 [ 50.179341] RSP: 0018:ffff8801c35ae918 EFLAGS: 00010202 [ 50.184715] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 50.192003] RDX: 1ffff100386b5d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 50.199271] RBP: ffff8801c35af320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 50.206566] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7b2e430 [ 50.213847] R13: dffffc0000000000 R14: ffff8801c35af2f8 R15: ffff8801c35af438 [ 50.221148] FS: 00000000012dc880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 50.229369] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.235261] CR2: 0000000020000040 CR3: 00000001c3a41000 CR4: 00000000001406f0 [ 50.242544] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.249793] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.257068] Kernel panic - not syncing: Fatal exception [ 50.263330] Kernel Offset: disabled [ 50.266949] Rebooting in 86400 seconds..