[....] 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: [ 44.312925] kauditd_printk_skb: 9 callbacks suppressed [ 44.312940] audit: type=1400 audit(1539244218.115:35): avc: denied { map } for pid=5915 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.31' (ECDSA) to the list of known hosts. executing program [ 50.787103] audit: type=1400 audit(1539244224.595:36): avc: denied { map } for pid=5927 comm="syz-executor492" path="/root/syz-executor492839099" 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.791312] kasan: CONFIG_KASAN_INLINE enabled [ 50.818015] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 50.825414] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 50.831647] CPU: 0 PID: 5927 Comm: syz-executor492 Not tainted 4.19.0-rc7+ #57 [ 50.838984] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.848356] RIP: 0010:rb_erase+0x306/0x3710 [ 50.852664] 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.871761] RSP: 0018:ffff8801c281e918 EFLAGS: 00010202 [ 50.877179] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 50.884434] RDX: 1ffff10038503d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 50.891684] RBP: ffff8801c281f320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 50.898931] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7ecf430 [ 50.906181] R13: dffffc0000000000 R14: ffff8801c281f2f8 R15: ffff8801c281f438 [ 50.913443] FS: 0000000001f68880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 50.921717] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.927590] CR2: 0000000020000700 CR3: 00000001c294d000 CR4: 00000000001406f0 [ 50.934846] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.942093] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.949342] Call Trace: [ 50.951932] ? rb_insert_color+0x1460/0x1460 [ 50.956325] ? add_to_page_cache_lru+0x10b0/0x10b0 [ 50.961246] ? mark_held_locks+0x130/0x130 [ 50.967193] ? lock_downgrade+0x900/0x900 [ 50.973182] ? mark_held_locks+0x130/0x130 [ 50.979180] ? kasan_check_read+0x11/0x20 [ 50.985135] ? mark_held_locks+0x130/0x130 [ 50.991181] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 50.999087] ? mark_held_locks+0x130/0x130 [ 51.005091] ? mark_page_accessed+0xcb0/0x2040 [ 51.010036] ? activate_page+0x1040/0x1040 [ 51.014255] ? activate_page+0x1040/0x1040 [ 51.018488] ? pagecache_get_page+0x2d8/0xf00 [ 51.024287] ? find_get_pages_contig+0x15b0/0x15b0 [ 51.029473] ? lock_downgrade+0x900/0x900 [ 51.033612] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 51.039390] ? mark_held_locks+0x130/0x130 [ 51.043605] ? depot_save_stack+0x292/0x470 [ 51.047908] ? mark_held_locks+0x130/0x130 [ 51.052125] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 51.057552] ? lock_downgrade+0x900/0x900 [ 51.061769] ? kasan_check_read+0x11/0x20 [ 51.065913] ? do_raw_spin_unlock+0xa7/0x2f0 [ 51.070305] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 51.074872] ? mark_held_locks+0x130/0x130 [ 51.079087] ? _raw_spin_unlock+0x2c/0x50 [ 51.083323] ? ext4_discard_preallocations+0x18a/0x13c0 [ 51.088685] ? trace_hardirqs_on+0xbd/0x310 [ 51.093031] ? ext4_exit_mballoc+0xc0/0xc0 [ 51.097249] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 51.102248] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 51.106987] ? modules_open+0xa0/0xa0 [ 51.111030] ? __es_tree_search.isra.12+0x1ba/0x220 [ 51.116030] ? __es_remove_extent+0x9a3/0xba0 [ 51.120509] ? mark_held_locks+0x130/0x130 [ 51.124727] ? lock_downgrade+0x900/0x900 [ 51.128864] ? ext4_es_scan+0x960/0x960 [ 51.132824] ? lock_release+0x970/0x970 [ 51.136784] ? trace_hardirqs_on+0xbd/0x310 [ 51.141092] ? kasan_check_read+0x11/0x20 [ 51.145230] ? clear_inode+0x114/0x3a0 [ 51.149102] ? do_raw_write_trylock+0x1c0/0x1c0 [ 51.154499] ? kasan_check_write+0x14/0x20 [ 51.159413] ? lock_acquire+0x1ed/0x520 [ 51.163371] ? integrity_inode_free+0x77/0x320 [ 51.167935] ? ext4_es_remove_extent+0x151/0x500 [ 51.172672] ? lock_release+0x970/0x970 [ 51.176736] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 51.181829] ? depot_save_stack+0x292/0x470 [ 51.186185] ? kasan_check_write+0x14/0x20 [ 51.190671] ? do_raw_write_lock+0xbd/0x1b0 [ 51.194977] integrity_inode_free+0x12f/0x320 [ 51.199454] security_inode_free+0x19/0x90 [ 51.203669] __destroy_inode+0x328/0x820 [ 51.207712] ? generic_update_time+0x450/0x450 [ 51.212272] ? evict+0x5d8/0x980 [ 51.215624] ? lock_downgrade+0x900/0x900 [ 51.219757] ? __inode_wait_for_writeback+0x2cf/0x380 [ 51.224933] destroy_inode+0xda/0x200 [ 51.228716] ? __destroy_inode+0x820/0x820 [ 51.232929] ? kasan_check_write+0x14/0x20 [ 51.237147] ? do_raw_spin_lock+0xc1/0x200 [ 51.241364] evict+0x5e0/0x980 [ 51.244539] ? jbd2_journal_stop+0x430/0x15d0 [ 51.249014] ? destroy_inode+0x200/0x200 [ 51.253054] ? do_raw_spin_lock+0xc1/0x200 [ 51.257266] ? iput+0x671/0xa90 [ 51.260530] ? lock_downgrade+0x900/0x900 [ 51.264662] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 51.270181] ? kasan_check_read+0x11/0x20 [ 51.274308] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 51.278870] ? lock_downgrade+0x900/0x900 [ 51.283002] ? ext4_ioctl+0x231b/0x4210 [ 51.286962] iput+0x679/0xa90 [ 51.290049] ? inode_add_lru+0x2a0/0x2a0 [ 51.294094] ? up_write+0x7b/0x220 [ 51.297613] ? up_read+0x110/0x110 [ 51.301134] ? up_read+0x110/0x110 [ 51.304660] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.310181] ? check_preemption_disabled+0x48/0x200 [ 51.315181] ext4_ioctl+0x236f/0x4210 [ 51.318963] ? ext4_ioctl_group_add+0x560/0x560 [ 51.323615] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 51.329398] ? kasan_check_read+0x11/0x20 [ 51.333525] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 51.338783] ? rcu_bh_qs+0xc0/0xc0 [ 51.342315] ? unwind_dump+0x190/0x190 [ 51.346184] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.351704] ? avc_has_extended_perms+0xab2/0x15a0 [ 51.356615] ? avc_ss_reset+0x190/0x190 [ 51.360573] ? save_stack+0xa9/0xd0 [ 51.364186] ? save_stack+0x43/0xd0 [ 51.367790] ? __kasan_slab_free+0x102/0x150 [ 51.372175] ? kasan_slab_free+0xe/0x10 [ 51.376129] ? kmem_cache_free+0x83/0x290 [ 51.380260] ? putname+0xf2/0x130 [ 51.383696] ? do_sys_open+0x54d/0x700 [ 51.387562] ? __x64_sys_open+0x7e/0xc0 [ 51.391519] ? do_syscall_64+0x1b9/0x820 [ 51.395561] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.400908] ? trace_hardirqs_off+0xb8/0x310 [ 51.405297] ? kasan_check_read+0x11/0x20 [ 51.409544] ? do_raw_spin_unlock+0xa7/0x2f0 [ 51.413937] ? ___might_sleep+0x1ed/0x300 [ 51.418073] ? arch_local_save_flags+0x40/0x40 [ 51.422636] ? kasan_check_write+0x14/0x20 [ 51.426852] ? trace_hardirqs_off+0xb8/0x310 [ 51.431243] ? ext4_ioctl_group_add+0x560/0x560 [ 51.435895] do_vfs_ioctl+0x1de/0x1720 [ 51.439763] ? ioctl_preallocate+0x300/0x300 [ 51.444156] ? selinux_file_mprotect+0x620/0x620 [ 51.448890] ? putname+0xf2/0x130 [ 51.452321] ? kmem_cache_free+0x20b/0x290 [ 51.456535] ? putname+0xf7/0x130 [ 51.459971] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.465498] ? security_file_ioctl+0x94/0xc0 [ 51.469893] ksys_ioctl+0xa9/0xd0 [ 51.473327] __x64_sys_ioctl+0x73/0xb0 [ 51.477301] do_syscall_64+0x1b9/0x820 [ 51.481173] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 51.486524] ? syscall_return_slowpath+0x5e0/0x5e0 [ 51.491440] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 51.496366] ? trace_hardirqs_on_caller+0x310/0x310 [ 51.501373] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 51.506379] ? prepare_exit_to_usermode+0x291/0x3b0 [ 51.511378] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 51.516204] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.521372] RIP: 0033:0x440029 [ 51.524549] 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.543433] RSP: 002b:00007ffd2baa1288 EFLAGS: 00000217 ORIG_RAX: 0000000000000010 [ 51.552078] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440029 [ 51.561511] RDX: 0000000000440029 RSI: 0000000000006611 RDI: 0000000000000004 [ 51.568762] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 51.576012] R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004018b0 [ 51.583266] R13: 0000000000401940 R14: 0000000000000000 R15: 0000000000000000 [ 51.590949] Modules linked in: [ 51.594508] ---[ end trace f192cf8da46b990e ]--- [ 51.599272] RIP: 0010:rb_erase+0x306/0x3710 [ 51.603693] 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.622711] RSP: 0018:ffff8801c281e918 EFLAGS: 00010202 [ 51.628155] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 51.635444] RDX: 1ffff10038503d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 51.642696] RBP: ffff8801c281f320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 51.649974] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7ecf430 [ 51.657253] R13: dffffc0000000000 R14: ffff8801c281f2f8 R15: ffff8801c281f438 [ 51.664548] FS: 0000000001f68880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 51.672772] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.678667] CR2: 0000000020000700 CR3: 00000001c294d000 CR4: 00000000001406f0 [ 51.685951] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 51.693200] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 51.700491] Kernel panic - not syncing: Fatal exception [ 51.706738] Kernel Offset: disabled [ 51.710394] Rebooting in 86400 seconds..