[ 46.019749] audit: type=1800 audit(1584996173.696:29): pid=7959 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 [ 46.049377] audit: type=1800 audit(1584996173.696:30): pid=7959 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.51' (ECDSA) to the list of known hosts. syzkaller login: [ 55.623022] kauditd_printk_skb: 5 callbacks suppressed [ 55.623036] audit: type=1400 audit(1584996183.296:36): avc: denied { map } for pid=8145 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/23 20:43:03 parsed 1 programs [ 57.326893] audit: type=1400 audit(1584996185.006:37): avc: denied { map } for pid=8145 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=1118 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/23 20:43:05 executed programs: 0 [ 57.527792] IPVS: ftp: loaded support on port[0] = 21 [ 57.591515] chnl_net:caif_netlink_parms(): no params data found [ 57.643574] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.650733] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.658627] device bridge_slave_0 entered promiscuous mode [ 57.666433] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.672838] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.680164] device bridge_slave_1 entered promiscuous mode [ 57.697234] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 57.706375] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 57.724020] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 57.731675] team0: Port device team_slave_0 added [ 57.737708] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 57.745204] team0: Port device team_slave_1 added [ 57.760045] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 57.766383] 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. [ 57.792215] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 57.804412] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 57.810660] 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. [ 57.835880] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 57.846663] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 57.854299] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 57.906467] device hsr_slave_0 entered promiscuous mode [ 57.944775] device hsr_slave_1 entered promiscuous mode [ 57.985361] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 57.992623] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 58.047491] audit: type=1400 audit(1584996185.726:38): avc: denied { create } for pid=8163 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 [ 58.070511] bridge0: port 2(bridge_slave_1) entered blocking state [ 58.072456] audit: type=1400 audit(1584996185.726:39): avc: denied { write } for pid=8163 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 [ 58.077860] bridge0: port 2(bridge_slave_1) entered forwarding state [ 58.102483] audit: type=1400 audit(1584996185.726:40): avc: denied { read } for pid=8163 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 [ 58.108745] bridge0: port 1(bridge_slave_0) entered blocking state [ 58.138702] bridge0: port 1(bridge_slave_0) entered forwarding state [ 58.178332] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 58.185335] 8021q: adding VLAN 0 to HW filter on device bond0 [ 58.193579] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 58.203114] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 58.222553] bridge0: port 1(bridge_slave_0) entered disabled state [ 58.229883] bridge0: port 2(bridge_slave_1) entered disabled state [ 58.238339] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 58.250499] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 58.256861] 8021q: adding VLAN 0 to HW filter on device team0 [ 58.266852] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 58.275207] bridge0: port 1(bridge_slave_0) entered blocking state [ 58.281646] bridge0: port 1(bridge_slave_0) entered forwarding state [ 58.296005] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 58.303618] bridge0: port 2(bridge_slave_1) entered blocking state [ 58.310042] bridge0: port 2(bridge_slave_1) entered forwarding state [ 58.320888] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 58.330062] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 58.340045] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 58.351808] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 58.363422] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 58.374021] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 58.380569] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 58.388081] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 58.402123] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 58.409616] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 58.416736] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 58.428518] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 58.442947] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 58.453284] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 58.495502] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 58.502660] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 58.510641] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 58.520762] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 58.529103] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 58.536099] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 58.546385] device veth0_vlan entered promiscuous mode [ 58.556179] device veth1_vlan entered promiscuous mode [ 58.562154] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 58.571823] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 58.585066] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 58.592353] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 58.599841] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 58.610596] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 58.617980] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 58.626438] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 58.637419] device veth0_macvtap entered promiscuous mode [ 58.643687] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 58.652825] device veth1_macvtap entered promiscuous mode [ 58.660074] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 58.669093] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 58.679677] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 58.689883] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 58.697434] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 58.705118] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 58.712394] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 58.720515] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 58.728601] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 58.739769] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 58.746954] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 58.753623] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 58.761687] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 58.871107] audit: type=1400 audit(1584996186.546:41): avc: denied { associate } for pid=8163 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 [ 59.768165] ================================================================== [ 59.775711] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 59.782213] Read of size 8 at addr ffff88807e2bab20 by task syz-executor.0/8278 [ 59.789665] [ 59.791305] CPU: 1 PID: 8278 Comm: syz-executor.0 Not tainted 4.19.112-syzkaller #0 [ 59.799101] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.808463] Call Trace: [ 59.811065] dump_stack+0x188/0x20d [ 59.814707] ? __list_add_valid+0x93/0xa0 [ 59.818865] print_address_description.cold+0x7c/0x212 [ 59.824153] ? __list_add_valid+0x93/0xa0 [ 59.828319] kasan_report.cold+0x88/0x2b9 [ 59.832481] __list_add_valid+0x93/0xa0 [ 59.836466] rdma_listen+0x609/0x880 [ 59.840195] ucma_listen+0x14d/0x1c0 [ 59.843926] ? ucma_notify+0x190/0x190 [ 59.847821] ? __might_fault+0x192/0x1d0 [ 59.851892] ? _copy_from_user+0xd2/0x140 [ 59.856045] ? ucma_notify+0x190/0x190 [ 59.859953] ucma_write+0x285/0x350 [ 59.863590] ? ucma_open+0x280/0x280 [ 59.867315] ? __fget+0x319/0x510 [ 59.870783] __vfs_write+0xf7/0x760 [ 59.874417] ? ucma_open+0x280/0x280 [ 59.878141] ? kernel_read+0x110/0x110 [ 59.882047] ? __inode_security_revalidate+0xd3/0x120 [ 59.887509] ? avc_policy_seqno+0x9/0x70 [ 59.891579] ? selinux_file_permission+0x87/0x520 [ 59.896434] ? security_file_permission+0x84/0x220 [ 59.901381] vfs_write+0x206/0x550 [ 59.904935] ksys_write+0x12b/0x2a0 [ 59.908666] ? __ia32_sys_read+0xb0/0xb0 [ 59.912742] ? __ia32_sys_clock_settime+0x260/0x260 [ 59.917773] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 59.922541] ? trace_hardirqs_off_caller+0x55/0x210 [ 59.927575] ? do_syscall_64+0x21/0x620 [ 59.931566] do_syscall_64+0xf9/0x620 [ 59.935379] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.940573] RIP: 0033:0x45c849 [ 59.943776] 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 [ 59.962684] RSP: 002b:00007f2e2c7f3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.970404] RAX: ffffffffffffffda RBX: 00007f2e2c7f46d4 RCX: 000000000045c849 [ 59.977686] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 59.984967] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 59.992250] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 59.999527] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 60.006813] [ 60.008445] Allocated by task 8268: [ 60.012092] kasan_kmalloc+0xbf/0xe0 [ 60.015823] kmem_cache_alloc_trace+0x14d/0x7a0 [ 60.020504] __rdma_create_id+0x5b/0x630 [ 60.024575] ucma_create_id+0x1cb/0x5a0 [ 60.028555] ucma_write+0x285/0x350 [ 60.032190] __vfs_write+0xf7/0x760 [ 60.035830] vfs_write+0x206/0x550 [ 60.039376] ksys_write+0x12b/0x2a0 [ 60.043011] do_syscall_64+0xf9/0x620 [ 60.046817] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.052004] [ 60.053734] Freed by task 8268: [ 60.057024] __kasan_slab_free+0xf7/0x140 [ 60.061179] kfree+0xce/0x220 [ 60.064294] ucma_close+0x10b/0x320 [ 60.067926] __fput+0x2cd/0x890 [ 60.071211] task_work_run+0x13f/0x1b0 [ 60.075108] exit_to_usermode_loop+0x25a/0x2b0 [ 60.079703] do_syscall_64+0x538/0x620 [ 60.083607] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.088795] [ 60.090429] The buggy address belongs to the object at ffff88807e2ba940 [ 60.090429] which belongs to the cache kmalloc-2048 of size 2048 [ 60.103273] The buggy address is located 480 bytes inside of [ 60.103273] 2048-byte region [ffff88807e2ba940, ffff88807e2bb140) [ 60.115247] The buggy address belongs to the page: [ 60.120191] page:ffffea0001f8ae80 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 60.130171] flags: 0xfffe0000008100(slab|head) [ 60.134760] raw: 00fffe0000008100 ffffea0002213388 ffffea0001f82288 ffff88812c3dcc40 [ 60.142663] raw: 0000000000000000 ffff88807e2ba0c0 0000000100000003 0000000000000000 [ 60.150631] page dumped because: kasan: bad access detected [ 60.156320] [ 60.157943] Memory state around the buggy address: [ 60.162858] ffff88807e2baa00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.170208] ffff88807e2baa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.177554] >ffff88807e2bab00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.184898] ^ [ 60.189300] ffff88807e2bab80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.196642] ffff88807e2bac00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.203997] ================================================================== [ 60.211339] Disabling lock debugging due to kernel taint [ 60.221094] Kernel panic - not syncing: panic_on_warn set ... [ 60.221094] [ 60.228478] CPU: 1 PID: 8278 Comm: syz-executor.0 Tainted: G B 4.19.112-syzkaller #0 [ 60.237641] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.246986] Call Trace: [ 60.249581] dump_stack+0x188/0x20d [ 60.253201] panic+0x26a/0x50e [ 60.256386] ? __warn_printk+0xf3/0xf3 [ 60.260261] ? preempt_schedule_common+0x4a/0xc0 [ 60.265002] ? __list_add_valid+0x93/0xa0 [ 60.269136] ? ___preempt_schedule+0x16/0x18 [ 60.273553] ? trace_hardirqs_on+0x55/0x210 [ 60.277873] ? __list_add_valid+0x93/0xa0 [ 60.282020] kasan_end_report+0x43/0x49 [ 60.285985] kasan_report.cold+0xa4/0x2b9 [ 60.290131] __list_add_valid+0x93/0xa0 [ 60.294098] rdma_listen+0x609/0x880 [ 60.297935] ucma_listen+0x14d/0x1c0 [ 60.301657] ? ucma_notify+0x190/0x190 [ 60.305535] ? __might_fault+0x192/0x1d0 [ 60.309643] ? _copy_from_user+0xd2/0x140 [ 60.313778] ? ucma_notify+0x190/0x190 [ 60.317652] ucma_write+0x285/0x350 [ 60.321267] ? ucma_open+0x280/0x280 [ 60.324966] ? __fget+0x319/0x510 [ 60.328403] __vfs_write+0xf7/0x760 [ 60.332011] ? ucma_open+0x280/0x280 [ 60.335796] ? kernel_read+0x110/0x110 [ 60.339674] ? __inode_security_revalidate+0xd3/0x120 [ 60.344849] ? avc_policy_seqno+0x9/0x70 [ 60.348895] ? selinux_file_permission+0x87/0x520 [ 60.353733] ? security_file_permission+0x84/0x220 [ 60.358704] vfs_write+0x206/0x550 [ 60.362237] ksys_write+0x12b/0x2a0 [ 60.365859] ? __ia32_sys_read+0xb0/0xb0 [ 60.369906] ? __ia32_sys_clock_settime+0x260/0x260 [ 60.374909] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 60.379648] ? trace_hardirqs_off_caller+0x55/0x210 [ 60.384648] ? do_syscall_64+0x21/0x620 [ 60.388608] do_syscall_64+0xf9/0x620 [ 60.392396] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.397585] RIP: 0033:0x45c849 [ 60.400762] 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 [ 60.419764] RSP: 002b:00007f2e2c7f3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 60.427463] RAX: ffffffffffffffda RBX: 00007f2e2c7f46d4 RCX: 000000000045c849 [ 60.434730] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 60.441984] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 60.449247] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 60.456661] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 60.465225] Kernel Offset: disabled [ 60.468855] Rebooting in 86400 seconds..