[....] 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: [ 41.216392] kauditd_printk_skb: 8 callbacks suppressed [ 41.216407] audit: type=1400 audit(1539060180.975:35): avc: denied { map } for pid=5877 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.10' (ECDSA) to the list of known hosts. executing program [ 54.110677] audit: type=1400 audit(1539060193.865:36): avc: denied { map } for pid=5889 comm="syz-executor076" path="/root/syz-executor076479930" 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 [ 54.114467] kasan: CONFIG_KASAN_INLINE enabled [ 54.141631] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 54.149157] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 54.155385] CPU: 0 PID: 5889 Comm: syz-executor076 Not tainted 4.19.0-rc7+ #53 [ 54.162742] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.172104] RIP: 0010:rb_erase+0x306/0x3710 [ 54.176411] 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 [ 54.195300] RSP: 0018:ffff8801c5886918 EFLAGS: 00010202 [ 54.200643] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 54.207889] RDX: 1ffff10038b10d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 54.215142] RBP: ffff8801c5887320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 54.222443] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7f4e430 [ 54.229697] R13: dffffc0000000000 R14: ffff8801c58872f8 R15: ffff8801c5887438 [ 54.236949] FS: 0000000001719880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 54.245156] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.251026] CR2: 0000000020000080 CR3: 00000001c6890000 CR4: 00000000001406f0 [ 54.258282] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.265534] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.272783] Call Trace: [ 54.275368] ? rb_insert_color+0x1460/0x1460 [ 54.279922] ? add_to_page_cache_lru+0x10b0/0x10b0 [ 54.284836] ? mark_held_locks+0x130/0x130 [ 54.289062] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 54.294858] ? mark_held_locks+0x130/0x130 [ 54.299077] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 54.304337] ? mark_held_locks+0x130/0x130 [ 54.308574] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.314095] ? mark_held_locks+0x130/0x130 [ 54.318317] ? mark_page_accessed+0xcb0/0x2040 [ 54.322877] ? activate_page+0x1040/0x1040 [ 54.327092] ? activate_page+0x1040/0x1040 [ 54.331322] ? pagecache_get_page+0x2d8/0xf00 [ 54.335812] ? find_get_pages_contig+0x15b0/0x15b0 [ 54.341077] ? lock_downgrade+0x900/0x900 [ 54.345247] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 54.351030] ? mark_held_locks+0x130/0x130 [ 54.355244] ? depot_save_stack+0x292/0x470 [ 54.359547] ? mark_held_locks+0x130/0x130 [ 54.363763] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 54.369108] ? lock_downgrade+0x900/0x900 [ 54.373240] ? kasan_check_read+0x11/0x20 [ 54.377371] ? do_raw_spin_unlock+0xa7/0x2f0 [ 54.381774] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 54.386448] ? mark_held_locks+0x130/0x130 [ 54.390700] ? _raw_spin_unlock+0x2c/0x50 [ 54.394828] ? ext4_discard_preallocations+0x18a/0x13c0 [ 54.400186] ? trace_hardirqs_on+0xbd/0x310 [ 54.404548] ? ext4_exit_mballoc+0xc0/0xc0 [ 54.408767] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 54.413767] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 54.418505] ? modules_open+0xa0/0xa0 [ 54.422292] ? __es_tree_search.isra.12+0x1ba/0x220 [ 54.427290] ? __es_remove_extent+0x9a3/0xba0 [ 54.431764] ? mark_held_locks+0x130/0x130 [ 54.435997] ? lock_downgrade+0x900/0x900 [ 54.440135] ? ext4_es_scan+0x960/0x960 [ 54.444085] ? lock_release+0x970/0x970 [ 54.448090] ? trace_hardirqs_on+0xbd/0x310 [ 54.452390] ? kasan_check_read+0x11/0x20 [ 54.456527] ? clear_inode+0x114/0x3a0 [ 54.460397] ? do_raw_write_trylock+0x1c0/0x1c0 [ 54.465046] ? kasan_check_write+0x14/0x20 [ 54.469267] ? lock_acquire+0x1ed/0x520 [ 54.473224] ? integrity_inode_free+0x77/0x320 [ 54.477790] ? ext4_es_remove_extent+0x151/0x500 [ 54.482552] ? lock_release+0x970/0x970 [ 54.486512] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 54.491712] ? depot_save_stack+0x292/0x470 [ 54.496025] ? kasan_check_write+0x14/0x20 [ 54.500255] ? do_raw_write_lock+0xbd/0x1b0 [ 54.504566] integrity_inode_free+0x12f/0x320 [ 54.509057] security_inode_free+0x19/0x90 [ 54.513286] __destroy_inode+0x328/0x820 [ 54.517331] ? generic_update_time+0x450/0x450 [ 54.521893] ? evict+0x5d8/0x980 [ 54.525242] ? lock_downgrade+0x900/0x900 [ 54.529377] ? __inode_wait_for_writeback+0x2cf/0x380 [ 54.534555] destroy_inode+0xda/0x200 [ 54.538341] ? __destroy_inode+0x820/0x820 [ 54.542572] ? kasan_check_write+0x14/0x20 [ 54.546793] ? do_raw_spin_lock+0xc1/0x200 [ 54.551011] evict+0x5e0/0x980 [ 54.554184] ? jbd2_journal_stop+0x430/0x15d0 [ 54.558674] ? destroy_inode+0x200/0x200 [ 54.562716] ? do_raw_spin_lock+0xc1/0x200 [ 54.566931] ? iput+0x671/0xa90 [ 54.570201] ? lock_downgrade+0x900/0x900 [ 54.574357] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 54.579880] ? kasan_check_read+0x11/0x20 [ 54.584026] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 54.588630] ? lock_downgrade+0x900/0x900 [ 54.592769] ? ext4_ioctl+0x231b/0x4210 [ 54.596743] iput+0x679/0xa90 [ 54.599832] ? inode_add_lru+0x2a0/0x2a0 [ 54.603872] ? up_write+0x7b/0x220 [ 54.607394] ? up_read+0x110/0x110 [ 54.610910] ? up_read+0x110/0x110 [ 54.614433] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.619969] ? check_preemption_disabled+0x48/0x200 [ 54.624969] ext4_ioctl+0x236f/0x4210 [ 54.628752] ? ext4_ioctl_group_add+0x560/0x560 [ 54.633403] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 54.639185] ? kasan_check_read+0x11/0x20 [ 54.643323] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 54.648587] ? unwind_dump+0x190/0x190 [ 54.652478] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.657994] ? avc_has_extended_perms+0xab2/0x15a0 [ 54.662909] ? fpu__prepare_read+0x17/0x750 [ 54.667239] ? avc_ss_reset+0x190/0x190 [ 54.671207] ? save_stack+0xa9/0xd0 [ 54.674813] ? save_stack+0x43/0xd0 [ 54.678426] ? __kasan_slab_free+0x102/0x150 [ 54.682813] ? kasan_slab_free+0xe/0x10 [ 54.686771] ? kmem_cache_free+0x83/0x290 [ 54.690900] ? putname+0xf2/0x130 [ 54.694335] ? do_sys_open+0x54d/0x700 [ 54.698209] ? __x64_sys_openat+0x9d/0x100 [ 54.702425] ? do_syscall_64+0x1b9/0x820 [ 54.706471] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.711851] ? trace_hardirqs_off+0xb8/0x310 [ 54.716242] ? kasan_check_read+0x11/0x20 [ 54.720371] ? do_raw_spin_unlock+0xa7/0x2f0 [ 54.724761] ? ___might_sleep+0x1ed/0x300 [ 54.728889] ? arch_local_save_flags+0x40/0x40 [ 54.733449] ? kasan_check_write+0x14/0x20 [ 54.737700] ? trace_hardirqs_off+0xb8/0x310 [ 54.742093] ? ext4_ioctl_group_add+0x560/0x560 [ 54.746744] do_vfs_ioctl+0x1de/0x1720 [ 54.750613] ? ioctl_preallocate+0x300/0x300 [ 54.755006] ? selinux_file_mprotect+0x620/0x620 [ 54.759744] ? putname+0xf2/0x130 [ 54.763179] ? kmem_cache_free+0x21a/0x290 [ 54.767396] ? putname+0xf7/0x130 [ 54.770831] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.776351] ? security_file_ioctl+0x94/0xc0 [ 54.780737] ksys_ioctl+0xa9/0xd0 [ 54.784311] __x64_sys_ioctl+0x73/0xb0 [ 54.788205] do_syscall_64+0x1b9/0x820 [ 54.792090] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 54.797452] ? syscall_return_slowpath+0x5e0/0x5e0 [ 54.802555] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 54.807395] ? trace_hardirqs_on_caller+0x310/0x310 [ 54.812389] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 54.817388] ? prepare_exit_to_usermode+0x291/0x3b0 [ 54.822389] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 54.827237] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.832410] RIP: 0033:0x440009 [ 54.835586] 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 [ 54.854472] RSP: 002b:00007ffc028111c8 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 54.862184] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 54.869442] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 54.876711] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 54.883962] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 54.891213] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 54.898467] Modules linked in: [ 54.902056] ---[ end trace d92baa048373d9d9 ]--- [ 54.906840] RIP: 0010:rb_erase+0x306/0x3710 [ 54.911143] 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 [ 54.930071] RSP: 0018:ffff8801c5886918 EFLAGS: 00010202 [ 54.935431] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 54.942718] RDX: 1ffff10038b10d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 54.949996] RBP: ffff8801c5887320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 54.957296] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b7f4e430 [ 54.964563] R13: dffffc0000000000 R14: ffff8801c58872f8 R15: ffff8801c5887438 [ 54.971901] FS: 0000000001719880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 54.980154] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.986087] CR2: 0000000020000080 CR3: 00000001c6890000 CR4: 00000000001406f0 [ 54.993353] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 55.000656] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 55.007969] Kernel panic - not syncing: Fatal exception [ 55.014299] Kernel Offset: disabled [ 55.017919] Rebooting in 86400 seconds..