[ 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.13' (ECDSA) to the list of known hosts. 2020/04/14 15:20:58 parsed 1 programs 2020/04/14 15:21:00 executed programs: 0 syzkaller login: [ 52.526884] audit: type=1400 audit(1586877660.495:8): avc: denied { execmem } for pid=6334 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 52.796618] IPVS: ftp: loaded support on port[0] = 21 [ 53.608874] chnl_net:caif_netlink_parms(): no params data found [ 53.693491] bridge0: port 1(bridge_slave_0) entered blocking state [ 53.700404] bridge0: port 1(bridge_slave_0) entered disabled state [ 53.708726] device bridge_slave_0 entered promiscuous mode [ 53.717418] bridge0: port 2(bridge_slave_1) entered blocking state [ 53.724039] bridge0: port 2(bridge_slave_1) entered disabled state [ 53.731567] device bridge_slave_1 entered promiscuous mode [ 53.749481] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 53.758572] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 53.777917] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 53.785346] team0: Port device team_slave_0 added [ 53.790974] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 53.798686] team0: Port device team_slave_1 added [ 53.813779] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 53.820112] 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. [ 53.845521] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 53.857404] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 53.864083] 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. [ 53.889767] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 53.900372] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 53.908124] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 53.958553] device hsr_slave_0 entered promiscuous mode [ 53.995710] device hsr_slave_1 entered promiscuous mode [ 54.036144] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 54.043351] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 54.108539] bridge0: port 2(bridge_slave_1) entered blocking state [ 54.114975] bridge0: port 2(bridge_slave_1) entered forwarding state [ 54.123372] bridge0: port 1(bridge_slave_0) entered blocking state [ 54.129954] bridge0: port 1(bridge_slave_0) entered forwarding state [ 54.161633] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 54.168737] 8021q: adding VLAN 0 to HW filter on device bond0 [ 54.178187] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 54.187986] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 54.197630] bridge0: port 1(bridge_slave_0) entered disabled state [ 54.204879] bridge0: port 2(bridge_slave_1) entered disabled state [ 54.215106] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 54.221997] 8021q: adding VLAN 0 to HW filter on device team0 [ 54.230575] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 54.239356] bridge0: port 1(bridge_slave_0) entered blocking state [ 54.245807] bridge0: port 1(bridge_slave_0) entered forwarding state [ 54.255050] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 54.262766] bridge0: port 2(bridge_slave_1) entered blocking state [ 54.270066] bridge0: port 2(bridge_slave_1) entered forwarding state [ 54.284361] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 54.292357] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 54.302181] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 54.316495] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 54.323988] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 54.332988] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 54.339906] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 54.352612] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 54.360594] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 54.367815] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 54.380048] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 54.432870] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 54.442652] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 54.472719] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 54.480457] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 54.487797] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 54.497448] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 54.504965] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 54.512312] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 54.521026] device veth0_vlan entered promiscuous mode [ 54.530241] device veth1_vlan entered promiscuous mode [ 54.536543] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 54.546913] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 54.560262] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 54.570389] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 54.578040] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 54.585219] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 54.594108] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 54.602806] device veth0_macvtap entered promiscuous mode [ 54.611719] device veth1_macvtap entered promiscuous mode [ 54.620396] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 54.629626] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 54.639429] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 54.647295] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 54.654075] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 54.662626] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 54.672748] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 54.680244] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 54.687014] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 54.695492] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 56.417395] ================================================================== [ 56.424873] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 56.431355] Read of size 8 at addr ffff8880933b61d8 by task syz-executor.0/6646 [ 56.438799] [ 56.440417] CPU: 1 PID: 6646 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0 [ 56.448197] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.457554] Call Trace: [ 56.460137] dump_stack+0x13e/0x194 [ 56.463752] ? __list_add_valid+0x93/0xa0 [ 56.467887] print_address_description.cold+0x7c/0x1e2 [ 56.473150] ? __list_add_valid+0x93/0xa0 [ 56.477286] kasan_report.cold+0xa9/0x2ae [ 56.481419] __list_add_valid+0x93/0xa0 [ 56.485394] rdma_listen+0x580/0x800 [ 56.489097] ucma_listen+0x10b/0x160 [ 56.492798] ? ucma_accept+0x2a0/0x2a0 [ 56.496684] ? _copy_from_user+0x94/0x100 [ 56.500824] ? ucma_accept+0x2a0/0x2a0 [ 56.504777] ucma_write+0x206/0x2c0 [ 56.508392] ? ucma_open+0x280/0x280 [ 56.512097] ? save_trace+0x290/0x290 [ 56.515892] __vfs_write+0xe4/0x630 [ 56.519504] ? ucma_open+0x280/0x280 [ 56.523199] ? kernel_read+0x110/0x110 [ 56.527097] ? __inode_security_revalidate+0xcf/0x120 [ 56.532449] ? avc_policy_seqno+0x5/0x10 [ 56.536508] ? selinux_file_permission+0x7a/0x440 [ 56.541351] ? security_file_permission+0x82/0x1e0 [ 56.546385] ? rw_verify_area+0xe1/0x2a0 [ 56.550454] vfs_write+0x192/0x4e0 [ 56.554013] SyS_write+0xf2/0x210 [ 56.557473] ? SyS_read+0x210/0x210 [ 56.561101] ? SyS_clock_settime+0x1a0/0x1a0 [ 56.565515] ? do_syscall_64+0x4c/0x640 [ 56.569472] ? SyS_read+0x210/0x210 [ 56.573095] do_syscall_64+0x1d5/0x640 [ 56.576982] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 56.582165] RIP: 0033:0x45c889 [ 56.585339] RSP: 002b:00007f45a3de9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.593038] RAX: ffffffffffffffda RBX: 00007f45a3dea6d4 RCX: 000000000045c889 [ 56.600481] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 56.607744] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 56.615010] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 56.622280] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 56.629657] [ 56.631267] Allocated by task 6639: [ 56.634895] save_stack+0x32/0xa0 [ 56.638329] kasan_kmalloc+0xbf/0xe0 [ 56.642022] kmem_cache_alloc_trace+0x14d/0x7b0 [ 56.646844] rdma_create_id+0x57/0x4c0 [ 56.650753] ucma_create_id+0x18b/0x500 [ 56.654718] ucma_write+0x206/0x2c0 [ 56.658323] __vfs_write+0xe4/0x630 [ 56.661942] vfs_write+0x192/0x4e0 [ 56.665462] SyS_write+0xf2/0x210 [ 56.669791] do_syscall_64+0x1d5/0x640 [ 56.674295] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 56.679468] [ 56.681095] Freed by task 6639: [ 56.684359] save_stack+0x32/0xa0 [ 56.687798] kasan_slab_free+0x75/0xc0 [ 56.691710] kfree+0xcb/0x260 [ 56.694800] ucma_close+0x105/0x300 [ 56.698598] __fput+0x25f/0x790 [ 56.701864] task_work_run+0x113/0x190 [ 56.705756] exit_to_usermode_loop+0x1d6/0x220 [ 56.710338] do_syscall_64+0x4a3/0x640 [ 56.714226] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 56.719395] [ 56.721007] The buggy address belongs to the object at ffff8880933b6000 [ 56.721007] which belongs to the cache kmalloc-1024 of size 1024 [ 56.733835] The buggy address is located 472 bytes inside of [ 56.733835] 1024-byte region [ffff8880933b6000, ffff8880933b6400) [ 56.745789] The buggy address belongs to the page: [ 56.750770] page:ffffea00024ced80 count:1 mapcount:0 mapping:ffff8880933b6000 index:0x0 compound_mapcount: 0 [ 56.760732] flags: 0xfffe0000008100(slab|head) [ 56.765306] raw: 00fffe0000008100 ffff8880933b6000 0000000000000000 0000000100000007 [ 56.773291] raw: ffffea00024b15a0 ffffea00024cfd20 ffff88812fe56ac0 0000000000000000 [ 56.781155] page dumped because: kasan: bad access detected [ 56.786845] [ 56.788525] Memory state around the buggy address: [ 56.793438] ffff8880933b6080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.800895] ffff8880933b6100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.808248] >ffff8880933b6180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.815609] ^ [ 56.821831] ffff8880933b6200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.829173] ffff8880933b6280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 56.841372] ================================================================== [ 56.848726] Disabling lock debugging due to kernel taint [ 56.857599] Kernel panic - not syncing: panic_on_warn set ... [ 56.857599] [ 56.864979] CPU: 1 PID: 6646 Comm: syz-executor.0 Tainted: G B 4.14.176-syzkaller #0 [ 56.873980] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.883418] Call Trace: [ 56.885991] dump_stack+0x13e/0x194 [ 56.889601] panic+0x1f9/0x42d [ 56.892784] ? add_taint.cold+0x16/0x16 [ 56.896744] ? preempt_schedule_common+0x4a/0xc0 [ 56.901476] ? __list_add_valid+0x93/0xa0 [ 56.905605] ? ___preempt_schedule+0x16/0x18 [ 56.910129] ? __list_add_valid+0x93/0xa0 [ 56.914380] kasan_end_report+0x43/0x49 [ 56.918352] kasan_report.cold+0x12f/0x2ae [ 56.922569] __list_add_valid+0x93/0xa0 [ 56.926660] rdma_listen+0x580/0x800 [ 56.930356] ucma_listen+0x10b/0x160 [ 56.934064] ? ucma_accept+0x2a0/0x2a0 [ 56.937948] ? _copy_from_user+0x94/0x100 [ 56.942080] ? ucma_accept+0x2a0/0x2a0 [ 56.945946] ucma_write+0x206/0x2c0 [ 56.949567] ? ucma_open+0x280/0x280 [ 56.953324] ? save_trace+0x290/0x290 [ 56.957325] __vfs_write+0xe4/0x630 [ 56.960946] ? ucma_open+0x280/0x280 [ 56.964653] ? kernel_read+0x110/0x110 [ 56.968582] ? __inode_security_revalidate+0xcf/0x120 [ 56.973902] ? avc_policy_seqno+0x5/0x10 [ 56.977951] ? selinux_file_permission+0x7a/0x440 [ 56.982789] ? security_file_permission+0x82/0x1e0 [ 56.987709] ? rw_verify_area+0xe1/0x2a0 [ 56.991889] vfs_write+0x192/0x4e0 [ 56.995414] SyS_write+0xf2/0x210 [ 56.998864] ? SyS_read+0x210/0x210 [ 57.002559] ? SyS_clock_settime+0x1a0/0x1a0 [ 57.006968] ? do_syscall_64+0x4c/0x640 [ 57.010920] ? SyS_read+0x210/0x210 [ 57.014528] do_syscall_64+0x1d5/0x640 [ 57.018413] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 57.023862] RIP: 0033:0x45c889 [ 57.027049] RSP: 002b:00007f45a3de9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.034749] RAX: ffffffffffffffda RBX: 00007f45a3dea6d4 RCX: 000000000045c889 [ 57.042127] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 57.049379] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 57.056630] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 57.063898] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 57.073041] Kernel Offset: disabled [ 57.076665] Rebooting in 86400 seconds..