[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.13' (ECDSA) to the list of known hosts. 2020/04/16 22:51:46 parsed 1 programs 2020/04/16 22:51:48 executed programs: 0 syzkaller login: [ 38.390882] audit: type=1400 audit(1587077508.675:8): avc: denied { execmem } for pid=6338 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 38.680544] IPVS: ftp: loaded support on port[0] = 21 [ 39.487383] chnl_net:caif_netlink_parms(): no params data found [ 39.584521] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.593012] bridge0: port 1(bridge_slave_0) entered disabled state [ 39.601709] device bridge_slave_0 entered promiscuous mode [ 39.610015] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.616537] bridge0: port 2(bridge_slave_1) entered disabled state [ 39.624238] device bridge_slave_1 entered promiscuous mode [ 39.643673] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 39.653896] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 39.674773] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 39.683430] team0: Port device team_slave_0 added [ 39.690642] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 39.699543] team0: Port device team_slave_1 added [ 39.719200] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 39.726984] 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. [ 39.759668] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 39.773515] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 39.781098] 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. [ 39.806778] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 39.818279] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 39.826365] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 39.891491] device hsr_slave_0 entered promiscuous mode [ 39.948881] device hsr_slave_1 entered promiscuous mode [ 39.989411] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 39.997129] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 40.074631] bridge0: port 2(bridge_slave_1) entered blocking state [ 40.081334] bridge0: port 2(bridge_slave_1) entered forwarding state [ 40.089121] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.095564] bridge0: port 1(bridge_slave_0) entered forwarding state [ 40.129914] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 40.136314] 8021q: adding VLAN 0 to HW filter on device bond0 [ 40.147099] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 40.157368] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 40.166330] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.185569] bridge0: port 2(bridge_slave_1) entered disabled state [ 40.197098] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 40.203782] 8021q: adding VLAN 0 to HW filter on device team0 [ 40.214702] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 40.222913] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.229742] bridge0: port 1(bridge_slave_0) entered forwarding state [ 40.239633] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 40.247311] bridge0: port 2(bridge_slave_1) entered blocking state [ 40.253990] bridge0: port 2(bridge_slave_1) entered forwarding state [ 40.270348] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 40.278440] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 40.287851] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 40.299293] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 40.312528] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 40.323834] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 40.331567] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 40.339486] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 40.353283] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 40.361826] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 40.369960] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 40.382367] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 40.440060] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 40.451747] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 40.460116] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 40.492844] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 40.501047] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 40.508034] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 40.517699] IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready [ 40.524817] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 40.533324] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 40.543683] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 40.550948] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 40.560246] device veth0_vlan entered promiscuous mode [ 40.569774] device veth1_vlan entered promiscuous mode [ 40.575938] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 40.585892] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 40.600596] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 40.610417] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 40.617294] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 40.626288] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 40.634152] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 40.642445] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 40.652245] device veth0_macvtap entered promiscuous mode [ 40.659385] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 40.667760] device veth1_macvtap entered promiscuous mode [ 40.674352] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 40.682974] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 40.692922] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 40.705032] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 40.714486] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 40.722074] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 40.730005] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 40.737492] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 40.745735] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 40.756759] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 40.764790] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 40.772345] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 40.780899] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 42.283102] ================================================================== [ 42.291000] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 42.297576] Read of size 8 at addr ffff8880941f6698 by task syz-executor.0/6623 [ 42.305015] [ 42.306633] CPU: 0 PID: 6623 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0 [ 42.314410] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.324203] Call Trace: [ 42.326872] dump_stack+0x13e/0x194 [ 42.330852] ? __list_add_valid+0x93/0xa0 [ 42.335117] print_address_description.cold+0x7c/0x1e2 [ 42.342289] ? __list_add_valid+0x93/0xa0 [ 42.346544] kasan_report.cold+0xa9/0x2ae [ 42.350690] __list_add_valid+0x93/0xa0 [ 42.354974] rdma_listen+0x580/0x800 [ 42.358767] ucma_listen+0x10b/0x160 [ 42.362903] ? ucma_accept+0x2a0/0x2a0 [ 42.366939] ? _copy_from_user+0x94/0x100 [ 42.372142] ? ucma_accept+0x2a0/0x2a0 [ 42.376019] ucma_write+0x206/0x2c0 [ 42.379817] ? ucma_open+0x280/0x280 [ 42.384181] ? save_trace+0x290/0x290 [ 42.388591] __vfs_write+0xe4/0x630 [ 42.392298] ? ucma_open+0x280/0x280 [ 42.396009] ? kernel_read+0x110/0x110 [ 42.400226] ? __inode_security_revalidate+0xcf/0x120 [ 42.405504] ? avc_policy_seqno+0x5/0x10 [ 42.409569] ? selinux_file_permission+0x7a/0x440 [ 42.414437] ? security_file_permission+0x82/0x1e0 [ 42.420584] ? rw_verify_area+0xe1/0x2a0 [ 42.424924] vfs_write+0x192/0x4e0 [ 42.428596] SyS_write+0xf2/0x210 [ 42.432167] ? SyS_read+0x210/0x210 [ 42.435792] ? SyS_clock_settime+0x1a0/0x1a0 [ 42.440216] ? do_syscall_64+0x4c/0x640 [ 42.444435] ? SyS_read+0x210/0x210 [ 42.449726] do_syscall_64+0x1d5/0x640 [ 42.454495] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.460575] RIP: 0033:0x45c889 [ 42.465068] RSP: 002b:00007f69cae3bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.473471] RAX: ffffffffffffffda RBX: 00007f69cae3c6d4 RCX: 000000000045c889 [ 42.481413] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 42.489991] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 42.497320] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 42.504905] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 42.512490] [ 42.514331] Allocated by task 6616: [ 42.518797] save_stack+0x32/0xa0 [ 42.522617] kasan_kmalloc+0xbf/0xe0 [ 42.526356] kmem_cache_alloc_trace+0x14d/0x7b0 [ 42.531563] rdma_create_id+0x57/0x4c0 [ 42.535668] ucma_create_id+0x18b/0x500 [ 42.539737] ucma_write+0x206/0x2c0 [ 42.543556] __vfs_write+0xe4/0x630 [ 42.547460] vfs_write+0x192/0x4e0 [ 42.551092] SyS_write+0xf2/0x210 [ 42.555548] do_syscall_64+0x1d5/0x640 [ 42.559783] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.564956] [ 42.566808] Freed by task 6616: [ 42.570359] save_stack+0x32/0xa0 [ 42.574392] kasan_slab_free+0x75/0xc0 [ 42.579014] kfree+0xcb/0x260 [ 42.582267] ucma_close+0x105/0x300 [ 42.586240] __fput+0x25f/0x790 [ 42.589964] task_work_run+0x113/0x190 [ 42.594004] exit_to_usermode_loop+0x1d6/0x220 [ 42.599218] do_syscall_64+0x4a3/0x640 [ 42.604176] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.609395] [ 42.611026] The buggy address belongs to the object at ffff8880941f64c0 [ 42.611026] which belongs to the cache kmalloc-1024 of size 1024 [ 42.624210] The buggy address is located 472 bytes inside of [ 42.624210] 1024-byte region [ffff8880941f64c0, ffff8880941f68c0) [ 42.636163] The buggy address belongs to the page: [ 42.641339] page:ffffea0002507d80 count:1 mapcount:0 mapping:ffff8880941f6040 index:0x0 compound_mapcount: 0 [ 42.651417] flags: 0xfffe0000008100(slab|head) [ 42.656125] raw: 00fffe0000008100 ffff8880941f6040 0000000000000000 0000000100000007 [ 42.664021] raw: ffffea0002502a20 ffffea0002513e20 ffff88812fe56ac0 0000000000000000 [ 42.671901] page dumped because: kasan: bad access detected [ 42.677605] [ 42.679219] Memory state around the buggy address: [ 42.685114] ffff8880941f6580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.692712] ffff8880941f6600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.700096] >ffff8880941f6680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.710542] ^ [ 42.715614] ffff8880941f6700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.723113] ffff8880941f6780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.730552] ================================================================== [ 42.738543] Disabling lock debugging due to kernel taint [ 42.757543] Kernel panic - not syncing: panic_on_warn set ... [ 42.757543] [ 42.767430] CPU: 1 PID: 6623 Comm: syz-executor.0 Tainted: G B 4.14.176-syzkaller #0 [ 42.777021] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.787430] Call Trace: [ 42.790045] dump_stack+0x13e/0x194 [ 42.793758] panic+0x1f9/0x42d [ 42.797016] ? add_taint.cold+0x16/0x16 [ 42.801076] ? preempt_schedule_common+0x4a/0xc0 [ 42.806443] ? __list_add_valid+0x93/0xa0 [ 42.811221] ? ___preempt_schedule+0x16/0x18 [ 42.815878] ? __list_add_valid+0x93/0xa0 [ 42.820028] kasan_end_report+0x43/0x49 [ 42.824094] kasan_report.cold+0x12f/0x2ae [ 42.828567] __list_add_valid+0x93/0xa0 [ 42.832542] rdma_listen+0x580/0x800 [ 42.836244] ucma_listen+0x10b/0x160 [ 42.839952] ? ucma_accept+0x2a0/0x2a0 [ 42.844097] ? _copy_from_user+0x94/0x100 [ 42.848230] ? ucma_accept+0x2a0/0x2a0 [ 42.852252] ucma_write+0x206/0x2c0 [ 42.855880] ? ucma_open+0x280/0x280 [ 42.859744] ? save_trace+0x290/0x290 [ 42.863629] __vfs_write+0xe4/0x630 [ 42.867252] ? ucma_open+0x280/0x280 [ 42.871185] ? kernel_read+0x110/0x110 [ 42.875761] ? __inode_security_revalidate+0xcf/0x120 [ 42.880934] ? avc_policy_seqno+0x5/0x10 [ 42.885023] ? selinux_file_permission+0x7a/0x440 [ 42.890256] ? security_file_permission+0x82/0x1e0 [ 42.895728] ? rw_verify_area+0xe1/0x2a0 [ 42.899796] vfs_write+0x192/0x4e0 [ 42.903334] SyS_write+0xf2/0x210 [ 42.906873] ? SyS_read+0x210/0x210 [ 42.910958] ? SyS_clock_settime+0x1a0/0x1a0 [ 42.915742] ? do_syscall_64+0x4c/0x640 [ 42.919930] ? SyS_read+0x210/0x210 [ 42.923751] do_syscall_64+0x1d5/0x640 [ 42.927650] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.932825] RIP: 0033:0x45c889 [ 42.936009] RSP: 002b:00007f69cae3bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.943972] RAX: ffffffffffffffda RBX: 00007f69cae3c6d4 RCX: 000000000045c889 [ 42.951702] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 42.959248] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 42.966694] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 42.974411] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 42.983470] Kernel Offset: disabled [ 42.987376] Rebooting in 86400 seconds..