[ 44.976538] audit: type=1800 audit(1585535741.635:31): pid=7921 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 44.998855] audit: type=1800 audit(1585535741.635:32): pid=7921 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2450 res=0 Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.165' (ECDSA) to the list of known hosts. syzkaller login: [ 54.171163] kauditd_printk_skb: 3 callbacks suppressed [ 54.171177] audit: type=1400 audit(1585535750.885:36): avc: denied { map } for pid=8106 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/30 02:35:51 parsed 1 programs [ 55.665346] audit: type=1400 audit(1585535752.385:37): avc: denied { map } for pid=8106 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=2874 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/30 02:35:52 executed programs: 0 [ 55.868860] IPVS: ftp: loaded support on port[0] = 21 [ 55.933838] chnl_net:caif_netlink_parms(): no params data found [ 55.985912] bridge0: port 1(bridge_slave_0) entered blocking state [ 55.992513] bridge0: port 1(bridge_slave_0) entered disabled state [ 56.000019] device bridge_slave_0 entered promiscuous mode [ 56.007655] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.014168] bridge0: port 2(bridge_slave_1) entered disabled state [ 56.021716] device bridge_slave_1 entered promiscuous mode [ 56.038561] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 56.047687] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 56.065734] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 56.073338] team0: Port device team_slave_0 added [ 56.079266] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 56.086563] team0: Port device team_slave_1 added [ 56.101245] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 56.107539] 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. [ 56.132859] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 56.144749] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 56.151330] 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. [ 56.176637] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 56.188010] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 56.195944] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 56.247077] device hsr_slave_0 entered promiscuous mode [ 56.285269] device hsr_slave_1 entered promiscuous mode [ 56.355637] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 56.362847] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 56.416907] audit: type=1400 audit(1585535753.135:38): avc: denied { create } for pid=8124 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 [ 56.438787] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.441794] audit: type=1400 audit(1585535753.135:39): avc: denied { write } for pid=8124 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 [ 56.447254] bridge0: port 2(bridge_slave_1) entered forwarding state [ 56.447650] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.472666] audit: type=1400 audit(1585535753.135:40): avc: denied { read } for pid=8124 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 [ 56.477925] bridge0: port 1(bridge_slave_0) entered forwarding state [ 56.544198] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 56.551378] 8021q: adding VLAN 0 to HW filter on device bond0 [ 56.561041] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 56.570211] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 56.589578] bridge0: port 1(bridge_slave_0) entered disabled state [ 56.596754] bridge0: port 2(bridge_slave_1) entered disabled state [ 56.603812] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 56.615619] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 56.621687] 8021q: adding VLAN 0 to HW filter on device team0 [ 56.631344] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 56.639631] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.646022] bridge0: port 1(bridge_slave_0) entered forwarding state [ 56.656722] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 56.664417] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.670919] bridge0: port 2(bridge_slave_1) entered forwarding state [ 56.687183] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 56.694957] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 56.704992] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 56.715887] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 56.729060] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 56.739934] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 56.746680] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 56.754093] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 56.767748] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 56.776052] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 56.782753] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 56.794327] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 56.808645] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 56.818735] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 56.860306] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 56.867578] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 56.874117] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 56.885693] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 56.893142] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 56.900703] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 56.910775] device veth0_vlan entered promiscuous mode [ 56.920873] device veth1_vlan entered promiscuous mode [ 56.927076] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 56.936043] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 56.950989] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 56.960674] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 56.968704] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 56.977193] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 56.986948] device veth0_macvtap entered promiscuous mode [ 56.993109] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 57.002259] device veth1_macvtap entered promiscuous mode [ 57.008626] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 57.017890] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 57.027487] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 57.038100] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 57.045415] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 57.052298] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 57.059843] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 57.067270] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 57.075504] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 57.086349] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 57.093233] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 57.100103] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 57.108052] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 57.224591] audit: type=1400 audit(1585535753.935:41): avc: denied { associate } for pid=8124 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 [ 57.343085] ================================================================== [ 57.350642] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 57.357124] Read of size 8 at addr ffff88808b7c8b20 by task syz-executor.0/8171 [ 57.364549] [ 57.366168] CPU: 1 PID: 8171 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 57.374003] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.383395] Call Trace: [ 57.386033] dump_stack+0x188/0x20d [ 57.389659] ? __list_add_valid+0x93/0xa0 [ 57.393801] print_address_description.cold+0x7c/0x212 [ 57.399065] ? __list_add_valid+0x93/0xa0 [ 57.403243] kasan_report.cold+0x88/0x2b9 [ 57.407382] __list_add_valid+0x93/0xa0 [ 57.411342] rdma_listen+0x609/0x880 [ 57.415060] ucma_listen+0x14d/0x1c0 [ 57.418775] ? ucma_notify+0x190/0x190 [ 57.422753] ? __might_fault+0x192/0x1d0 [ 57.426801] ? _copy_from_user+0xd2/0x140 [ 57.430935] ? ucma_notify+0x190/0x190 [ 57.434813] ucma_write+0x285/0x350 [ 57.438435] ? ucma_open+0x280/0x280 [ 57.442142] ? __fget+0x319/0x510 [ 57.445599] __vfs_write+0xf7/0x760 [ 57.449229] ? ucma_open+0x280/0x280 [ 57.452938] ? kernel_read+0x110/0x110 [ 57.456813] ? __inode_security_revalidate+0xd3/0x120 [ 57.461992] ? avc_policy_seqno+0x9/0x70 [ 57.466083] ? selinux_file_permission+0x87/0x520 [ 57.470916] ? security_file_permission+0x84/0x220 [ 57.475836] vfs_write+0x206/0x550 [ 57.479370] ksys_write+0x12b/0x2a0 [ 57.482984] ? __ia32_sys_read+0xb0/0xb0 [ 57.487137] ? __ia32_sys_clock_settime+0x260/0x260 [ 57.492156] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.496904] ? trace_hardirqs_off_caller+0x55/0x210 [ 57.501910] ? do_syscall_64+0x21/0x620 [ 57.505873] do_syscall_64+0xf9/0x620 [ 57.509740] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.514927] RIP: 0033:0x45c849 [ 57.518108] 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 [ 57.537010] RSP: 002b:00007f4ab918ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.544952] RAX: ffffffffffffffda RBX: 00007f4ab918b6d4 RCX: 000000000045c849 [ 57.552234] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 57.559571] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 57.566850] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 57.574116] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 57.581383] [ 57.583007] Allocated by task 8165: [ 57.586629] kasan_kmalloc+0xbf/0xe0 [ 57.590349] kmem_cache_alloc_trace+0x14d/0x7a0 [ 57.595014] __rdma_create_id+0x5b/0x630 [ 57.599870] ucma_create_id+0x1cb/0x5a0 [ 57.603845] ucma_write+0x285/0x350 [ 57.607475] __vfs_write+0xf7/0x760 [ 57.611084] vfs_write+0x206/0x550 [ 57.614608] ksys_write+0x12b/0x2a0 [ 57.618224] do_syscall_64+0xf9/0x620 [ 57.622011] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.627280] [ 57.628891] Freed by task 8165: [ 57.632163] __kasan_slab_free+0xf7/0x140 [ 57.636294] kfree+0xce/0x220 [ 57.639387] ucma_close+0x10b/0x320 [ 57.643005] __fput+0x2cd/0x890 [ 57.646280] task_work_run+0x13f/0x1b0 [ 57.650155] exit_to_usermode_loop+0x25a/0x2b0 [ 57.654723] do_syscall_64+0x538/0x620 [ 57.658609] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.663784] [ 57.665403] The buggy address belongs to the object at ffff88808b7c8940 [ 57.665403] which belongs to the cache kmalloc-2048 of size 2048 [ 57.678234] The buggy address is located 480 bytes inside of [ 57.678234] 2048-byte region [ffff88808b7c8940, ffff88808b7c9140) [ 57.690184] The buggy address belongs to the page: [ 57.695107] page:ffffea00022df200 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 57.705110] flags: 0xfffe0000008100(slab|head) [ 57.709682] raw: 00fffe0000008100 ffffea00029fa308 ffffea00024ee688 ffff88812c3dcc40 [ 57.717593] raw: 0000000000000000 ffff88808b7c80c0 0000000100000003 0000000000000000 [ 57.725571] page dumped because: kasan: bad access detected [ 57.731276] [ 57.732882] Memory state around the buggy address: [ 57.737852] ffff88808b7c8a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.745209] ffff88808b7c8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.752647] >ffff88808b7c8b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.759999] ^ [ 57.764394] ffff88808b7c8b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.771751] ffff88808b7c8c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.779096] ================================================================== [ 57.786531] Disabling lock debugging due to kernel taint [ 57.794948] Kernel panic - not syncing: panic_on_warn set ... [ 57.794948] [ 57.802432] CPU: 1 PID: 8171 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 57.811599] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.820991] Call Trace: [ 57.823571] dump_stack+0x188/0x20d [ 57.827191] panic+0x26a/0x50e [ 57.830369] ? __warn_printk+0xf3/0xf3 [ 57.834242] ? preempt_schedule_common+0x4a/0xc0 [ 57.839182] ? __list_add_valid+0x93/0xa0 [ 57.843314] ? ___preempt_schedule+0x16/0x18 [ 57.847710] ? trace_hardirqs_on+0x55/0x210 [ 57.852018] ? __list_add_valid+0x93/0xa0 [ 57.856150] kasan_end_report+0x43/0x49 [ 57.860110] kasan_report.cold+0xa4/0x2b9 [ 57.864243] __list_add_valid+0x93/0xa0 [ 57.868340] rdma_listen+0x609/0x880 [ 57.872053] ucma_listen+0x14d/0x1c0 [ 57.875811] ? ucma_notify+0x190/0x190 [ 57.879702] ? __might_fault+0x192/0x1d0 [ 57.883753] ? _copy_from_user+0xd2/0x140 [ 57.887974] ? ucma_notify+0x190/0x190 [ 57.891853] ucma_write+0x285/0x350 [ 57.895554] ? ucma_open+0x280/0x280 [ 57.899251] ? __fget+0x319/0x510 [ 57.902727] __vfs_write+0xf7/0x760 [ 57.906339] ? ucma_open+0x280/0x280 [ 57.910037] ? kernel_read+0x110/0x110 [ 57.913916] ? __inode_security_revalidate+0xd3/0x120 [ 57.919092] ? avc_policy_seqno+0x9/0x70 [ 57.923138] ? selinux_file_permission+0x87/0x520 [ 57.927970] ? security_file_permission+0x84/0x220 [ 57.932932] vfs_write+0x206/0x550 [ 57.936514] ksys_write+0x12b/0x2a0 [ 57.940123] ? __ia32_sys_read+0xb0/0xb0 [ 57.944170] ? __ia32_sys_clock_settime+0x260/0x260 [ 57.949168] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.953908] ? trace_hardirqs_off_caller+0x55/0x210 [ 57.958907] ? do_syscall_64+0x21/0x620 [ 57.962868] do_syscall_64+0xf9/0x620 [ 57.966655] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.971827] RIP: 0033:0x45c849 [ 57.975002] 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 [ 57.993889] RSP: 002b:00007f4ab918ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.001582] RAX: ffffffffffffffda RBX: 00007f4ab918b6d4 RCX: 000000000045c849 [ 58.008845] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 58.016099] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 58.023438] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 58.030700] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 58.039353] Kernel Offset: disabled [ 58.042999] Rebooting in 86400 seconds..