[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.60' (ECDSA) to the list of known hosts. 2020/04/23 13:45:09 parsed 1 programs 2020/04/23 13:45:11 executed programs: 0 syzkaller login: [ 36.351347] audit: type=1400 audit(1587649511.423: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.637082] IPVS: ftp: loaded support on port[0] = 21 [ 37.453738] chnl_net:caif_netlink_parms(): no params data found [ 37.587738] bridge0: port 1(bridge_slave_0) entered blocking state [ 37.594644] bridge0: port 1(bridge_slave_0) entered disabled state [ 37.602568] device bridge_slave_0 entered promiscuous mode [ 37.610108] bridge0: port 2(bridge_slave_1) entered blocking state [ 37.616935] bridge0: port 2(bridge_slave_1) entered disabled state [ 37.623876] device bridge_slave_1 entered promiscuous mode [ 37.641108] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 37.650084] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 37.668371] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 37.676344] team0: Port device team_slave_0 added [ 37.681834] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 37.689593] team0: Port device team_slave_1 added [ 37.705045] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 37.711322] 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.736804] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 37.748851] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 37.755378] 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.780670] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 37.791634] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 37.799508] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 37.857572] device hsr_slave_0 entered promiscuous mode [ 37.895289] device hsr_slave_1 entered promiscuous mode [ 37.935500] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 37.942673] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 38.010558] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.017021] bridge0: port 2(bridge_slave_1) entered forwarding state [ 38.023846] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.030260] bridge0: port 1(bridge_slave_0) entered forwarding state [ 38.059582] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 38.067150] 8021q: adding VLAN 0 to HW filter on device bond0 [ 38.075787] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 38.084134] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 38.104437] bridge0: port 1(bridge_slave_0) entered disabled state [ 38.111783] bridge0: port 2(bridge_slave_1) entered disabled state [ 38.122126] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 38.128715] 8021q: adding VLAN 0 to HW filter on device team0 [ 38.137387] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 38.145670] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.152026] bridge0: port 1(bridge_slave_0) entered forwarding state [ 38.172819] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 38.182797] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 38.195373] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 38.203470] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 38.211538] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.218184] bridge0: port 2(bridge_slave_1) entered forwarding state [ 38.226323] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 38.234127] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 38.242800] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 38.250667] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 38.258747] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 38.265689] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 38.278762] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 38.286217] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 38.292873] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 38.304113] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 38.357386] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 38.367758] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 38.399011] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 38.406524] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 38.412963] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 38.422870] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 38.431209] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 38.438476] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 38.446013] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 38.455398] device veth0_vlan entered promiscuous mode [ 38.464272] device veth1_vlan entered promiscuous mode [ 38.478956] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 38.489060] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 38.495956] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 38.503666] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 38.513359] device veth0_macvtap entered promiscuous mode [ 38.519928] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 38.529189] device veth1_macvtap entered promiscuous mode [ 38.535711] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 38.544073] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 38.554075] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 38.563777] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 38.571319] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 38.578532] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 38.586067] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 38.593238] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 38.601405] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 38.612253] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 38.620398] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 38.627454] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 38.636126] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 41.143244] ================================================================== [ 41.150776] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 41.157618] Read of size 8 at addr ffff88808be30698 by task syz-executor.0/6967 [ 41.165157] [ 41.166810] CPU: 0 PID: 6967 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0 [ 41.175908] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.185244] Call Trace: [ 41.187832] dump_stack+0x13e/0x194 [ 41.191474] ? __list_add_valid+0x93/0xa0 [ 41.195632] print_address_description.cold+0x7c/0x1e2 [ 41.200912] ? __list_add_valid+0x93/0xa0 [ 41.205075] kasan_report.cold+0xa9/0x2ae [ 41.209203] __list_add_valid+0x93/0xa0 [ 41.213179] rdma_listen+0x580/0x800 [ 41.216874] ucma_listen+0x10b/0x160 [ 41.220581] ? ucma_accept+0x2a0/0x2a0 [ 41.224463] ? _copy_from_user+0x94/0x100 [ 41.228643] ? ucma_accept+0x2a0/0x2a0 [ 41.232671] ucma_write+0x206/0x2c0 [ 41.236312] ? ucma_open+0x280/0x280 [ 41.240113] ? save_trace+0x290/0x290 [ 41.243908] __vfs_write+0xe4/0x630 [ 41.247558] ? ucma_open+0x280/0x280 [ 41.251273] ? kernel_read+0x110/0x110 [ 41.255511] ? __inode_security_revalidate+0xcf/0x120 [ 41.260836] ? avc_policy_seqno+0x5/0x10 [ 41.265057] ? selinux_file_permission+0x7a/0x440 [ 41.269988] ? security_file_permission+0x82/0x1e0 [ 41.275041] ? rw_verify_area+0xe1/0x2a0 [ 41.279151] vfs_write+0x192/0x4e0 [ 41.282681] SyS_write+0xf2/0x210 [ 41.286137] ? SyS_read+0x210/0x210 [ 41.289797] ? SyS_clock_settime+0x1a0/0x1a0 [ 41.294269] ? do_syscall_64+0x4c/0x640 [ 41.298327] ? SyS_read+0x210/0x210 [ 41.301978] do_syscall_64+0x1d5/0x640 [ 41.305864] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.311071] RIP: 0033:0x45c829 [ 41.314263] RSP: 002b:00007f5e8a649c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 41.321987] RAX: ffffffffffffffda RBX: 000000000050bb40 RCX: 000000000045c829 [ 41.329285] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 41.336549] RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 [ 41.343799] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 41.351065] R13: 0000000000000cc2 R14: 00000000004ceed4 R15: 00007f5e8a64a6d4 [ 41.358360] [ 41.360017] Allocated by task 6960: [ 41.363629] save_stack+0x32/0xa0 [ 41.367075] kasan_kmalloc+0xbf/0xe0 [ 41.370782] kmem_cache_alloc_trace+0x14d/0x7b0 [ 41.375486] rdma_create_id+0x57/0x4c0 [ 41.379356] ucma_create_id+0x18b/0x500 [ 41.383396] ucma_write+0x206/0x2c0 [ 41.387262] __vfs_write+0xe4/0x630 [ 41.390876] vfs_write+0x192/0x4e0 [ 41.394398] SyS_write+0xf2/0x210 [ 41.397829] do_syscall_64+0x1d5/0x640 [ 41.401709] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.406874] [ 41.408491] Freed by task 6960: [ 41.415175] save_stack+0x32/0xa0 [ 41.418613] kasan_slab_free+0x75/0xc0 [ 41.422493] kfree+0xcb/0x260 [ 41.425589] ucma_close+0x105/0x300 [ 41.429195] __fput+0x25f/0x790 [ 41.432559] task_work_run+0x113/0x190 [ 41.436859] get_signal+0x187f/0x1ca0 [ 41.440711] do_signal+0x7c/0x1690 [ 41.444249] exit_to_usermode_loop+0x159/0x220 [ 41.448839] do_syscall_64+0x4a3/0x640 [ 41.452735] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.458245] [ 41.460009] The buggy address belongs to the object at ffff88808be304c0 [ 41.460009] which belongs to the cache kmalloc-1024 of size 1024 [ 41.473071] The buggy address is located 472 bytes inside of [ 41.473071] 1024-byte region [ffff88808be304c0, ffff88808be308c0) [ 41.485163] The buggy address belongs to the page: [ 41.490106] page:ffffea00022f8c00 count:1 mapcount:0 mapping:ffff88808be30040 index:0x0 compound_mapcount: 0 [ 41.500173] flags: 0xfffe0000008100(slab|head) [ 41.504739] raw: 00fffe0000008100 ffff88808be30040 0000000000000000 0000000100000007 [ 41.513596] raw: ffffea000230ef20 ffffea00022da220 ffff88812fe56ac0 0000000000000000 [ 41.521555] page dumped because: kasan: bad access detected [ 41.527366] [ 41.528975] Memory state around the buggy address: [ 41.533884] ffff88808be30580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.541457] ffff88808be30600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.548809] >ffff88808be30680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.556151] ^ [ 41.560286] ffff88808be30700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.567654] ffff88808be30780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.574992] ================================================================== [ 41.582334] Disabling lock debugging due to kernel taint [ 41.590947] Kernel panic - not syncing: panic_on_warn set ... [ 41.590947] [ 41.598341] CPU: 1 PID: 6967 Comm: syz-executor.0 Tainted: G B 4.14.176-syzkaller #0 [ 41.607348] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.616819] Call Trace: [ 41.619445] dump_stack+0x13e/0x194 [ 41.623132] panic+0x1f9/0x42d [ 41.626409] ? add_taint.cold+0x16/0x16 [ 41.630438] ? preempt_schedule_common+0x4a/0xc0 [ 41.635304] ? __list_add_valid+0x93/0xa0 [ 41.639443] ? ___preempt_schedule+0x16/0x18 [ 41.643844] ? __list_add_valid+0x93/0xa0 [ 41.647972] kasan_end_report+0x43/0x49 [ 41.652210] kasan_report.cold+0x12f/0x2ae [ 41.656434] __list_add_valid+0x93/0xa0 [ 41.660384] rdma_listen+0x580/0x800 [ 41.664091] ucma_listen+0x10b/0x160 [ 41.667782] ? ucma_accept+0x2a0/0x2a0 [ 41.671668] ? _copy_from_user+0x94/0x100 [ 41.675804] ? ucma_accept+0x2a0/0x2a0 [ 41.679681] ucma_write+0x206/0x2c0 [ 41.683296] ? ucma_open+0x280/0x280 [ 41.687002] ? save_trace+0x290/0x290 [ 41.690799] __vfs_write+0xe4/0x630 [ 41.694419] ? ucma_open+0x280/0x280 [ 41.698116] ? kernel_read+0x110/0x110 [ 41.701985] ? __inode_security_revalidate+0xcf/0x120 [ 41.707174] ? avc_policy_seqno+0x5/0x10 [ 41.711227] ? selinux_file_permission+0x7a/0x440 [ 41.716211] ? security_file_permission+0x82/0x1e0 [ 41.721240] ? rw_verify_area+0xe1/0x2a0 [ 41.725293] vfs_write+0x192/0x4e0 [ 41.728834] SyS_write+0xf2/0x210 [ 41.732262] ? SyS_read+0x210/0x210 [ 41.735868] ? SyS_clock_settime+0x1a0/0x1a0 [ 41.740442] ? do_syscall_64+0x4c/0x640 [ 41.744400] ? SyS_read+0x210/0x210 [ 41.748108] do_syscall_64+0x1d5/0x640 [ 41.751983] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.757157] RIP: 0033:0x45c829 [ 41.760319] RSP: 002b:00007f5e8a649c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 41.768001] RAX: ffffffffffffffda RBX: 000000000050bb40 RCX: 000000000045c829 [ 41.775290] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 41.782556] RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 [ 41.789889] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 41.797133] R13: 0000000000000cc2 R14: 00000000004ceed4 R15: 00007f5e8a64a6d4 [ 41.805685] Kernel Offset: disabled [ 41.809299] Rebooting in 86400 seconds..