[ 43.701936] audit: type=1800 audit(1546351886.665:30): pid=8092 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: [ 47.949316] kauditd_printk_skb: 4 callbacks suppressed [ 47.949331] audit: type=1400 audit(1546351890.945:35): avc: denied { map } for pid=8264 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.25' (ECDSA) to the list of known hosts. [ 54.819893] audit: type=1400 audit(1546351897.815:36): avc: denied { map } for pid=8276 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2019/01/01 14:11:38 parsed 1 programs [ 55.576991] audit: type=1400 audit(1546351898.565:37): avc: denied { map } for pid=8276 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=14692 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 2019/01/01 14:11:40 executed programs: 0 [ 57.372933] IPVS: ftp: loaded support on port[0] = 21 [ 57.440662] chnl_net:caif_netlink_parms(): no params data found [ 57.473740] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.482155] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.489379] device bridge_slave_0 entered promiscuous mode [ 57.496566] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.503030] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.510046] device bridge_slave_1 entered promiscuous mode [ 57.526581] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 57.536105] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 57.552751] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 57.560441] team0: Port device team_slave_0 added [ 57.565806] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 57.573080] team0: Port device team_slave_1 added [ 57.578329] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 57.585592] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 57.641530] device hsr_slave_0 entered promiscuous mode [ 57.688452] device hsr_slave_1 entered promiscuous mode [ 57.729068] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 57.736045] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 57.751278] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.757665] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.764677] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.771042] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.804220] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 57.811419] 8021q: adding VLAN 0 to HW filter on device bond0 [ 57.820415] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 57.829216] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 57.848571] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.855638] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.863879] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 57.874091] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 57.881243] 8021q: adding VLAN 0 to HW filter on device team0 [ 57.889799] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 57.897383] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.903793] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.913568] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 57.921446] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.927761] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.950262] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 57.958127] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 57.965885] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 57.973385] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 57.981492] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 57.991004] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 57.996994] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 58.010876] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready [ 58.022927] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 58.033383] audit: type=1400 audit(1546351901.025:38): avc: denied { associate } for pid=8289 comm="syz-executor0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 [ 58.084801] L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/l1tf.html for details. [ 58.110489] ================================================================== [ 58.117911] BUG: KASAN: slab-out-of-bounds in kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.125866] Read of size 8 at addr ffff8880a57bd050 by task syz-executor0/8294 [ 58.133208] [ 58.134837] CPU: 1 PID: 8294 Comm: syz-executor0 Not tainted 4.20.0+ #3 [ 58.141570] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.150904] Call Trace: [ 58.153490] dump_stack+0x1db/0x2d0 [ 58.157101] ? dump_stack_print_info.cold+0x20/0x20 [ 58.162114] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.167378] print_address_description.cold+0x7c/0x20d [ 58.172638] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.177901] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.183162] kasan_report.cold+0x1b/0x40 [ 58.187211] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.192475] __asan_report_load8_noabort+0x14/0x20 [ 58.197387] kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.202479] ? vcpu_stat_get_per_vm_open+0x40/0x40 [ 58.207402] ? lock_downgrade+0x910/0x910 [ 58.211540] ? lock_release+0xc40/0xc40 [ 58.215509] kvm_vm_ioctl_clear_dirty_log+0xff/0x260 [ 58.220640] ? kvm_vm_ioctl_get_dirty_log+0x260/0x260 [ 58.225816] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 58.231355] ? _copy_from_user+0xdd/0x150 [ 58.235484] kvm_vm_ioctl+0xc19/0x1fe0 [ 58.239370] ? kvm_unregister_device_ops+0x70/0x70 [ 58.244279] ? print_usage_bug+0xd0/0xd0 [ 58.248341] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 58.253557] ? drop_futex_key_refs.isra.0+0x6f/0xf0 [ 58.258563] ? get_futex_key+0x2050/0x2050 [ 58.262784] ? mark_held_locks+0x100/0x100 [ 58.267002] ? do_futex+0x1b0/0x2910 [ 58.270701] ? do_raw_spin_trylock+0x270/0x270 [ 58.275269] ? add_mm_counter_fast.part.0+0x40/0x40 [ 58.280271] ? add_lock_to_list.isra.0+0x450/0x450 [ 58.285180] ? add_lock_to_list.isra.0+0x450/0x450 [ 58.290091] ? exit_robust_list+0x290/0x290 [ 58.294394] ? __might_fault+0x12b/0x1e0 [ 58.298444] ? find_held_lock+0x35/0x120 [ 58.302521] ? __might_fault+0x12b/0x1e0 [ 58.306601] ? lock_acquire+0x1db/0x570 [ 58.310577] ? lock_downgrade+0x910/0x910 [ 58.314706] ? lock_release+0xc40/0xc40 [ 58.318663] ? kvm_unregister_device_ops+0x70/0x70 [ 58.323575] do_vfs_ioctl+0x107b/0x17d0 [ 58.327530] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 58.332703] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.338231] ? selinux_file_ioctl+0x125/0x720 [ 58.342708] ? ioctl_preallocate+0x2f0/0x2f0 [ 58.347100] ? selinux_file_mprotect+0x620/0x620 [ 58.351841] ? __fget_light+0x2db/0x420 [ 58.355807] ? put_timespec64+0x115/0x1b0 [ 58.359944] ? nsecs_to_jiffies+0x30/0x30 [ 58.364075] ? do_syscall_64+0x8c/0x800 [ 58.368036] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.373600] ? security_file_ioctl+0x93/0xc0 [ 58.377993] ksys_ioctl+0xab/0xd0 [ 58.381443] __x64_sys_ioctl+0x73/0xb0 [ 58.385339] do_syscall_64+0x1a3/0x800 [ 58.389230] ? syscall_return_slowpath+0x5f0/0x5f0 [ 58.394148] ? prepare_exit_to_usermode+0x232/0x3b0 [ 58.399153] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 58.403994] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.409167] RIP: 0033:0x457ec9 [ 58.412342] Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 58.431239] RSP: 002b:00007ffdb02b9818 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 58.438929] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 [ 58.446179] RDX: 0000000020000080 RSI: 00000000c018aec0 RDI: 0000000000000004 [ 58.453472] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 58.460738] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000002174914 [ 58.467987] R13: 00000000004c9ef0 R14: 00000000004d2a10 R15: 00000000ffffffff [ 58.475242] [ 58.476856] Allocated by task 8294: [ 58.480465] save_stack+0x45/0xd0 [ 58.483922] kasan_kmalloc+0xcf/0xe0 [ 58.487631] __kmalloc_node+0x4e/0x70 [ 58.491413] kvmalloc_node+0x68/0x100 [ 58.495198] __kvm_set_memory_region+0x1da1/0x2c40 [ 58.500124] kvm_set_memory_region+0x2f/0x60 [ 58.504510] kvm_vm_ioctl+0xafa/0x1fe0 [ 58.508390] do_vfs_ioctl+0x107b/0x17d0 [ 58.512358] ksys_ioctl+0xab/0xd0 [ 58.515806] __x64_sys_ioctl+0x73/0xb0 [ 58.519686] do_syscall_64+0x1a3/0x800 [ 58.523570] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.528733] [ 58.530340] Freed by task 9: [ 58.533337] save_stack+0x45/0xd0 [ 58.536769] __kasan_slab_free+0x102/0x150 [ 58.540984] kasan_slab_free+0xe/0x10 [ 58.544764] kfree+0xcf/0x230 [ 58.547858] selinux_cred_free+0x51/0x80 [ 58.551919] security_cred_free+0x47/0x90 [ 58.556051] put_cred_rcu+0x21f/0x6e0 [ 58.559833] rcu_process_callbacks+0xc4a/0x1680 [ 58.564485] __do_softirq+0x30b/0xb11 [ 58.568263] [ 58.569875] The buggy address belongs to the object at ffff8880a57bd040 [ 58.569875] which belongs to the cache kmalloc-32 of size 32 [ 58.582349] The buggy address is located 16 bytes inside of [ 58.582349] 32-byte region [ffff8880a57bd040, ffff8880a57bd060) [ 58.594024] The buggy address belongs to the page: [ 58.598953] page:ffffea000295ef40 count:1 mapcount:0 mapping:ffff88812c3f01c0 index:0xffff8880a57bdfc1 [ 58.608390] flags: 0x1fffc0000000200(slab) [ 58.612816] raw: 01fffc0000000200 ffffea00028e16c8 ffffea0002920248 ffff88812c3f01c0 [ 58.620680] raw: ffff8880a57bdfc1 ffff8880a57bd000 000000010000003f 0000000000000000 [ 58.628539] page dumped because: kasan: bad access detected [ 58.634232] [ 58.635853] Memory state around the buggy address: [ 58.640782] ffff8880a57bcf00: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc [ 58.648123] ffff8880a57bcf80: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc [ 58.655475] >ffff8880a57bd000: 00 00 01 fc fc fc fc fc 00 00 fc fc fc fc fc fc [ 58.662810] ^ [ 58.668760] ffff8880a57bd080: 00 07 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 58.676107] ffff8880a57bd100: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 58.683444] ================================================================== [ 58.690792] Disabling lock debugging due to kernel taint [ 58.696968] Kernel panic - not syncing: panic_on_warn set ... [ 58.702868] CPU: 1 PID: 8294 Comm: syz-executor0 Tainted: G B 4.20.0+ #3 [ 58.710988] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.720320] Call Trace: [ 58.722891] dump_stack+0x1db/0x2d0 [ 58.726498] ? dump_stack_print_info.cold+0x20/0x20 [ 58.731503] panic+0x2cb/0x589 [ 58.734677] ? add_taint.cold+0x16/0x16 [ 58.738635] ? trace_hardirqs_on+0xb4/0x310 [ 58.742941] ? trace_hardirqs_on+0xb4/0x310 [ 58.747245] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.752502] end_report+0x47/0x4f [ 58.755955] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.761214] kasan_report.cold+0xe/0x40 [ 58.765167] ? kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.770426] __asan_report_load8_noabort+0x14/0x20 [ 58.775367] kvm_clear_dirty_log_protect+0x8cf/0x970 [ 58.780459] ? vcpu_stat_get_per_vm_open+0x40/0x40 [ 58.785393] ? lock_downgrade+0x910/0x910 [ 58.789516] ? lock_release+0xc40/0xc40 [ 58.793482] kvm_vm_ioctl_clear_dirty_log+0xff/0x260 [ 58.798571] ? kvm_vm_ioctl_get_dirty_log+0x260/0x260 [ 58.803780] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 58.809304] ? _copy_from_user+0xdd/0x150 [ 58.813433] kvm_vm_ioctl+0xc19/0x1fe0 [ 58.817303] ? kvm_unregister_device_ops+0x70/0x70 [ 58.822235] ? print_usage_bug+0xd0/0xd0 [ 58.826287] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 58.831473] ? drop_futex_key_refs.isra.0+0x6f/0xf0 [ 58.836486] ? get_futex_key+0x2050/0x2050 [ 58.840702] ? mark_held_locks+0x100/0x100 [ 58.844918] ? do_futex+0x1b0/0x2910 [ 58.848622] ? do_raw_spin_trylock+0x270/0x270 [ 58.853218] ? add_mm_counter_fast.part.0+0x40/0x40 [ 58.858319] ? add_lock_to_list.isra.0+0x450/0x450 [ 58.863240] ? add_lock_to_list.isra.0+0x450/0x450 [ 58.868154] ? exit_robust_list+0x290/0x290 [ 58.872469] ? __might_fault+0x12b/0x1e0 [ 58.876512] ? find_held_lock+0x35/0x120 [ 58.880553] ? __might_fault+0x12b/0x1e0 [ 58.884591] ? lock_acquire+0x1db/0x570 [ 58.888551] ? lock_downgrade+0x910/0x910 [ 58.892680] ? lock_release+0xc40/0xc40 [ 58.896684] ? kvm_unregister_device_ops+0x70/0x70 [ 58.901594] do_vfs_ioctl+0x107b/0x17d0 [ 58.905556] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 58.910731] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.916268] ? selinux_file_ioctl+0x125/0x720 [ 58.920756] ? ioctl_preallocate+0x2f0/0x2f0 [ 58.925146] ? selinux_file_mprotect+0x620/0x620 [ 58.929898] ? __fget_light+0x2db/0x420 [ 58.933864] ? put_timespec64+0x115/0x1b0 [ 58.937996] ? nsecs_to_jiffies+0x30/0x30 [ 58.942128] ? do_syscall_64+0x8c/0x800 [ 58.946086] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.951613] ? security_file_ioctl+0x93/0xc0 [ 58.956017] ksys_ioctl+0xab/0xd0 [ 58.959485] __x64_sys_ioctl+0x73/0xb0 [ 58.963358] do_syscall_64+0x1a3/0x800 [ 58.967230] ? syscall_return_slowpath+0x5f0/0x5f0 [ 58.972143] ? prepare_exit_to_usermode+0x232/0x3b0 [ 58.977142] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 58.981982] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.987176] RIP: 0033:0x457ec9 [ 58.990365] Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 59.009267] RSP: 002b:00007ffdb02b9818 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 59.016956] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 [ 59.024206] RDX: 0000000020000080 RSI: 00000000c018aec0 RDI: 0000000000000004 [ 59.031464] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 59.038722] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000002174914 [ 59.045977] R13: 00000000004c9ef0 R14: 00000000004d2a10 R15: 00000000ffffffff [ 59.054185] Kernel Offset: disabled [ 59.057805] Rebooting in 86400 seconds..