[ 37.944284] audit: type=1800 audit(1539297777.384:26): pid=5712 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rsyslog" dev="sda1" ino=2442 res=0 [....] 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 Warning: Permanently added '10.128.0.27' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 46.237595] kauditd_printk_skb: 9 callbacks suppressed [ 46.237612] audit: type=1400 audit(1539297785.744:36): avc: denied { map } for pid=5899 comm="syz-executor830" path="/root/syz-executor830141812" 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 [ 46.241765] kasan: CONFIG_KASAN_INLINE enabled [ 46.273723] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 46.281104] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 46.287336] CPU: 0 PID: 5899 Comm: syz-executor830 Not tainted 4.19.0-rc7+ #58 [ 46.294677] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.304023] RIP: 0010:rb_erase+0x306/0x3710 [ 46.308340] 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 [ 46.327240] RSP: 0018:ffff8801c3996918 EFLAGS: 00010202 [ 46.332587] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 46.339841] RDX: 1ffff10038732d2b RSI: ffffffff8afbc860 RDI: 0000000000000008 [ 46.347091] RBP: ffff8801c3997320 R08: dffffc0000000000 R09: fffffbfff12d69a0 [ 46.354341] R10: fffffbfff12d69a0 R11: ffffffff896b4d03 R12: ffff8801b82e2430 [ 46.361592] R13: dffffc0000000000 R14: ffff8801c39972f8 R15: ffff8801c3997438 [ 46.368848] FS: 0000000000742880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 46.377051] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.382914] CR2: 0000000020000000 CR3: 00000001c1c25000 CR4: 00000000001406f0 [ 46.390172] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 46.397684] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 46.404934] Call Trace: [ 46.407512] ? rb_insert_color+0x1460/0x1460 [ 46.411910] ? add_to_page_cache_lru+0x10b0/0x10b0 [ 46.416830] ? mark_held_locks+0x130/0x130 [ 46.421054] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 46.426838] ? mark_held_locks+0x130/0x130 [ 46.431076] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 46.436338] ? mark_held_locks+0x130/0x130 [ 46.440562] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.446079] ? mark_held_locks+0x130/0x130 [ 46.450298] ? mark_page_accessed+0xcb0/0x2040 [ 46.454870] ? activate_page+0x1040/0x1040 [ 46.459097] ? activate_page+0x1040/0x1040 [ 46.463331] ? pagecache_get_page+0x2d8/0xf00 [ 46.467810] ? find_get_pages_contig+0x15b0/0x15b0 [ 46.472723] ? lock_downgrade+0x900/0x900 [ 46.476856] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 46.482636] ? mark_held_locks+0x130/0x130 [ 46.486852] ? depot_save_stack+0x292/0x470 [ 46.491157] ? mark_held_locks+0x130/0x130 [ 46.495384] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 46.500731] ? lock_downgrade+0x900/0x900 [ 46.504859] ? kasan_check_read+0x11/0x20 [ 46.508992] ? do_raw_spin_unlock+0xa7/0x2f0 [ 46.513387] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 46.517954] ? mark_held_locks+0x130/0x130 [ 46.522175] ? _raw_spin_unlock+0x2c/0x50 [ 46.526305] ? ext4_discard_preallocations+0x18a/0x13c0 [ 46.531677] ? trace_hardirqs_on+0xbd/0x310 [ 46.536015] ? ext4_exit_mballoc+0xc0/0xc0 [ 46.540237] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 46.545237] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 46.549978] ? modules_open+0xa0/0xa0 [ 46.553766] ? __es_tree_search.isra.12+0x1ba/0x220 [ 46.558765] ? __es_remove_extent+0x9a3/0xba0 [ 46.563252] ? mark_held_locks+0x130/0x130 [ 46.567472] ? lock_downgrade+0x900/0x900 [ 46.571617] ? ext4_es_scan+0x960/0x960 [ 46.575574] ? lock_release+0x970/0x970 [ 46.579535] ? trace_hardirqs_on+0xbd/0x310 [ 46.583837] ? kasan_check_read+0x11/0x20 [ 46.587985] ? clear_inode+0x114/0x3a0 [ 46.591858] ? do_raw_write_trylock+0x1c0/0x1c0 [ 46.596511] ? kasan_check_write+0x14/0x20 [ 46.600751] ? lock_acquire+0x1ed/0x520 [ 46.604732] ? integrity_inode_free+0x77/0x320 [ 46.609321] ? ext4_es_remove_extent+0x151/0x500 [ 46.614059] ? lock_release+0x970/0x970 [ 46.618014] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 46.623100] ? depot_save_stack+0x292/0x470 [ 46.627405] ? kasan_check_write+0x14/0x20 [ 46.631624] ? do_raw_write_lock+0xbd/0x1b0 [ 46.635928] integrity_inode_free+0x12f/0x320 [ 46.640410] security_inode_free+0x19/0x90 [ 46.644632] __destroy_inode+0x328/0x820 [ 46.648687] ? generic_update_time+0x450/0x450 [ 46.653263] ? evict+0x5d8/0x980 [ 46.656614] ? lock_downgrade+0x900/0x900 [ 46.660749] ? __inode_wait_for_writeback+0x2cf/0x380 [ 46.665925] destroy_inode+0xda/0x200 [ 46.669711] ? __destroy_inode+0x820/0x820 [ 46.673926] ? kasan_check_write+0x14/0x20 [ 46.678146] ? do_raw_spin_lock+0xc1/0x200 [ 46.682364] evict+0x5e0/0x980 [ 46.685544] ? jbd2_journal_stop+0x430/0x15d0 [ 46.690023] ? destroy_inode+0x200/0x200 [ 46.694069] ? do_raw_spin_lock+0xc1/0x200 [ 46.698283] ? iput+0x671/0xa90 [ 46.701547] ? lock_downgrade+0x900/0x900 [ 46.705680] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 46.711219] ? kasan_check_read+0x11/0x20 [ 46.715353] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 46.719945] ? lock_downgrade+0x900/0x900 [ 46.724077] ? ext4_ioctl+0x231b/0x4210 [ 46.728035] iput+0x679/0xa90 [ 46.731125] ? inode_add_lru+0x2a0/0x2a0 [ 46.735167] ? up_write+0x7b/0x220 [ 46.738701] ? up_read+0x110/0x110 [ 46.742236] ? up_read+0x110/0x110 [ 46.745761] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.751283] ? check_preemption_disabled+0x48/0x200 [ 46.756285] ext4_ioctl+0x236f/0x4210 [ 46.760076] ? ext4_ioctl_group_add+0x560/0x560 [ 46.764749] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 46.770528] ? kasan_check_read+0x11/0x20 [ 46.774660] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 46.779920] ? unwind_dump+0x190/0x190 [ 46.783795] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.789315] ? avc_has_extended_perms+0xab2/0x15a0 [ 46.794232] ? fpu__prepare_read+0x17/0x750 [ 46.798537] ? avc_ss_reset+0x190/0x190 [ 46.802495] ? save_stack+0xa9/0xd0 [ 46.806102] ? save_stack+0x43/0xd0 [ 46.809712] ? __kasan_slab_free+0x102/0x150 [ 46.814102] ? kasan_slab_free+0xe/0x10 [ 46.818057] ? kmem_cache_free+0x83/0x290 [ 46.822186] ? putname+0xf2/0x130 [ 46.825625] ? do_sys_open+0x54d/0x700 [ 46.829495] ? __x64_sys_openat+0x9d/0x100 [ 46.833711] ? do_syscall_64+0x1b9/0x820 [ 46.837754] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.843101] ? trace_hardirqs_off+0xb8/0x310 [ 46.847489] ? kasan_check_read+0x11/0x20 [ 46.851619] ? do_raw_spin_unlock+0xa7/0x2f0 [ 46.856012] ? ___might_sleep+0x1ed/0x300 [ 46.860143] ? arch_local_save_flags+0x40/0x40 [ 46.864726] ? kasan_check_write+0x14/0x20 [ 46.868952] ? trace_hardirqs_off+0xb8/0x310 [ 46.873344] ? ext4_ioctl_group_add+0x560/0x560 [ 46.878002] do_vfs_ioctl+0x1de/0x1720 [ 46.881900] ? ioctl_preallocate+0x300/0x300 [ 46.886351] ? selinux_file_mprotect+0x620/0x620 [ 46.891097] ? putname+0xf2/0x130 [ 46.894537] ? kmem_cache_free+0x21a/0x290 [ 46.898759] ? putname+0xf7/0x130 [ 46.902200] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.907720] ? security_file_ioctl+0x94/0xc0 [ 46.912110] ksys_ioctl+0xa9/0xd0 [ 46.915570] __x64_sys_ioctl+0x73/0xb0 [ 46.919450] do_syscall_64+0x1b9/0x820 [ 46.923320] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 46.928676] ? syscall_return_slowpath+0x5e0/0x5e0 [ 46.933603] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.938782] ? trace_hardirqs_on_caller+0x310/0x310 [ 46.943782] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 46.948797] ? prepare_exit_to_usermode+0x291/0x3b0 [ 46.953797] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.958632] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.963803] RIP: 0033:0x440029 [ 46.966982] 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 [ 46.985867] RSP: 002b:00007ffef0129118 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 46.993557] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440029 [ 47.000811] RDX: 0000000000440029 RSI: 0000000000006611 RDI: 0000000000000003 [ 47.008061] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 47.015311] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018b0 [ 47.022563] R13: 0000000000401940 R14: 0000000000000000 R15: 0000000000000000 [ 47.029818] Modules linked in: [ 47.033123] ---[ end trace 382650692882c9be ]--- [ 47.037893] RIP: 0010:rb_erase+0x306/0x3710 [ 47.042336] 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 [ 47.061304] RSP: 0018:ffff8801c3996918 EFLAGS: 00010202 [ 47.066668] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 47.073951] RDX: 1ffff10038732d2b RSI: ffffffff8afbc860 RDI: 0000000000000008 [ 47.081239] RBP: ffff8801c3997320 R08: dffffc0000000000 R09: fffffbfff12d69a0 [ 47.088493] R10: fffffbfff12d69a0 R11: ffffffff896b4d03 R12: ffff8801b82e2430 [ 47.095776] R13: dffffc0000000000 R14: ffff8801c39972f8 R15: ffff8801c3997438 [ 47.103061] FS: 0000000000742880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 47.111300] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.117179] CR2: 0000000020000000 CR3: 00000001c1c25000 CR4: 00000000001406f0 [ 47.124467] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.131752] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 47.139037] Kernel panic - not syncing: Fatal exception [ 47.145407] Kernel Offset: disabled [ 47.149043] Rebooting in 86400 seconds..