Warning: Permanently added '10.128.15.196' (ECDSA) to the list of known hosts. [ 1009.301536] audit: type=1400 audit(1585346220.014:36): avc: denied { map } for pid=8022 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/27 21:57:00 parsed 1 programs [ 1010.511624] audit: type=1400 audit(1585346221.224:37): avc: denied { map } for pid=8022 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=1066 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/27 21:57:01 executed programs: 0 [ 1010.720349] IPVS: ftp: loaded support on port[0] = 21 [ 1010.791054] chnl_net:caif_netlink_parms(): no params data found [ 1010.845931] bridge0: port 1(bridge_slave_0) entered blocking state [ 1010.852699] bridge0: port 1(bridge_slave_0) entered disabled state [ 1010.860619] device bridge_slave_0 entered promiscuous mode [ 1010.868783] bridge0: port 2(bridge_slave_1) entered blocking state [ 1010.875409] bridge0: port 2(bridge_slave_1) entered disabled state [ 1010.883077] device bridge_slave_1 entered promiscuous mode [ 1010.900893] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 1010.910599] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 1010.929201] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 1010.936872] team0: Port device team_slave_0 added [ 1010.942655] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 1010.950289] team0: Port device team_slave_1 added [ 1010.966290] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1010.973428] 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. [ 1010.999284] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1011.011058] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1011.018062] 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. [ 1011.043855] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1011.054985] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 1011.063726] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 1011.149140] device hsr_slave_0 entered promiscuous mode [ 1011.227135] device hsr_slave_1 entered promiscuous mode [ 1011.298150] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 1011.305731] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 1011.359670] audit: type=1400 audit(1585346222.074:38): avc: denied { create } for pid=8038 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 [ 1011.383474] bridge0: port 2(bridge_slave_1) entered blocking state [ 1011.384595] audit: type=1400 audit(1585346222.074:39): avc: denied { write } for pid=8038 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 [ 1011.390106] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1011.416228] audit: type=1400 audit(1585346222.084:40): avc: denied { read } for pid=8038 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 [ 1011.422400] bridge0: port 1(bridge_slave_0) entered blocking state [ 1011.452024] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1011.490188] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 1011.496385] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1011.507823] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 1011.516756] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1011.537862] bridge0: port 1(bridge_slave_0) entered disabled state [ 1011.545245] bridge0: port 2(bridge_slave_1) entered disabled state [ 1011.553451] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1011.563997] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 1011.570380] 8021q: adding VLAN 0 to HW filter on device team0 [ 1011.581445] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1011.589166] bridge0: port 1(bridge_slave_0) entered blocking state [ 1011.595737] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1011.605815] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1011.613931] bridge0: port 2(bridge_slave_1) entered blocking state [ 1011.620334] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1011.638334] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1011.646467] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1011.657491] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1011.668807] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1011.680967] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1011.692543] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 1011.700497] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1011.708530] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1011.724136] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 1011.732634] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1011.742938] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1011.758326] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1011.772045] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 1011.782776] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1011.824999] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 1011.834958] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 1011.842870] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 1011.852478] IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready [ 1011.859736] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 1011.869035] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1011.877981] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1011.885192] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1011.895163] device veth0_vlan entered promiscuous mode [ 1011.905611] device veth1_vlan entered promiscuous mode [ 1011.912370] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 1011.925159] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 1011.937649] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 1011.947883] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 1011.954822] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1011.964137] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1011.972489] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 1011.980482] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1011.990958] device veth0_macvtap entered promiscuous mode [ 1011.998332] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 1012.008397] device veth1_macvtap entered promiscuous mode [ 1012.015252] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 1012.025080] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 1012.035640] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 1012.046030] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 1012.054224] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1012.062160] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1012.070380] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 1012.079512] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 1012.088015] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1012.100897] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 1012.108055] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1012.114724] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 1012.124427] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1012.240890] audit: type=1400 audit(1585346222.954:41): avc: denied { associate } for pid=8038 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 [ 1012.292924] audit: type=1400 audit(1585346223.004:42): avc: denied { create } for pid=8075 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_netfilter_socket permissive=1 2020/03/27 21:57:06 executed programs: 109 2020/03/27 21:57:11 executed programs: 275 2020/03/27 21:57:16 executed programs: 441 [ 1028.257753] ================================================================== [ 1028.265869] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 1028.272476] Read of size 8 at addr ffff88808f06b560 by task syz-executor.0/11746 [ 1028.280050] [ 1028.281678] CPU: 1 PID: 11746 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 1028.289953] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1028.299310] Call Trace: [ 1028.302143] dump_stack+0x188/0x20d [ 1028.305768] ? __list_add_valid+0x93/0xa0 [ 1028.310101] print_address_description.cold+0x7c/0x212 [ 1028.315487] ? __list_add_valid+0x93/0xa0 [ 1028.319725] kasan_report.cold+0x88/0x2b9 [ 1028.324571] __list_add_valid+0x93/0xa0 [ 1028.328775] rdma_listen+0x609/0x880 [ 1028.332706] ucma_listen+0x14d/0x1c0 [ 1028.336567] ? ucma_notify+0x190/0x190 [ 1028.340838] ? __might_fault+0x192/0x1d0 [ 1028.344940] ? _copy_from_user+0xd2/0x140 [ 1028.350755] ? ucma_notify+0x190/0x190 [ 1028.354682] ucma_write+0x285/0x350 [ 1028.358336] ? ucma_open+0x280/0x280 [ 1028.362351] ? __fget+0x319/0x510 [ 1028.365929] __vfs_write+0xf7/0x760 [ 1028.369560] ? ucma_open+0x280/0x280 [ 1028.373278] ? kernel_read+0x110/0x110 [ 1028.377166] ? __inode_security_revalidate+0xd3/0x120 [ 1028.382376] ? avc_policy_seqno+0x9/0x70 [ 1028.386449] ? selinux_file_permission+0x87/0x520 [ 1028.391294] ? security_file_permission+0x84/0x220 [ 1028.396231] vfs_write+0x206/0x550 [ 1028.399780] ksys_write+0x12b/0x2a0 [ 1028.403425] ? __ia32_sys_read+0xb0/0xb0 [ 1028.407625] ? __ia32_sys_clock_settime+0x260/0x260 [ 1028.412660] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 1028.417422] ? trace_hardirqs_off_caller+0x55/0x210 [ 1028.422738] ? do_syscall_64+0x21/0x620 [ 1028.426768] do_syscall_64+0xf9/0x620 [ 1028.430916] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1028.436522] RIP: 0033:0x45c849 [ 1028.440023] 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 [ 1028.461466] RSP: 002b:00007f3533cd5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1028.469180] RAX: ffffffffffffffda RBX: 00007f3533cd66d4 RCX: 000000000045c849 [ 1028.476545] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000004 [ 1028.483939] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 1028.491544] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 1028.498846] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 1028.506651] [ 1028.508286] Allocated by task 11742: [ 1028.512085] kasan_kmalloc+0xbf/0xe0 [ 1028.515947] kmem_cache_alloc_trace+0x14d/0x7a0 [ 1028.520721] __rdma_create_id+0x5b/0x630 [ 1028.524775] ucma_create_id+0x1cb/0x5a0 [ 1028.528751] ucma_write+0x285/0x350 [ 1028.532662] __vfs_write+0xf7/0x760 [ 1028.536551] vfs_write+0x206/0x550 [ 1028.540358] ksys_write+0x12b/0x2a0 [ 1028.544302] do_syscall_64+0xf9/0x620 [ 1028.548806] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1028.555058] [ 1028.556670] Freed by task 11737: [ 1028.560034] __kasan_slab_free+0xf7/0x140 [ 1028.564198] kfree+0xce/0x220 [ 1028.567312] ucma_close+0x10b/0x320 [ 1028.571478] __fput+0x2cd/0x890 [ 1028.574753] task_work_run+0x13f/0x1b0 [ 1028.583830] exit_to_usermode_loop+0x25a/0x2b0 [ 1028.589648] do_syscall_64+0x538/0x620 [ 1028.593893] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1028.600677] [ 1028.602328] The buggy address belongs to the object at ffff88808f06b380 [ 1028.602328] which belongs to the cache kmalloc-2048 of size 2048 [ 1028.615614] The buggy address is located 480 bytes inside of [ 1028.615614] 2048-byte region [ffff88808f06b380, ffff88808f06bb80) [ 1028.628280] The buggy address belongs to the page: [ 1028.633239] page:ffffea00023c1a80 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 1028.644751] flags: 0xfffe0000008100(slab|head) [ 1028.649335] raw: 00fffe0000008100 ffffea00023e7d08 ffffea00023cdc88 ffff88812c3dcc40 [ 1028.657210] raw: 0000000000000000 ffff88808f06a280 0000000100000003 0000000000000000 [ 1028.665080] page dumped because: kasan: bad access detected [ 1028.670907] [ 1028.672780] Memory state around the buggy address: [ 1028.677699] ffff88808f06b400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1028.685377] ffff88808f06b480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1028.692755] >ffff88808f06b500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1028.700108] ^ [ 1028.707778] ffff88808f06b580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1028.716627] ffff88808f06b600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1028.724859] ================================================================== [ 1028.733103] Disabling lock debugging due to kernel taint [ 1028.740857] Kernel panic - not syncing: panic_on_warn set ... [ 1028.740857] [ 1028.748619] CPU: 1 PID: 11746 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 1028.758205] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1028.768299] Call Trace: [ 1028.770977] dump_stack+0x188/0x20d [ 1028.774594] panic+0x26a/0x50e [ 1028.778047] ? __warn_printk+0xf3/0xf3 [ 1028.782166] ? preempt_schedule_common+0x4a/0xc0 [ 1028.787118] ? __list_add_valid+0x93/0xa0 [ 1028.791478] ? ___preempt_schedule+0x16/0x18 [ 1028.797193] ? trace_hardirqs_on+0x55/0x210 [ 1028.801599] ? __list_add_valid+0x93/0xa0 [ 1028.806001] kasan_end_report+0x43/0x49 [ 1028.811014] kasan_report.cold+0xa4/0x2b9 [ 1028.815788] __list_add_valid+0x93/0xa0 [ 1028.820348] rdma_listen+0x609/0x880 [ 1028.824245] ucma_listen+0x14d/0x1c0 [ 1028.827973] ? ucma_notify+0x190/0x190 [ 1028.832471] ? __might_fault+0x192/0x1d0 [ 1028.837564] ? _copy_from_user+0xd2/0x140 [ 1028.841710] ? ucma_notify+0x190/0x190 [ 1028.845590] ucma_write+0x285/0x350 [ 1028.849212] ? ucma_open+0x280/0x280 [ 1028.852939] ? __fget+0x319/0x510 [ 1028.856400] __vfs_write+0xf7/0x760 [ 1028.860024] ? ucma_open+0x280/0x280 [ 1028.863725] ? kernel_read+0x110/0x110 [ 1028.867621] ? __inode_security_revalidate+0xd3/0x120 [ 1028.872795] ? avc_policy_seqno+0x9/0x70 [ 1028.876845] ? selinux_file_permission+0x87/0x520 [ 1028.881721] ? security_file_permission+0x84/0x220 [ 1028.886800] vfs_write+0x206/0x550 [ 1028.890515] ksys_write+0x12b/0x2a0 [ 1028.894759] ? __ia32_sys_read+0xb0/0xb0 [ 1028.899006] ? __ia32_sys_clock_settime+0x260/0x260 [ 1028.904980] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 1028.909838] ? trace_hardirqs_off_caller+0x55/0x210 [ 1028.915391] ? do_syscall_64+0x21/0x620 [ 1028.919609] do_syscall_64+0xf9/0x620 [ 1028.924137] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1028.929323] RIP: 0033:0x45c849 [ 1028.932504] 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 [ 1028.951838] RSP: 002b:00007f3533cd5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1028.959550] RAX: ffffffffffffffda RBX: 00007f3533cd66d4 RCX: 000000000045c849 [ 1028.967126] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000004 [ 1028.975015] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 1028.982545] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 1028.989921] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 1028.998663] Kernel Offset: disabled [ 1029.002303] Rebooting in 86400 seconds..