[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 44.921763] kauditd_printk_skb: 9 callbacks suppressed [ 44.921777] audit: type=1400 audit(1539135730.586:35): avc: denied { map } for pid=5931 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.12' (ECDSA) to the list of known hosts. executing program [ 51.354110] audit: type=1400 audit(1539135737.026:36): avc: denied { map } for pid=5943 comm="syz-executor457" path="/root/syz-executor457230129" 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 [ 51.357891] kasan: CONFIG_KASAN_INLINE enabled [ 51.385443] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 51.392794] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 51.399012] CPU: 0 PID: 5943 Comm: syz-executor457 Not tainted 4.19.0-rc7+ #54 [ 51.406352] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.415696] RIP: 0010:rb_erase+0x306/0x3710 [ 51.420015] 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.438985] RSP: 0018:ffff8801be77e918 EFLAGS: 00010202 [ 51.444342] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 51.451594] RDX: 1ffff10037cefd2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 51.458921] RBP: ffff8801be77f320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 51.466182] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b8329430 [ 51.473544] R13: dffffc0000000000 R14: ffff8801be77f2f8 R15: ffff8801be77f438 [ 51.480799] FS: 0000000001b23880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 51.489005] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.494892] CR2: 0000000020000080 CR3: 00000001c30da000 CR4: 00000000001406f0 [ 51.502148] Call Trace: [ 51.504730] ? rb_insert_color+0x1460/0x1460 [ 51.509130] ? add_to_page_cache_lru+0x10b0/0x10b0 [ 51.514043] ? mark_held_locks+0x130/0x130 [ 51.518264] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 51.524046] ? mark_held_locks+0x130/0x130 [ 51.528274] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 51.533539] ? mark_held_locks+0x130/0x130 [ 51.537767] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 51.543293] ? mark_held_locks+0x130/0x130 [ 51.547526] ? mark_page_accessed+0xcb0/0x2040 [ 51.552091] ? activate_page+0x1040/0x1040 [ 51.556313] ? activate_page+0x1040/0x1040 [ 51.560545] ? pagecache_get_page+0x2d8/0xf00 [ 51.565033] ? find_get_pages_contig+0x15b0/0x15b0 [ 51.570084] ? lock_downgrade+0x900/0x900 [ 51.574231] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 51.580018] ? mark_held_locks+0x130/0x130 [ 51.584240] ? depot_save_stack+0x292/0x470 [ 51.588603] ? mark_held_locks+0x130/0x130 [ 51.592834] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 51.598186] ? lock_downgrade+0x900/0x900 [ 51.602322] ? kasan_check_read+0x11/0x20 [ 51.606454] ? do_raw_spin_unlock+0xa7/0x2f0 [ 51.610846] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 51.615435] ? mark_held_locks+0x130/0x130 [ 51.619654] ? _raw_spin_unlock+0x2c/0x50 [ 51.623789] ? ext4_discard_preallocations+0x18a/0x13c0 [ 51.629211] ? trace_hardirqs_on+0xbd/0x310 [ 51.633589] ? ext4_exit_mballoc+0xc0/0xc0 [ 51.637819] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 51.642819] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 51.647559] ? modules_open+0xa0/0xa0 [ 51.651365] ? __es_tree_search.isra.12+0x1ba/0x220 [ 51.656375] ? __es_remove_extent+0x9a3/0xba0 [ 51.660967] ? mark_held_locks+0x130/0x130 [ 51.665185] ? lock_downgrade+0x900/0x900 [ 51.669392] ? ext4_es_scan+0x960/0x960 [ 51.673356] ? lock_release+0x970/0x970 [ 51.677314] ? trace_hardirqs_on+0xbd/0x310 [ 51.681617] ? kasan_check_read+0x11/0x20 [ 51.685748] ? clear_inode+0x114/0x3a0 [ 51.689622] ? do_raw_write_trylock+0x1c0/0x1c0 [ 51.694272] ? kasan_check_write+0x14/0x20 [ 51.698573] ? lock_acquire+0x1ed/0x520 [ 51.702540] ? integrity_inode_free+0x77/0x320 [ 51.707114] ? ext4_es_remove_extent+0x151/0x500 [ 51.711860] ? lock_release+0x970/0x970 [ 51.715823] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 51.720908] ? depot_save_stack+0x292/0x470 [ 51.725223] ? kasan_check_write+0x14/0x20 [ 51.729446] ? do_raw_write_lock+0xbd/0x1b0 [ 51.733753] integrity_inode_free+0x12f/0x320 [ 51.738247] security_inode_free+0x19/0x90 [ 51.742481] __destroy_inode+0x328/0x820 [ 51.746530] ? generic_update_time+0x450/0x450 [ 51.751218] ? evict+0x5d8/0x980 [ 51.754571] ? lock_downgrade+0x900/0x900 [ 51.758701] ? __inode_wait_for_writeback+0x2cf/0x380 [ 51.763878] destroy_inode+0xda/0x200 [ 51.767659] ? __destroy_inode+0x820/0x820 [ 51.771878] ? kasan_check_write+0x14/0x20 [ 51.776096] ? do_raw_spin_lock+0xc1/0x200 [ 51.780317] evict+0x5e0/0x980 [ 51.783495] ? jbd2_journal_stop+0x430/0x15d0 [ 51.787974] ? destroy_inode+0x200/0x200 [ 51.792603] ? do_raw_spin_lock+0xc1/0x200 [ 51.796824] ? iput+0x671/0xa90 [ 51.800089] ? lock_downgrade+0x900/0x900 [ 51.804221] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 51.809740] ? kasan_check_read+0x11/0x20 [ 51.813871] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 51.818435] ? lock_downgrade+0x900/0x900 [ 51.822575] ? ext4_ioctl+0x231b/0x4210 [ 51.826535] iput+0x679/0xa90 [ 51.829625] ? inode_add_lru+0x2a0/0x2a0 [ 51.833666] ? up_write+0x7b/0x220 [ 51.837187] ? up_read+0x110/0x110 [ 51.840707] ? up_read+0x110/0x110 [ 51.844230] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.849769] ? check_preemption_disabled+0x48/0x200 [ 51.854769] ext4_ioctl+0x236f/0x4210 [ 51.858555] ? ext4_ioctl_group_add+0x560/0x560 [ 51.863215] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 51.868995] ? kasan_check_read+0x11/0x20 [ 51.873125] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 51.878387] ? unwind_dump+0x190/0x190 [ 51.882262] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.887785] ? avc_has_extended_perms+0xab2/0x15a0 [ 51.892705] ? fpu__prepare_read+0x17/0x750 [ 51.897009] ? avc_ss_reset+0x190/0x190 [ 51.900969] ? save_stack+0xa9/0xd0 [ 51.904580] ? save_stack+0x43/0xd0 [ 51.908189] ? __kasan_slab_free+0x102/0x150 [ 51.912654] ? kasan_slab_free+0xe/0x10 [ 51.916618] ? kmem_cache_free+0x83/0x290 [ 51.920747] ? putname+0xf2/0x130 [ 51.924187] ? do_sys_open+0x54d/0x700 [ 51.928061] ? __x64_sys_openat+0x9d/0x100 [ 51.932281] ? do_syscall_64+0x1b9/0x820 [ 51.936325] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.941675] ? trace_hardirqs_off+0xb8/0x310 [ 51.946063] ? kasan_check_read+0x11/0x20 [ 51.950200] ? do_raw_spin_unlock+0xa7/0x2f0 [ 51.954601] ? ___might_sleep+0x1ed/0x300 [ 51.958736] ? arch_local_save_flags+0x40/0x40 [ 51.963303] ? kasan_check_write+0x14/0x20 [ 51.967571] ? trace_hardirqs_off+0xb8/0x310 [ 51.971972] ? ext4_ioctl_group_add+0x560/0x560 [ 51.976631] do_vfs_ioctl+0x1de/0x1720 [ 51.980504] ? ioctl_preallocate+0x300/0x300 [ 51.984905] ? selinux_file_mprotect+0x620/0x620 [ 51.989651] ? putname+0xf2/0x130 [ 51.993093] ? kmem_cache_free+0x21a/0x290 [ 51.997319] ? putname+0xf7/0x130 [ 52.000757] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.006279] ? security_file_ioctl+0x94/0xc0 [ 52.010670] ksys_ioctl+0xa9/0xd0 [ 52.014110] __x64_sys_ioctl+0x73/0xb0 [ 52.017983] do_syscall_64+0x1b9/0x820 [ 52.021854] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 52.027202] ? syscall_return_slowpath+0x5e0/0x5e0 [ 52.032113] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.036942] ? trace_hardirqs_on_caller+0x310/0x310 [ 52.042022] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 52.047030] ? prepare_exit_to_usermode+0x291/0x3b0 [ 52.052116] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.056955] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.062126] RIP: 0033:0x440089 [ 52.065309] 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 [ 52.084244] RSP: 002b:00007ffc7ca12378 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 52.091944] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440089 [ 52.099203] RDX: 0000000000440089 RSI: 0000000000006611 RDI: 0000000000000003 [ 52.106455] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 52.113708] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401910 [ 52.120957] R13: 00000000004019a0 R14: 0000000000000000 R15: 0000000000000000 [ 52.128212] Modules linked in: [ 52.131712] ---[ end trace 5d05bcedaa382ec4 ]--- [ 52.136491] RIP: 0010:rb_erase+0x306/0x3710 [ 52.140800] 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 [ 52.159737] RSP: 0018:ffff8801be77e918 EFLAGS: 00010202 [ 52.165104] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 52.172403] RDX: 1ffff10037cefd2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 52.179699] RBP: ffff8801be77f320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 52.186970] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b8329430 [ 52.194248] R13: dffffc0000000000 R14: ffff8801be77f2f8 R15: ffff8801be77f438 [ 52.201507] FS: 0000000001b23880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 52.209743] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.215621] CR2: 0000000020000080 CR3: 00000001c30da000 CR4: 00000000001406f0 [ 52.222879] Kernel panic - not syncing: Fatal exception [ 52.229115] Kernel Offset: disabled [ 52.232736] Rebooting in 86400 seconds..