[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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: [ 43.778536] kauditd_printk_skb: 8 callbacks suppressed [ 43.778550] audit: type=1400 audit(1539260404.639:35): avc: denied { map } for pid=5891 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.0.45' (ECDSA) to the list of known hosts. executing program [ 50.300075] audit: type=1400 audit(1539260411.169:36): avc: denied { map } for pid=5903 comm="syz-executor863" path="/root/syz-executor863168758" 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 [ 50.304476] kasan: CONFIG_KASAN_INLINE enabled [ 50.331004] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 50.338351] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 50.344565] CPU: 0 PID: 5903 Comm: syz-executor863 Not tainted 4.19.0-rc7+ #57 [ 50.351906] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.361272] RIP: 0010:rb_erase+0x306/0x3710 [ 50.365578] 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.384469] RSP: 0018:ffff8801b8c56918 EFLAGS: 00010202 [ 50.389828] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 50.397089] RDX: 1ffff1003718ad2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 50.404346] RBP: ffff8801b8c57320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 50.411607] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7ae5430 [ 50.418862] R13: dffffc0000000000 R14: ffff8801b8c572f8 R15: ffff8801b8c57438 [ 50.426463] FS: 0000000001824880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 50.434723] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.440588] CR2: 0000000020000080 CR3: 00000001c5584000 CR4: 00000000001406f0 [ 50.447860] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.455121] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.462366] Call Trace: [ 50.464945] ? rb_insert_color+0x1460/0x1460 [ 50.469343] ? add_to_page_cache_lru+0x10b0/0x10b0 [ 50.474256] ? mark_held_locks+0x130/0x130 [ 50.478479] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 50.484261] ? mark_held_locks+0x130/0x130 [ 50.488479] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 50.493734] ? mark_held_locks+0x130/0x130 [ 50.497955] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 50.503472] ? mark_held_locks+0x130/0x130 [ 50.507690] ? mark_page_accessed+0xcb0/0x2040 [ 50.512250] ? activate_page+0x1040/0x1040 [ 50.516462] ? activate_page+0x1040/0x1040 [ 50.520686] ? pagecache_get_page+0x2d8/0xf00 [ 50.525160] ? find_get_pages_contig+0x15b0/0x15b0 [ 50.530088] ? lock_downgrade+0x900/0x900 [ 50.534226] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 50.540003] ? mark_held_locks+0x130/0x130 [ 50.544228] ? depot_save_stack+0x292/0x470 [ 50.548586] ? mark_held_locks+0x130/0x130 [ 50.552819] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 50.558531] ? lock_downgrade+0x900/0x900 [ 50.562666] ? kasan_check_read+0x11/0x20 [ 50.566801] ? do_raw_spin_unlock+0xa7/0x2f0 [ 50.571193] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 50.575757] ? mark_held_locks+0x130/0x130 [ 50.579976] ? _raw_spin_unlock+0x2c/0x50 [ 50.584116] ? ext4_discard_preallocations+0x18a/0x13c0 [ 50.589460] ? trace_hardirqs_on+0xbd/0x310 [ 50.593763] ? ext4_exit_mballoc+0xc0/0xc0 [ 50.597979] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 50.602978] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 50.607715] ? modules_open+0xa0/0xa0 [ 50.611502] ? __es_tree_search.isra.12+0x1ba/0x220 [ 50.616504] ? __es_remove_extent+0x9a3/0xba0 [ 50.620982] ? mark_held_locks+0x130/0x130 [ 50.625196] ? lock_downgrade+0x900/0x900 [ 50.629326] ? ext4_es_scan+0x960/0x960 [ 50.633280] ? lock_release+0x970/0x970 [ 50.637233] ? trace_hardirqs_on+0xbd/0x310 [ 50.641533] ? kasan_check_read+0x11/0x20 [ 50.645657] ? clear_inode+0x114/0x3a0 [ 50.649527] ? do_raw_write_trylock+0x1c0/0x1c0 [ 50.654175] ? kasan_check_write+0x14/0x20 [ 50.658484] ? lock_acquire+0x1ed/0x520 [ 50.662459] ? integrity_inode_free+0x77/0x320 [ 50.667023] ? ext4_es_remove_extent+0x151/0x500 [ 50.671768] ? lock_release+0x970/0x970 [ 50.675728] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 50.680811] ? depot_save_stack+0x292/0x470 [ 50.685123] ? kasan_check_write+0x14/0x20 [ 50.689338] ? do_raw_write_lock+0xbd/0x1b0 [ 50.693645] integrity_inode_free+0x12f/0x320 [ 50.698130] security_inode_free+0x19/0x90 [ 50.702356] __destroy_inode+0x328/0x820 [ 50.706406] ? generic_update_time+0x450/0x450 [ 50.710974] ? evict+0x5d8/0x980 [ 50.714324] ? lock_downgrade+0x900/0x900 [ 50.718455] ? __inode_wait_for_writeback+0x2cf/0x380 [ 50.723627] destroy_inode+0xda/0x200 [ 50.727405] ? __destroy_inode+0x820/0x820 [ 50.731619] ? kasan_check_write+0x14/0x20 [ 50.735833] ? do_raw_spin_lock+0xc1/0x200 [ 50.740063] evict+0x5e0/0x980 [ 50.743233] ? jbd2_journal_stop+0x430/0x15d0 [ 50.747705] ? destroy_inode+0x200/0x200 [ 50.751748] ? do_raw_spin_lock+0xc1/0x200 [ 50.755962] ? iput+0x671/0xa90 [ 50.759222] ? lock_downgrade+0x900/0x900 [ 50.763352] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 50.768870] ? kasan_check_read+0x11/0x20 [ 50.773008] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 50.777574] ? lock_downgrade+0x900/0x900 [ 50.781713] ? ext4_ioctl+0x231b/0x4210 [ 50.785672] iput+0x679/0xa90 [ 50.788772] ? inode_add_lru+0x2a0/0x2a0 [ 50.792814] ? up_write+0x7b/0x220 [ 50.796330] ? up_read+0x110/0x110 [ 50.799855] ? up_read+0x110/0x110 [ 50.803376] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.808896] ? check_preemption_disabled+0x48/0x200 [ 50.813896] ext4_ioctl+0x236f/0x4210 [ 50.817680] ? ext4_ioctl_group_add+0x560/0x560 [ 50.822334] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 50.828123] ? kasan_check_read+0x11/0x20 [ 50.832256] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 50.837517] ? unwind_dump+0x190/0x190 [ 50.841395] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.846913] ? avc_has_extended_perms+0xab2/0x15a0 [ 50.851830] ? fpu__prepare_read+0x17/0x750 [ 50.856162] ? avc_ss_reset+0x190/0x190 [ 50.860294] ? save_stack+0xa9/0xd0 [ 50.863910] ? save_stack+0x43/0xd0 [ 50.867515] ? __kasan_slab_free+0x102/0x150 [ 50.871903] ? kasan_slab_free+0xe/0x10 [ 50.875856] ? kmem_cache_free+0x83/0x290 [ 50.880090] ? putname+0xf2/0x130 [ 50.883533] ? do_sys_open+0x54d/0x700 [ 50.887399] ? __x64_sys_openat+0x9d/0x100 [ 50.891615] ? do_syscall_64+0x1b9/0x820 [ 50.895657] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.901006] ? trace_hardirqs_off+0xb8/0x310 [ 50.905396] ? kasan_check_read+0x11/0x20 [ 50.909527] ? do_raw_spin_unlock+0xa7/0x2f0 [ 50.913920] ? ___might_sleep+0x1ed/0x300 [ 50.918203] ? arch_local_save_flags+0x40/0x40 [ 50.922765] ? kasan_check_write+0x14/0x20 [ 50.926982] ? trace_hardirqs_off+0xb8/0x310 [ 50.931454] ? ext4_ioctl_group_add+0x560/0x560 [ 50.936120] do_vfs_ioctl+0x1de/0x1720 [ 50.939992] ? ioctl_preallocate+0x300/0x300 [ 50.944410] ? selinux_file_mprotect+0x620/0x620 [ 50.949158] ? putname+0xf2/0x130 [ 50.952608] ? kmem_cache_free+0x21a/0x290 [ 50.956822] ? putname+0xf7/0x130 [ 50.960258] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.965779] ? security_file_ioctl+0x94/0xc0 [ 50.970173] ksys_ioctl+0xa9/0xd0 [ 50.973607] __x64_sys_ioctl+0x73/0xb0 [ 50.977478] do_syscall_64+0x1b9/0x820 [ 50.981346] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.986686] ? syscall_return_slowpath+0x5e0/0x5e0 [ 50.991591] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.996417] ? trace_hardirqs_on_caller+0x310/0x310 [ 51.001487] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 51.006501] ? prepare_exit_to_usermode+0x291/0x3b0 [ 51.011504] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 51.016328] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.021493] RIP: 0033:0x440089 [ 51.024671] 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 [ 51.043562] RSP: 002b:00007ffd3d8ac0d8 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 51.051259] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440089 [ 51.058509] RDX: 0000000000440089 RSI: 0000000000006611 RDI: 0000000000000003 [ 51.065764] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 51.073018] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401910 [ 51.080270] R13: 00000000004019a0 R14: 0000000000000000 R15: 0000000000000000 [ 51.087533] Modules linked in: [ 51.091043] ---[ end trace ccd4c7ebc0662381 ]--- [ 51.095825] RIP: 0010:rb_erase+0x306/0x3710 [ 51.100167] 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 [ 51.119067] RSP: 0018:ffff8801b8c56918 EFLAGS: 00010202 [ 51.124425] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 51.131700] RDX: 1ffff1003718ad2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 51.139013] RBP: ffff8801b8c57320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 51.146270] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7ae5430 [ 51.153561] R13: dffffc0000000000 R14: ffff8801b8c572f8 R15: ffff8801b8c57438 [ 51.160858] FS: 0000000001824880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 51.169135] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.175015] CR2: 0000000020000080 CR3: 00000001c5584000 CR4: 00000000001406f0 [ 51.182308] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 51.189574] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 51.196826] Kernel panic - not syncing: Fatal exception [ 51.203138] Kernel Offset: disabled [ 51.206757] Rebooting in 86400 seconds..