[ 51.544176] audit: type=1800 audit(1584600873.621:29): pid=8068 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2447 res=0 [ 51.565523] audit: type=1800 audit(1584600873.621:30): pid=8068 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=2490 res=0 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.28' (ECDSA) to the list of known hosts. syzkaller login: [ 61.949863] kauditd_printk_skb: 5 callbacks suppressed [ 61.949877] audit: type=1400 audit(1584600884.031:36): avc: denied { map } for pid=8252 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 2020/03/19 06:54:44 parsed 1 programs [ 63.466087] audit: type=1400 audit(1584600885.541:37): avc: denied { map } for pid=8252 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=17149 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 2020/03/19 06:54:45 executed programs: 0 [ 63.681741] IPVS: ftp: loaded support on port[0] = 21 [ 63.752619] chnl_net:caif_netlink_parms(): no params data found [ 63.813183] bridge0: port 1(bridge_slave_0) entered blocking state [ 63.820013] bridge0: port 1(bridge_slave_0) entered disabled state [ 63.827740] device bridge_slave_0 entered promiscuous mode [ 63.836473] bridge0: port 2(bridge_slave_1) entered blocking state [ 63.843549] bridge0: port 2(bridge_slave_1) entered disabled state [ 63.850870] device bridge_slave_1 entered promiscuous mode [ 63.868754] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 63.878322] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 63.897239] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 63.904974] team0: Port device team_slave_0 added [ 63.911001] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 63.918417] team0: Port device team_slave_1 added [ 63.935455] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 63.942319] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 63.969325] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 63.982265] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 63.989281] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 64.014899] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 64.026112] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 64.034290] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 64.091866] device hsr_slave_0 entered promiscuous mode [ 64.129591] device hsr_slave_1 entered promiscuous mode [ 64.200703] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 64.208938] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 64.269994] audit: type=1400 audit(1584600886.341:38): avc: denied { create } for pid=8268 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 64.294307] audit: type=1400 audit(1584600886.351:39): avc: denied { write } for pid=8268 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 64.299598] bridge0: port 2(bridge_slave_1) entered blocking state [ 64.318850] audit: type=1400 audit(1584600886.361:40): avc: denied { read } for pid=8268 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 64.325067] bridge0: port 2(bridge_slave_1) entered forwarding state [ 64.356212] bridge0: port 1(bridge_slave_0) entered blocking state [ 64.362682] bridge0: port 1(bridge_slave_0) entered forwarding state [ 64.408320] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 64.414668] 8021q: adding VLAN 0 to HW filter on device bond0 [ 64.423721] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 64.434425] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 64.454010] bridge0: port 1(bridge_slave_0) entered disabled state [ 64.462283] bridge0: port 2(bridge_slave_1) entered disabled state [ 64.472300] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 64.484739] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 64.491254] 8021q: adding VLAN 0 to HW filter on device team0 [ 64.501849] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 64.510302] bridge0: port 1(bridge_slave_0) entered blocking state [ 64.516674] bridge0: port 1(bridge_slave_0) entered forwarding state [ 64.539969] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 64.548106] bridge0: port 2(bridge_slave_1) entered blocking state [ 64.554569] bridge0: port 2(bridge_slave_1) entered forwarding state [ 64.562199] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 64.570541] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 64.580499] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 64.587766] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 64.600770] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 64.613077] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 64.619315] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 64.626850] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 64.643863] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 64.652464] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 64.660417] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 64.675313] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 64.690070] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 64.701297] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 64.749902] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 64.757237] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 64.765056] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 64.776278] IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready [ 64.783921] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 64.792012] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 64.801234] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 64.808353] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 64.818406] device veth0_vlan entered promiscuous mode [ 64.829504] device veth1_vlan entered promiscuous mode [ 64.835589] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 64.845233] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 64.858459] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 64.868253] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 64.875314] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 64.884843] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 64.892806] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 64.900781] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 64.910705] device veth0_macvtap entered promiscuous mode [ 64.917541] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 64.928303] device veth1_macvtap entered promiscuous mode [ 64.935494] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 64.945099] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 64.957369] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 64.968634] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 64.976617] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 64.984034] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 64.991769] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 65.003661] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 65.012262] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 65.024493] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 65.032040] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 65.041276] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 65.049759] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 65.176309] audit: type=1400 audit(1584600887.251:41): avc: denied { associate } for pid=8268 comm="syz-executor.0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 [ 65.539147] ================================================================== [ 65.547359] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 65.554021] Read of size 8 at addr ffff8880a446d520 by task syz-executor.0/8361 [ 65.561662] [ 65.563297] CPU: 1 PID: 8361 Comm: syz-executor.0 Not tainted 4.19.111-syzkaller #0 [ 65.571084] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.580627] Call Trace: [ 65.583225] dump_stack+0x188/0x20d [ 65.586852] ? __list_add_valid+0x93/0xa0 [ 65.591007] print_address_description.cold+0x7c/0x212 [ 65.596313] ? __list_add_valid+0x93/0xa0 [ 65.600479] kasan_report.cold+0x88/0x2b9 [ 65.604916] __list_add_valid+0x93/0xa0 [ 65.608896] rdma_listen+0x609/0x880 [ 65.612619] ucma_listen+0x14d/0x1c0 [ 65.616353] ? ucma_notify+0x190/0x190 [ 65.620249] ? __might_fault+0x192/0x1d0 [ 65.624312] ? _copy_from_user+0xd2/0x140 [ 65.628464] ? ucma_notify+0x190/0x190 [ 65.632349] ucma_write+0x285/0x350 [ 65.635988] ? ucma_open+0x280/0x280 [ 65.639713] ? __fget+0x319/0x510 [ 65.643184] __vfs_write+0xf7/0x760 [ 65.646833] ? ucma_open+0x280/0x280 [ 65.650549] ? kernel_read+0x110/0x110 [ 65.654457] ? __inode_security_revalidate+0xd3/0x120 [ 65.659775] ? avc_policy_seqno+0x9/0x70 [ 65.663847] ? selinux_file_permission+0x87/0x520 [ 65.668710] ? security_file_permission+0x84/0x220 [ 65.673707] vfs_write+0x206/0x550 [ 65.677349] ksys_write+0x12b/0x2a0 [ 65.680990] ? __ia32_sys_read+0xb0/0xb0 [ 65.685195] ? __ia32_sys_clock_settime+0x260/0x260 [ 65.690222] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 65.695039] ? trace_hardirqs_off_caller+0x55/0x210 [ 65.700179] ? do_syscall_64+0x21/0x620 [ 65.704159] do_syscall_64+0xf9/0x620 [ 65.708102] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 65.713463] RIP: 0033:0x45c849 [ 65.716937] Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.735868] RSP: 002b:00007f2589df1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 65.743705] RAX: ffffffffffffffda RBX: 00007f2589df26d4 RCX: 000000000045c849 [ 65.750973] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 65.758252] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 65.765526] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 65.772835] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 65.780141] [ 65.781781] Allocated by task 8357: [ 65.785409] kasan_kmalloc+0xbf/0xe0 [ 65.789314] kmem_cache_alloc_trace+0x14d/0x7a0 [ 65.793993] __rdma_create_id+0x5b/0x630 [ 65.798068] ucma_create_id+0x1cb/0x5a0 [ 65.802696] ucma_write+0x285/0x350 [ 65.806465] __vfs_write+0xf7/0x760 [ 65.810106] vfs_write+0x206/0x550 [ 65.813641] ksys_write+0x12b/0x2a0 [ 65.817286] do_syscall_64+0xf9/0x620 [ 65.821165] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 65.826386] [ 65.828001] Freed by task 8355: [ 65.831284] __kasan_slab_free+0xf7/0x140 [ 65.835424] kfree+0xce/0x220 [ 65.838611] ucma_close+0x10b/0x320 [ 65.842253] __fput+0x2cd/0x890 [ 65.845540] task_work_run+0x13f/0x1b0 [ 65.849433] exit_to_usermode_loop+0x25a/0x2b0 [ 65.854158] do_syscall_64+0x538/0x620 [ 65.858354] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 65.863748] [ 65.865384] The buggy address belongs to the object at ffff8880a446d340 [ 65.865384] which belongs to the cache kmalloc-2048 of size 2048 [ 65.878470] The buggy address is located 480 bytes inside of [ 65.878470] 2048-byte region [ffff8880a446d340, ffff8880a446db40) [ 65.892456] The buggy address belongs to the page: [ 65.897398] page:ffffea0002911b00 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 65.907371] flags: 0xfffe0000008100(slab|head) [ 65.911966] raw: 00fffe0000008100 ffffea000297a308 ffffea0002a25888 ffff88812c3dcc40 [ 65.919926] raw: 0000000000000000 ffff8880a446c240 0000000100000003 0000000000000000 [ 65.927822] page dumped because: kasan: bad access detected [ 65.933527] [ 65.935146] Memory state around the buggy address: [ 65.940064] ffff8880a446d400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.947416] ffff8880a446d480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.954883] >ffff8880a446d500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.962253] ^ [ 65.966669] ffff8880a446d580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.974038] ffff8880a446d600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.981390] ================================================================== [ 65.988748] Disabling lock debugging due to kernel taint [ 65.997198] Kernel panic - not syncing: panic_on_warn set ... [ 65.997198] [ 66.004618] CPU: 1 PID: 8361 Comm: syz-executor.0 Tainted: G B 4.19.111-syzkaller #0 [ 66.013801] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.023162] Call Trace: [ 66.025771] dump_stack+0x188/0x20d [ 66.029436] panic+0x26a/0x50e [ 66.032633] ? __warn_printk+0xf3/0xf3 [ 66.036646] ? preempt_schedule_common+0x4a/0xc0 [ 66.041415] ? __list_add_valid+0x93/0xa0 [ 66.045572] ? ___preempt_schedule+0x16/0x18 [ 66.049997] ? trace_hardirqs_on+0x55/0x210 [ 66.054322] ? __list_add_valid+0x93/0xa0 [ 66.058463] kasan_end_report+0x43/0x49 [ 66.062622] kasan_report.cold+0xa4/0x2b9 [ 66.066773] __list_add_valid+0x93/0xa0 [ 66.070761] rdma_listen+0x609/0x880 [ 66.074495] ucma_listen+0x14d/0x1c0 [ 66.078211] ? ucma_notify+0x190/0x190 [ 66.082122] ? __might_fault+0x192/0x1d0 [ 66.086182] ? _copy_from_user+0xd2/0x140 [ 66.090327] ? ucma_notify+0x190/0x190 [ 66.094206] ucma_write+0x285/0x350 [ 66.097821] ? ucma_open+0x280/0x280 [ 66.101546] ? __fget+0x319/0x510 [ 66.104993] __vfs_write+0xf7/0x760 [ 66.108718] ? ucma_open+0x280/0x280 [ 66.112501] ? kernel_read+0x110/0x110 [ 66.116412] ? __inode_security_revalidate+0xd3/0x120 [ 66.121625] ? avc_policy_seqno+0x9/0x70 [ 66.125732] ? selinux_file_permission+0x87/0x520 [ 66.130589] ? security_file_permission+0x84/0x220 [ 66.135815] vfs_write+0x206/0x550 [ 66.139372] ksys_write+0x12b/0x2a0 [ 66.143018] ? __ia32_sys_read+0xb0/0xb0 [ 66.147139] ? __ia32_sys_clock_settime+0x260/0x260 [ 66.152293] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 66.157152] ? trace_hardirqs_off_caller+0x55/0x210 [ 66.162187] ? do_syscall_64+0x21/0x620 [ 66.166157] do_syscall_64+0xf9/0x620 [ 66.169980] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 66.175170] RIP: 0033:0x45c849 [ 66.178380] Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 66.197298] RSP: 002b:00007f2589df1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.205034] RAX: ffffffffffffffda RBX: 00007f2589df26d4 RCX: 000000000045c849 [ 66.212302] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 66.219563] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 66.226826] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 66.234090] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 66.242938] Kernel Offset: disabled [ 66.246732] Rebooting in 86400 seconds..