Warning: Permanently added '10.128.0.166' (ECDSA) to the list of known hosts. 2020/04/15 07:23:00 parsed 1 programs 2020/04/15 07:23:02 executed programs: 0 syzkaller login: [ 36.054749] audit: type=1400 audit(1586935382.256:8): avc: denied { execmem } for pid=6353 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 36.315237] IPVS: ftp: loaded support on port[0] = 21 [ 37.232661] chnl_net:caif_netlink_parms(): no params data found [ 37.330510] bridge0: port 1(bridge_slave_0) entered blocking state [ 37.337365] bridge0: port 1(bridge_slave_0) entered disabled state [ 37.345090] device bridge_slave_0 entered promiscuous mode [ 37.352136] bridge0: port 2(bridge_slave_1) entered blocking state [ 37.359643] bridge0: port 2(bridge_slave_1) entered disabled state [ 37.367013] device bridge_slave_1 entered promiscuous mode [ 37.385005] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 37.393883] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 37.411715] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 37.419236] team0: Port device team_slave_0 added [ 37.425276] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 37.432521] team0: Port device team_slave_1 added [ 37.448969] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 37.455382] 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. [ 37.480699] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 37.492874] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 37.499269] 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. [ 37.524840] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 37.535942] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 37.543738] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 37.597014] device hsr_slave_0 entered promiscuous mode [ 37.644006] device hsr_slave_1 entered promiscuous mode [ 37.684563] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 37.691603] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 37.757751] bridge0: port 2(bridge_slave_1) entered blocking state [ 37.764298] bridge0: port 2(bridge_slave_1) entered forwarding state [ 37.771096] bridge0: port 1(bridge_slave_0) entered blocking state [ 37.777501] bridge0: port 1(bridge_slave_0) entered forwarding state [ 37.808304] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 37.815149] 8021q: adding VLAN 0 to HW filter on device bond0 [ 37.823007] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 37.832569] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 37.841763] bridge0: port 1(bridge_slave_0) entered disabled state [ 37.859643] bridge0: port 2(bridge_slave_1) entered disabled state [ 37.870627] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 37.876894] 8021q: adding VLAN 0 to HW filter on device team0 [ 37.885593] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 37.893238] bridge0: port 1(bridge_slave_0) entered blocking state [ 37.899650] bridge0: port 1(bridge_slave_0) entered forwarding state [ 37.908717] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 37.917351] bridge0: port 2(bridge_slave_1) entered blocking state [ 37.923787] bridge0: port 2(bridge_slave_1) entered forwarding state [ 37.944758] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 37.952501] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 37.960375] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 37.967931] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 37.976100] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 37.985593] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 37.991588] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 38.004310] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 38.011603] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 38.019210] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 38.030001] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 38.081076] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 38.091154] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 38.119291] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 38.126912] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 38.133356] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 38.144135] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 38.151444] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 38.158968] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 38.168001] device veth0_vlan entered promiscuous mode [ 38.177415] device veth1_vlan entered promiscuous mode [ 38.183217] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 38.192175] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 38.203227] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 38.214311] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 38.221308] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 38.229942] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 38.239202] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 38.249585] device veth0_macvtap entered promiscuous mode [ 38.258069] device veth1_macvtap entered promiscuous mode [ 38.266713] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 38.275727] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 38.286337] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 38.294073] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 38.301601] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 38.309458] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 38.319911] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 38.327467] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 38.334789] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 38.342627] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 39.941517] ================================================================== [ 39.949020] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 39.955524] Read of size 8 at addr ffff888093644ad8 by task syz-executor.0/6665 [ 39.962953] [ 39.964579] CPU: 0 PID: 6665 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0 [ 39.972372] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.981723] Call Trace: [ 39.986839] dump_stack+0x13e/0x194 [ 39.990451] ? __list_add_valid+0x93/0xa0 [ 39.994583] print_address_description.cold+0x7c/0x1e2 [ 39.999858] ? __list_add_valid+0x93/0xa0 [ 40.003995] kasan_report.cold+0xa9/0x2ae [ 40.008125] __list_add_valid+0x93/0xa0 [ 40.012082] rdma_listen+0x580/0x800 [ 40.015778] ucma_listen+0x10b/0x160 [ 40.019475] ? ucma_accept+0x2a0/0x2a0 [ 40.023343] ? _copy_from_user+0x94/0x100 [ 40.027471] ? ucma_accept+0x2a0/0x2a0 [ 40.031352] ucma_write+0x206/0x2c0 [ 40.034960] ? ucma_open+0x280/0x280 [ 40.038652] ? save_trace+0x290/0x290 [ 40.042435] __vfs_write+0xe4/0x630 [ 40.046043] ? ucma_open+0x280/0x280 [ 40.049736] ? kernel_read+0x110/0x110 [ 40.053606] ? __inode_security_revalidate+0xcf/0x120 [ 40.058777] ? avc_policy_seqno+0x5/0x10 [ 40.062824] ? selinux_file_permission+0x7a/0x440 [ 40.067649] ? security_file_permission+0x82/0x1e0 [ 40.072564] ? rw_verify_area+0xe1/0x2a0 [ 40.076608] vfs_write+0x192/0x4e0 [ 40.080232] SyS_write+0xf2/0x210 [ 40.083680] ? SyS_read+0x210/0x210 [ 40.087288] ? SyS_clock_settime+0x1a0/0x1a0 [ 40.091683] ? do_syscall_64+0x4c/0x640 [ 40.095648] ? SyS_read+0x210/0x210 [ 40.099284] do_syscall_64+0x1d5/0x640 [ 40.103173] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.108502] RIP: 0033:0x45c889 [ 40.111701] RSP: 002b:00007f06f9c52c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 40.119395] RAX: ffffffffffffffda RBX: 00007f06f9c536d4 RCX: 000000000045c889 [ 40.126647] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 40.133900] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 40.141160] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 40.148421] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 40.155688] [ 40.157301] Allocated by task 6657: [ 40.160910] save_stack+0x32/0xa0 [ 40.164349] kasan_kmalloc+0xbf/0xe0 [ 40.168047] kmem_cache_alloc_trace+0x14d/0x7b0 [ 40.172695] rdma_create_id+0x57/0x4c0 [ 40.176564] ucma_create_id+0x18b/0x500 [ 40.180626] ucma_write+0x206/0x2c0 [ 40.184253] __vfs_write+0xe4/0x630 [ 40.187908] vfs_write+0x192/0x4e0 [ 40.191440] SyS_write+0xf2/0x210 [ 40.194886] do_syscall_64+0x1d5/0x640 [ 40.198771] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.203943] [ 40.205552] Freed by task 6661: [ 40.208861] save_stack+0x32/0xa0 [ 40.212322] kasan_slab_free+0x75/0xc0 [ 40.216204] kfree+0xcb/0x260 [ 40.219301] ucma_close+0x105/0x300 [ 40.223044] __fput+0x25f/0x790 [ 40.226338] task_work_run+0x113/0x190 [ 40.230233] get_signal+0x187f/0x1ca0 [ 40.234041] do_signal+0x7c/0x1690 [ 40.237571] exit_to_usermode_loop+0x159/0x220 [ 40.242177] do_syscall_64+0x4a3/0x640 [ 40.246066] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.251233] [ 40.252841] The buggy address belongs to the object at ffff888093644900 [ 40.252841] which belongs to the cache kmalloc-1024 of size 1024 [ 40.265660] The buggy address is located 472 bytes inside of [ 40.265660] 1024-byte region [ffff888093644900, ffff888093644d00) [ 40.277714] The buggy address belongs to the page: [ 40.282631] page:ffffea00024d9100 count:1 mapcount:0 mapping:ffff888093644000 index:0x0 compound_mapcount: 0 [ 40.292584] flags: 0xfffe0000008100(slab|head) [ 40.297153] raw: 00fffe0000008100 ffff888093644000 0000000000000000 0000000100000007 [ 40.305015] raw: ffffea0002178e20 ffffea00024cbf20 ffff88812fe56ac0 0000000000000000 [ 40.312878] page dumped because: kasan: bad access detected [ 40.318572] [ 40.320185] Memory state around the buggy address: [ 40.325191] ffff888093644980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.332540] ffff888093644a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.339904] >ffff888093644a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.347253] ^ [ 40.353488] ffff888093644b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.360841] ffff888093644b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.368289] ================================================================== [ 40.375633] Disabling lock debugging due to kernel taint [ 40.385090] Kernel panic - not syncing: panic_on_warn set ... [ 40.385090] [ 40.392478] CPU: 0 PID: 6665 Comm: syz-executor.0 Tainted: G B 4.14.176-syzkaller #0 [ 40.401486] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.410925] Call Trace: [ 40.413513] dump_stack+0x13e/0x194 [ 40.417134] panic+0x1f9/0x42d [ 40.420312] ? add_taint.cold+0x16/0x16 [ 40.424963] ? preempt_schedule_common+0x4a/0xc0 [ 40.429830] ? __list_add_valid+0x93/0xa0 [ 40.433983] ? ___preempt_schedule+0x16/0x18 [ 40.438372] ? __list_add_valid+0x93/0xa0 [ 40.442509] kasan_end_report+0x43/0x49 [ 40.446467] kasan_report.cold+0x12f/0x2ae [ 40.450691] __list_add_valid+0x93/0xa0 [ 40.454646] rdma_listen+0x580/0x800 [ 40.458355] ucma_listen+0x10b/0x160 [ 40.462050] ? ucma_accept+0x2a0/0x2a0 [ 40.465919] ? _copy_from_user+0x94/0x100 [ 40.470070] ? ucma_accept+0x2a0/0x2a0 [ 40.473939] ucma_write+0x206/0x2c0 [ 40.477568] ? ucma_open+0x280/0x280 [ 40.481265] ? save_trace+0x290/0x290 [ 40.485047] __vfs_write+0xe4/0x630 [ 40.488655] ? ucma_open+0x280/0x280 [ 40.492364] ? kernel_read+0x110/0x110 [ 40.496236] ? __inode_security_revalidate+0xcf/0x120 [ 40.501405] ? avc_policy_seqno+0x5/0x10 [ 40.505448] ? selinux_file_permission+0x7a/0x440 [ 40.510271] ? security_file_permission+0x82/0x1e0 [ 40.515196] ? rw_verify_area+0xe1/0x2a0 [ 40.519249] vfs_write+0x192/0x4e0 [ 40.522780] SyS_write+0xf2/0x210 [ 40.526210] ? SyS_read+0x210/0x210 [ 40.529836] ? SyS_clock_settime+0x1a0/0x1a0 [ 40.534254] ? do_syscall_64+0x4c/0x640 [ 40.538213] ? SyS_read+0x210/0x210 [ 40.541825] do_syscall_64+0x1d5/0x640 [ 40.545759] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.550946] RIP: 0033:0x45c889 [ 40.554117] RSP: 002b:00007f06f9c52c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 40.561808] RAX: ffffffffffffffda RBX: 00007f06f9c536d4 RCX: 000000000045c889 [ 40.569058] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 40.576382] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 40.583688] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 40.590943] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 40.599697] Kernel Offset: disabled [ 40.603320] Rebooting in 86400 seconds..