[ 38.172392] audit: type=1800 audit(1539197637.149:30): pid=5678 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [....] 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: [ 42.199149] kauditd_printk_skb: 4 callbacks suppressed [ 42.199163] audit: type=1400 audit(1539197641.199:35): avc: denied { map } for pid=5855 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.35' (ECDSA) to the list of known hosts. executing program [ 48.559619] audit: type=1400 audit(1539197647.559:36): avc: denied { map } for pid=5867 comm="syz-executor256" path="/root/syz-executor256287181" 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 [ 48.563582] kasan: CONFIG_KASAN_INLINE enabled [ 48.590480] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 48.597911] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 48.604129] CPU: 1 PID: 5867 Comm: syz-executor256 Not tainted 4.19.0-rc7+ #55 [ 48.611462] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.620812] RIP: 0010:rb_erase+0x306/0x3710 [ 48.625115] 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 [ 48.644004] RSP: 0018:ffff8801c3fa6918 EFLAGS: 00010202 [ 48.649376] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 48.656629] RDX: 1ffff100387f4d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 48.663883] RBP: ffff8801c3fa7320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 48.671132] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b8363430 [ 48.678381] R13: dffffc0000000000 R14: ffff8801c3fa72f8 R15: ffff8801c3fa7438 [ 48.685639] FS: 0000000002664880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 48.693857] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 48.699716] CR2: 0000000020000080 CR3: 00000001c4e1c000 CR4: 00000000001406e0 [ 48.706972] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 48.714242] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 48.721511] Call Trace: [ 48.724105] ? rb_insert_color+0x1460/0x1460 [ 48.728534] ? add_to_page_cache_lru+0x10b0/0x10b0 [ 48.733452] ? mark_held_locks+0x130/0x130 [ 48.737675] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 48.743458] ? mark_held_locks+0x130/0x130 [ 48.747674] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 48.752949] ? mark_held_locks+0x130/0x130 [ 48.757182] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.762714] ? mark_held_locks+0x130/0x130 [ 48.766928] ? mark_page_accessed+0xcb0/0x2040 [ 48.771488] ? activate_page+0x1040/0x1040 [ 48.775704] ? activate_page+0x1040/0x1040 [ 48.779927] ? pagecache_get_page+0x2d8/0xf00 [ 48.784406] ? find_get_pages_contig+0x15b0/0x15b0 [ 48.789321] ? lock_downgrade+0x900/0x900 [ 48.793459] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 48.799241] ? mark_held_locks+0x130/0x130 [ 48.803458] ? depot_save_stack+0x292/0x470 [ 48.807766] ? mark_held_locks+0x130/0x130 [ 48.812346] ? ext4_discard_preallocations+0x9b9/0x13c0 [ 48.817693] ? lock_downgrade+0x900/0x900 [ 48.821832] ? kasan_check_read+0x11/0x20 [ 48.825967] ? do_raw_spin_unlock+0xa7/0x2f0 [ 48.830363] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 48.834929] ? mark_held_locks+0x130/0x130 [ 48.839148] ? _raw_spin_unlock+0x2c/0x50 [ 48.843279] ? ext4_discard_preallocations+0x18a/0x13c0 [ 48.848629] ? trace_hardirqs_on+0xbd/0x310 [ 48.852934] ? ext4_exit_mballoc+0xc0/0xc0 [ 48.857152] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 48.862167] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 48.866906] ? modules_open+0xa0/0xa0 [ 48.870692] ? __es_tree_search.isra.12+0x1ba/0x220 [ 48.875696] ? __es_remove_extent+0x9a3/0xba0 [ 48.880172] ? mark_held_locks+0x130/0x130 [ 48.884387] ? lock_downgrade+0x900/0x900 [ 48.888515] ? ext4_es_scan+0x960/0x960 [ 48.892468] ? lock_release+0x970/0x970 [ 48.896421] ? trace_hardirqs_on+0xbd/0x310 [ 48.900722] ? kasan_check_read+0x11/0x20 [ 48.904853] ? clear_inode+0x114/0x3a0 [ 48.908721] ? do_raw_write_trylock+0x1c0/0x1c0 [ 48.913372] ? kasan_check_write+0x14/0x20 [ 48.917588] ? lock_acquire+0x1ed/0x520 [ 48.921545] ? integrity_inode_free+0x77/0x320 [ 48.926202] ? ext4_es_remove_extent+0x151/0x500 [ 48.930941] ? lock_release+0x970/0x970 [ 48.934903] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 48.939994] ? depot_save_stack+0x292/0x470 [ 48.944296] ? kasan_check_write+0x14/0x20 [ 48.948511] ? do_raw_write_lock+0xbd/0x1b0 [ 48.952816] integrity_inode_free+0x12f/0x320 [ 48.957307] security_inode_free+0x19/0x90 [ 48.961523] __destroy_inode+0x328/0x820 [ 48.965585] ? generic_update_time+0x450/0x450 [ 48.970151] ? evict+0x5d8/0x980 [ 48.973497] ? lock_downgrade+0x900/0x900 [ 48.977629] ? __inode_wait_for_writeback+0x2cf/0x380 [ 48.983168] destroy_inode+0xda/0x200 [ 48.986952] ? __destroy_inode+0x820/0x820 [ 48.991178] ? kasan_check_write+0x14/0x20 [ 48.995395] ? do_raw_spin_lock+0xc1/0x200 [ 48.999614] evict+0x5e0/0x980 [ 49.002802] ? jbd2_journal_stop+0x430/0x15d0 [ 49.007295] ? destroy_inode+0x200/0x200 [ 49.011342] ? do_raw_spin_lock+0xc1/0x200 [ 49.015560] ? iput+0x671/0xa90 [ 49.018820] ? lock_downgrade+0x900/0x900 [ 49.022949] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 49.028468] ? kasan_check_read+0x11/0x20 [ 49.032599] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 49.037159] ? lock_downgrade+0x900/0x900 [ 49.041289] ? ext4_ioctl+0x231b/0x4210 [ 49.045247] iput+0x679/0xa90 [ 49.048334] ? inode_add_lru+0x2a0/0x2a0 [ 49.052395] ? up_write+0x7b/0x220 [ 49.055914] ? up_read+0x110/0x110 [ 49.059431] ? up_read+0x110/0x110 [ 49.062957] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.068478] ? check_preemption_disabled+0x48/0x200 [ 49.073478] ext4_ioctl+0x236f/0x4210 [ 49.077261] ? ext4_ioctl_group_add+0x560/0x560 [ 49.081910] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 49.087693] ? kasan_check_read+0x11/0x20 [ 49.091818] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 49.097079] ? unwind_dump+0x190/0x190 [ 49.100952] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.106472] ? avc_has_extended_perms+0xab2/0x15a0 [ 49.111388] ? fpu__prepare_read+0x17/0x750 [ 49.115689] ? avc_ss_reset+0x190/0x190 [ 49.119646] ? save_stack+0xa9/0xd0 [ 49.123255] ? save_stack+0x43/0xd0 [ 49.126865] ? __kasan_slab_free+0x102/0x150 [ 49.131250] ? kasan_slab_free+0xe/0x10 [ 49.135209] ? kmem_cache_free+0x83/0x290 [ 49.139339] ? putname+0xf2/0x130 [ 49.142771] ? do_sys_open+0x54d/0x700 [ 49.146636] ? __x64_sys_openat+0x9d/0x100 [ 49.150865] ? do_syscall_64+0x1b9/0x820 [ 49.155025] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.160376] ? trace_hardirqs_off+0xb8/0x310 [ 49.164865] ? kasan_check_read+0x11/0x20 [ 49.169004] ? do_raw_spin_unlock+0xa7/0x2f0 [ 49.173395] ? ___might_sleep+0x1ed/0x300 [ 49.177537] ? arch_local_save_flags+0x40/0x40 [ 49.182102] ? kasan_check_write+0x14/0x20 [ 49.186319] ? trace_hardirqs_off+0xb8/0x310 [ 49.190712] ? ext4_ioctl_group_add+0x560/0x560 [ 49.195366] do_vfs_ioctl+0x1de/0x1720 [ 49.199242] ? ioctl_preallocate+0x300/0x300 [ 49.203636] ? selinux_file_mprotect+0x620/0x620 [ 49.208373] ? putname+0xf2/0x130 [ 49.211808] ? kmem_cache_free+0x21a/0x290 [ 49.216041] ? putname+0xf7/0x130 [ 49.219495] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.225019] ? security_file_ioctl+0x94/0xc0 [ 49.229412] ksys_ioctl+0xa9/0xd0 [ 49.232848] __x64_sys_ioctl+0x73/0xb0 [ 49.236719] do_syscall_64+0x1b9/0x820 [ 49.240588] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 49.245931] ? syscall_return_slowpath+0x5e0/0x5e0 [ 49.250839] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 49.255664] ? trace_hardirqs_on_caller+0x310/0x310 [ 49.260660] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 49.265672] ? prepare_exit_to_usermode+0x291/0x3b0 [ 49.270673] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 49.275504] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.280671] RIP: 0033:0x440009 [ 49.283846] 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 [ 49.302724] RSP: 002b:00007ffd7733d0d8 EFLAGS: 00000213 ORIG_RAX: 0000000000000010 [ 49.310412] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440009 [ 49.317665] RDX: 0000000000440009 RSI: 0000000000006611 RDI: 0000000000000003 [ 49.324930] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 49.332180] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401890 [ 49.339427] R13: 0000000000401920 R14: 0000000000000000 R15: 0000000000000000 [ 49.346704] Modules linked in: [ 49.349943] ---[ end trace 2d2a0a536a89c834 ]--- [ 49.354720] RIP: 0010:rb_erase+0x306/0x3710 [ 49.359026] 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 [ 49.377958] RSP: 0018:ffff8801c3fa6918 EFLAGS: 00010202 [ 49.383327] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 49.390925] RDX: 1ffff100387f4d2b RSI: ffffffff8afbc8a0 RDI: 0000000000000008 [ 49.398194] RBP: ffff8801c3fa7320 R08: dffffc0000000000 R09: fffffbfff12d69b0 [ 49.405470] R10: fffffbfff12d69b0 R11: ffffffff896b4d83 R12: ffff8801b8363430 [ 49.412740] R13: dffffc0000000000 R14: ffff8801c3fa72f8 R15: ffff8801c3fa7438 [ 49.420005] FS: 0000000002664880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 49.428246] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.434129] CR2: 0000000020000080 CR3: 00000001c4e1c000 CR4: 00000000001406e0 [ 49.441384] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 49.448657] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 49.455946] Kernel panic - not syncing: Fatal exception [ 49.462397] Kernel Offset: disabled [ 49.466017] Rebooting in 86400 seconds..