[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.71' (ECDSA) to the list of known hosts. 2020/04/17 13:53:57 parsed 1 programs 2020/04/17 13:53:59 executed programs: 0 syzkaller login: [ 37.140338] audit: type=1400 audit(1587131639.706:8): avc: denied { execmem } for pid=6361 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 37.409486] IPVS: ftp: loaded support on port[0] = 21 [ 38.197598] chnl_net:caif_netlink_parms(): no params data found [ 38.340380] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.347124] bridge0: port 1(bridge_slave_0) entered disabled state [ 38.355126] device bridge_slave_0 entered promiscuous mode [ 38.363180] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.370581] bridge0: port 2(bridge_slave_1) entered disabled state [ 38.377509] device bridge_slave_1 entered promiscuous mode [ 38.395496] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 38.404580] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 38.423647] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 38.431493] team0: Port device team_slave_0 added [ 38.437021] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 38.445214] team0: Port device team_slave_1 added [ 38.461228] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 38.467581] 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. [ 38.493486] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 38.505573] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 38.512362] 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. [ 38.539604] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 38.551022] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 38.559609] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 38.610965] device hsr_slave_0 entered promiscuous mode [ 38.658078] device hsr_slave_1 entered promiscuous mode [ 38.718422] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 38.725881] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 38.793085] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.799974] bridge0: port 2(bridge_slave_1) entered forwarding state [ 38.807094] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.821428] bridge0: port 1(bridge_slave_0) entered forwarding state [ 38.853490] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 38.863057] 8021q: adding VLAN 0 to HW filter on device bond0 [ 38.872426] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 38.882512] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 38.890623] bridge0: port 1(bridge_slave_0) entered disabled state [ 38.908471] bridge0: port 2(bridge_slave_1) entered disabled state [ 38.919451] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 38.925660] 8021q: adding VLAN 0 to HW filter on device team0 [ 38.934941] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 38.943176] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.949904] bridge0: port 1(bridge_slave_0) entered forwarding state [ 38.968237] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 38.977017] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.983443] bridge0: port 2(bridge_slave_1) entered forwarding state [ 38.991682] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 39.000067] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 39.008457] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 39.018073] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 39.028613] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 39.041072] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 39.047079] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 39.060001] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 39.067467] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 39.075100] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 39.086121] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 39.140144] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 39.150650] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 39.183599] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 39.191703] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 39.198803] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 39.205155] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 39.225779] IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready [ 39.232655] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 39.241213] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 39.251003] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 39.258933] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 39.267304] device veth0_vlan entered promiscuous mode [ 39.276276] device veth1_vlan entered promiscuous mode [ 39.282479] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 39.291459] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 39.304645] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 39.314581] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 39.321622] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 39.329154] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 39.336854] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 39.344878] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 39.354959] device veth0_macvtap entered promiscuous mode [ 39.362139] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 39.371187] device veth1_macvtap entered promiscuous mode [ 39.378332] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 39.387038] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 39.398311] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 39.408979] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 39.416370] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 39.424427] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 39.432674] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 39.440440] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 39.448879] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 39.460855] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 39.468097] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 39.474668] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 39.483207] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 40.660681] ================================================================== [ 40.668407] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 40.674946] Read of size 8 at addr ffff888094c4af98 by task syz-executor.0/6614 [ 40.682488] [ 40.684128] CPU: 0 PID: 6614 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0 [ 40.691906] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.701359] Call Trace: [ 40.703950] dump_stack+0x13e/0x194 [ 40.707695] ? __list_add_valid+0x93/0xa0 [ 40.711842] print_address_description.cold+0x7c/0x1e2 [ 40.717231] ? __list_add_valid+0x93/0xa0 [ 40.721549] kasan_report.cold+0xa9/0x2ae [ 40.725693] __list_add_valid+0x93/0xa0 [ 40.729722] rdma_listen+0x580/0x800 [ 40.733557] ucma_listen+0x10b/0x160 [ 40.737373] ? ucma_accept+0x2a0/0x2a0 [ 40.741265] ? _copy_from_user+0x94/0x100 [ 40.746017] ? ucma_accept+0x2a0/0x2a0 [ 40.749956] ucma_write+0x206/0x2c0 [ 40.753574] ? ucma_open+0x280/0x280 [ 40.757386] ? save_trace+0x290/0x290 [ 40.761185] __vfs_write+0xe4/0x630 [ 40.764817] ? ucma_open+0x280/0x280 [ 40.768528] ? kernel_read+0x110/0x110 [ 40.772501] ? __inode_security_revalidate+0xcf/0x120 [ 40.777809] ? avc_policy_seqno+0x5/0x10 [ 40.781863] ? selinux_file_permission+0x7a/0x440 [ 40.786709] ? security_file_permission+0x82/0x1e0 [ 40.791723] ? rw_verify_area+0xe1/0x2a0 [ 40.795922] vfs_write+0x192/0x4e0 [ 40.799458] SyS_write+0xf2/0x210 [ 40.802916] ? SyS_read+0x210/0x210 [ 40.806665] ? SyS_clock_settime+0x1a0/0x1a0 [ 40.811326] ? do_syscall_64+0x4c/0x640 [ 40.815946] ? SyS_read+0x210/0x210 [ 40.819654] do_syscall_64+0x1d5/0x640 [ 40.823641] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.828883] RIP: 0033:0x45c889 [ 40.832058] RSP: 002b:00007f4e48cadc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 40.840056] RAX: ffffffffffffffda RBX: 00007f4e48cae6d4 RCX: 000000000045c889 [ 40.847335] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005 [ 40.854859] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 40.862205] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 40.869473] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 40.876747] [ 40.878362] Allocated by task 6606: [ 40.882034] save_stack+0x32/0xa0 [ 40.885482] kasan_kmalloc+0xbf/0xe0 [ 40.889281] kmem_cache_alloc_trace+0x14d/0x7b0 [ 40.894035] rdma_create_id+0x57/0x4c0 [ 40.898058] ucma_create_id+0x18b/0x500 [ 40.902036] ucma_write+0x206/0x2c0 [ 40.905662] __vfs_write+0xe4/0x630 [ 40.909342] vfs_write+0x192/0x4e0 [ 40.913058] SyS_write+0xf2/0x210 [ 40.916500] do_syscall_64+0x1d5/0x640 [ 40.920388] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.926616] [ 40.928251] Freed by task 6605: [ 40.931514] save_stack+0x32/0xa0 [ 40.934964] kasan_slab_free+0x75/0xc0 [ 40.939193] kfree+0xcb/0x260 [ 40.942289] ucma_close+0x105/0x300 [ 40.945914] __fput+0x25f/0x790 [ 40.949183] task_work_run+0x113/0x190 [ 40.953077] exit_to_usermode_loop+0x1d6/0x220 [ 40.957652] do_syscall_64+0x4a3/0x640 [ 40.961529] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.966717] [ 40.968330] The buggy address belongs to the object at ffff888094c4adc0 [ 40.968330] which belongs to the cache kmalloc-1024 of size 1024 [ 40.981293] The buggy address is located 472 bytes inside of [ 40.981293] 1024-byte region [ffff888094c4adc0, ffff888094c4b1c0) [ 40.993279] The buggy address belongs to the page: [ 40.998340] page:ffffea0002531280 count:1 mapcount:0 mapping:ffff888094c4a040 index:0x0 compound_mapcount: 0 [ 41.008594] flags: 0xfffe0000008100(slab|head) [ 41.013165] raw: 00fffe0000008100 ffff888094c4a040 0000000000000000 0000000100000007 [ 41.021044] raw: ffffea00024ef0a0 ffffea00024d7fa0 ffff88812fe56ac0 0000000000000000 [ 41.029150] page dumped because: kasan: bad access detected [ 41.034923] [ 41.036545] Memory state around the buggy address: [ 41.041461] ffff888094c4ae80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.048823] ffff888094c4af00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.056223] >ffff888094c4af80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.063567] ^ [ 41.067702] ffff888094c4b000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.075044] ffff888094c4b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.082383] ================================================================== [ 41.089912] Disabling lock debugging due to kernel taint [ 41.106654] Kernel panic - not syncing: panic_on_warn set ... [ 41.106654] [ 41.106662] CPU: 1 PID: 6614 Comm: syz-executor.0 Tainted: G B 4.14.176-syzkaller #0 [ 41.106665] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.106667] Call Trace: [ 41.106682] dump_stack+0x13e/0x194 [ 41.106691] panic+0x1f9/0x42d [ 41.106697] ? add_taint.cold+0x16/0x16 [ 41.106705] ? preempt_schedule_common+0x4a/0xc0 [ 41.106712] ? __list_add_valid+0x93/0xa0 [ 41.106721] ? ___preempt_schedule+0x16/0x18 [ 41.106728] ? __list_add_valid+0x93/0xa0 [ 41.106736] kasan_end_report+0x43/0x49 [ 41.106742] kasan_report.cold+0x12f/0x2ae [ 41.106749] __list_add_valid+0x93/0xa0 [ 41.106757] rdma_listen+0x580/0x800 [ 41.106766] ucma_listen+0x10b/0x160 [ 41.106773] ? ucma_accept+0x2a0/0x2a0 [ 41.106785] ? _copy_from_user+0x94/0x100 [ 41.191466] ? ucma_accept+0x2a0/0x2a0 [ 41.195333] ucma_write+0x206/0x2c0 [ 41.198954] ? ucma_open+0x280/0x280 [ 41.202646] ? save_trace+0x290/0x290 [ 41.206429] __vfs_write+0xe4/0x630 [ 41.210032] ? ucma_open+0x280/0x280 [ 41.213724] ? kernel_read+0x110/0x110 [ 41.217600] ? __inode_security_revalidate+0xcf/0x120 [ 41.222803] ? avc_policy_seqno+0x5/0x10 [ 41.226843] ? selinux_file_permission+0x7a/0x440 [ 41.231697] ? security_file_permission+0x82/0x1e0 [ 41.236633] ? rw_verify_area+0xe1/0x2a0 [ 41.240700] vfs_write+0x192/0x4e0 [ 41.244220] SyS_write+0xf2/0x210 [ 41.247653] ? SyS_read+0x210/0x210 [ 41.251272] ? SyS_clock_settime+0x1a0/0x1a0 [ 41.255657] ? do_syscall_64+0x4c/0x640 [ 41.259612] ? SyS_read+0x210/0x210 [ 41.263218] do_syscall_64+0x1d5/0x640 [ 41.267084] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.272260] RIP: 0033:0x45c889 [ 41.275438] RSP: 002b:00007f4e48cadc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 41.283123] RAX: ffffffffffffffda RBX: 00007f4e48cae6d4 RCX: 000000000045c889 [ 41.290384] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005 [ 41.298004] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 41.305492] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 41.312845] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 41.321499] Kernel Offset: disabled [ 41.325310] Rebooting in 86400 seconds..