[ 41.732054] audit: type=1800 audit(1584786551.969:31): pid=7747 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 [ 41.775101] audit: type=1800 audit(1584786551.969:32): pid=7747 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 periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] 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.10.61' (ECDSA) to the list of known hosts. syzkaller login: [ 49.533681] kauditd_printk_skb: 3 callbacks suppressed [ 49.533693] audit: type=1400 audit(1584786559.819:36): avc: denied { map } for pid=7935 comm="syz-execprog" path="/root/syz-execprog" 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 2020/03/21 10:29:19 parsed 1 programs [ 50.755767] audit: type=1400 audit(1584786561.039:37): avc: denied { map } for pid=7935 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=17110 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/21 10:29:21 executed programs: 0 [ 50.949674] IPVS: ftp: loaded support on port[0] = 21 [ 51.011005] chnl_net:caif_netlink_parms(): no params data found [ 51.058173] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.064638] bridge0: port 1(bridge_slave_0) entered disabled state [ 51.072294] device bridge_slave_0 entered promiscuous mode [ 51.079463] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.086164] bridge0: port 2(bridge_slave_1) entered disabled state [ 51.093440] device bridge_slave_1 entered promiscuous mode [ 51.109106] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 51.118102] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 51.135988] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 51.143815] team0: Port device team_slave_0 added [ 51.149432] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 51.156959] team0: Port device team_slave_1 added [ 51.171276] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 51.177507] 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. [ 51.202915] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 51.214259] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 51.220649] 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. [ 51.245971] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 51.256835] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 51.264325] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 51.321908] device hsr_slave_0 entered promiscuous mode [ 51.360212] device hsr_slave_1 entered promiscuous mode [ 51.400840] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 51.407946] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 51.459767] audit: type=1400 audit(1584786561.739:38): avc: denied { create } for pid=7952 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 [ 51.480375] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.484602] audit: type=1400 audit(1584786561.749:39): avc: denied { write } for pid=7952 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 [ 51.490090] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.490429] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.514803] audit: type=1400 audit(1584786561.749:40): avc: denied { read } for pid=7952 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 [ 51.520510] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.566371] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 51.572796] 8021q: adding VLAN 0 to HW filter on device bond0 [ 51.581973] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 51.590601] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 51.608650] bridge0: port 1(bridge_slave_0) entered disabled state [ 51.625762] bridge0: port 2(bridge_slave_1) entered disabled state [ 51.633859] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 51.644086] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 51.650290] 8021q: adding VLAN 0 to HW filter on device team0 [ 51.658871] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 51.666869] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.673351] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.683920] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 51.691654] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.697993] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.713708] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 51.722013] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 51.732379] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 51.745823] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 51.756518] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 51.767504] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 51.773934] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 51.781705] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 51.789137] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 51.802771] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 51.810801] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 51.817554] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 51.829087] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 51.842069] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 51.851723] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 51.893478] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 51.900689] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 51.907157] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 51.916311] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 51.924156] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 51.931274] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 51.940615] device veth0_vlan entered promiscuous mode [ 51.949423] device veth1_vlan entered promiscuous mode [ 51.955919] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 51.964201] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 51.976070] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 51.985803] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 51.993305] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 52.000888] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 52.011155] device veth0_macvtap entered promiscuous mode [ 52.019033] device veth1_macvtap entered promiscuous mode [ 52.028155] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 52.037855] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 52.047718] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 52.055352] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 52.062531] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 52.071034] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 52.081912] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 52.088872] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 52.095745] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 52.103434] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 52.206211] audit: type=1400 audit(1584786562.489:41): avc: denied { associate } for pid=7952 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 [ 52.500545] ================================================================== [ 52.508035] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 52.514533] Read of size 8 at addr ffff88808a184520 by task syz-executor.0/8042 [ 52.522100] [ 52.523721] CPU: 1 PID: 8042 Comm: syz-executor.0 Not tainted 4.19.112-syzkaller #0 [ 52.531490] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.540819] Call Trace: [ 52.543476] dump_stack+0x188/0x20d [ 52.547088] ? __list_add_valid+0x93/0xa0 [ 52.551222] print_address_description.cold+0x7c/0x212 [ 52.556479] ? __list_add_valid+0x93/0xa0 [ 52.560622] kasan_report.cold+0x88/0x2b9 [ 52.564764] __list_add_valid+0x93/0xa0 [ 52.568722] rdma_listen+0x609/0x880 [ 52.572425] ucma_listen+0x14d/0x1c0 [ 52.576119] ? ucma_notify+0x190/0x190 [ 52.580011] ? __might_fault+0x192/0x1d0 [ 52.584063] ? _copy_from_user+0xd2/0x140 [ 52.588191] ? ucma_notify+0x190/0x190 [ 52.592063] ucma_write+0x285/0x350 [ 52.595674] ? ucma_open+0x280/0x280 [ 52.599373] ? __fget+0x319/0x510 [ 52.602812] __vfs_write+0xf7/0x760 [ 52.606421] ? ucma_open+0x280/0x280 [ 52.610119] ? kernel_read+0x110/0x110 [ 52.614009] ? __inode_security_revalidate+0xd3/0x120 [ 52.619180] ? avc_policy_seqno+0x9/0x70 [ 52.623236] ? selinux_file_permission+0x87/0x520 [ 52.628085] ? security_file_permission+0x84/0x220 [ 52.633102] vfs_write+0x206/0x550 [ 52.636629] ksys_write+0x12b/0x2a0 [ 52.640252] ? __ia32_sys_read+0xb0/0xb0 [ 52.644323] ? __ia32_sys_clock_settime+0x260/0x260 [ 52.649332] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.654069] ? trace_hardirqs_off_caller+0x55/0x210 [ 52.659067] ? do_syscall_64+0x21/0x620 [ 52.663032] do_syscall_64+0xf9/0x620 [ 52.666817] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.672003] RIP: 0033:0x45c849 [ 52.675267] 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 [ 52.694152] RSP: 002b:00007f8e764cbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 52.701853] RAX: ffffffffffffffda RBX: 00007f8e764cc6d4 RCX: 000000000045c849 [ 52.709121] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 52.716371] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 52.723622] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 52.730878] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 52.738174] [ 52.739799] Allocated by task 8036: [ 52.743409] kasan_kmalloc+0xbf/0xe0 [ 52.747101] kmem_cache_alloc_trace+0x14d/0x7a0 [ 52.751751] __rdma_create_id+0x5b/0x630 [ 52.755845] ucma_create_id+0x1cb/0x5a0 [ 52.759799] ucma_write+0x285/0x350 [ 52.763441] __vfs_write+0xf7/0x760 [ 52.767101] vfs_write+0x206/0x550 [ 52.770631] ksys_write+0x12b/0x2a0 [ 52.774239] do_syscall_64+0xf9/0x620 [ 52.778031] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.783233] [ 52.784842] Freed by task 8034: [ 52.788110] __kasan_slab_free+0xf7/0x140 [ 52.792242] kfree+0xce/0x220 [ 52.795334] ucma_close+0x10b/0x320 [ 52.798945] __fput+0x2cd/0x890 [ 52.802220] task_work_run+0x13f/0x1b0 [ 52.806106] exit_to_usermode_loop+0x25a/0x2b0 [ 52.810706] do_syscall_64+0x538/0x620 [ 52.814583] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.819751] [ 52.821365] The buggy address belongs to the object at ffff88808a184340 [ 52.821365] which belongs to the cache kmalloc-2048 of size 2048 [ 52.834296] The buggy address is located 480 bytes inside of [ 52.834296] 2048-byte region [ffff88808a184340, ffff88808a184b40) [ 52.846239] The buggy address belongs to the page: [ 52.851154] page:ffffea0002286100 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 52.861125] flags: 0xfffe0000008100(slab|head) [ 52.865693] raw: 00fffe0000008100 ffffea00022a7a88 ffffea00020f5488 ffff88812c3dcc40 [ 52.873656] raw: 0000000000000000 ffff88808a184340 0000000100000003 0000000000000000 [ 52.881529] page dumped because: kasan: bad access detected [ 52.887230] [ 52.888842] Memory state around the buggy address: [ 52.893810] ffff88808a184400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.901153] ffff88808a184480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.908493] >ffff88808a184500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.915831] ^ [ 52.920224] ffff88808a184580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.927573] ffff88808a184600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.934913] ================================================================== [ 52.942247] Disabling lock debugging due to kernel taint [ 52.951399] Kernel panic - not syncing: panic_on_warn set ... [ 52.951399] [ 52.958880] CPU: 1 PID: 8042 Comm: syz-executor.0 Tainted: G B 4.19.112-syzkaller #0 [ 52.968065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.977400] Call Trace: [ 52.979996] dump_stack+0x188/0x20d [ 52.983619] panic+0x26a/0x50e [ 52.986801] ? __warn_printk+0xf3/0xf3 [ 52.990677] ? preempt_schedule_common+0x4a/0xc0 [ 52.995418] ? __list_add_valid+0x93/0xa0 [ 52.999550] ? ___preempt_schedule+0x16/0x18 [ 53.003954] ? trace_hardirqs_on+0x55/0x210 [ 53.008258] ? __list_add_valid+0x93/0xa0 [ 53.012394] kasan_end_report+0x43/0x49 [ 53.016351] kasan_report.cold+0xa4/0x2b9 [ 53.020483] __list_add_valid+0x93/0xa0 [ 53.024441] rdma_listen+0x609/0x880 [ 53.028145] ucma_listen+0x14d/0x1c0 [ 53.031849] ? ucma_notify+0x190/0x190 [ 53.035728] ? __might_fault+0x192/0x1d0 [ 53.039773] ? _copy_from_user+0xd2/0x140 [ 53.043919] ? ucma_notify+0x190/0x190 [ 53.047787] ucma_write+0x285/0x350 [ 53.051396] ? ucma_open+0x280/0x280 [ 53.055093] ? __fget+0x319/0x510 [ 53.058531] __vfs_write+0xf7/0x760 [ 53.062139] ? ucma_open+0x280/0x280 [ 53.065835] ? kernel_read+0x110/0x110 [ 53.069708] ? __inode_security_revalidate+0xd3/0x120 [ 53.074980] ? avc_policy_seqno+0x9/0x70 [ 53.079025] ? selinux_file_permission+0x87/0x520 [ 53.083854] ? security_file_permission+0x84/0x220 [ 53.088779] vfs_write+0x206/0x550 [ 53.092304] ksys_write+0x12b/0x2a0 [ 53.095917] ? __ia32_sys_read+0xb0/0xb0 [ 53.099967] ? __ia32_sys_clock_settime+0x260/0x260 [ 53.104979] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 53.109715] ? trace_hardirqs_off_caller+0x55/0x210 [ 53.114722] ? do_syscall_64+0x21/0x620 [ 53.118686] do_syscall_64+0xf9/0x620 [ 53.122562] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.127745] RIP: 0033:0x45c849 [ 53.130928] 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 [ 53.149809] RSP: 002b:00007f8e764cbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.157498] RAX: ffffffffffffffda RBX: 00007f8e764cc6d4 RCX: 000000000045c849 [ 53.164749] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 53.172046] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 53.179342] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 53.186639] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 53.195151] Kernel Offset: disabled [ 53.198781] Rebooting in 86400 seconds..