[ 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.0.74' (ECDSA) to the list of known hosts. 2020/04/18 06:00:30 parsed 1 programs 2020/04/18 06:00:32 executed programs: 0 syzkaller login: [ 37.292503] audit: type=1400 audit(1587189632.181:8): avc: denied { execmem } for pid=6342 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.584273] IPVS: ftp: loaded support on port[0] = 21 [ 38.413853] chnl_net:caif_netlink_parms(): no params data found [ 38.500285] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.508159] bridge0: port 1(bridge_slave_0) entered disabled state [ 38.516014] device bridge_slave_0 entered promiscuous mode [ 38.523743] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.530542] bridge0: port 2(bridge_slave_1) entered disabled state [ 38.537979] device bridge_slave_1 entered promiscuous mode [ 38.556320] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 38.565236] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 38.584655] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 38.592373] team0: Port device team_slave_0 added [ 38.598986] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 38.606551] team0: Port device team_slave_1 added [ 38.623611] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 38.630415] 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.657101] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 38.668888] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 38.675903] 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.702651] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 38.713685] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 38.721230] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 38.795426] device hsr_slave_0 entered promiscuous mode [ 38.833599] device hsr_slave_1 entered promiscuous mode [ 38.883075] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 38.890869] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 38.961582] bridge0: port 2(bridge_slave_1) entered blocking state [ 38.968676] bridge0: port 2(bridge_slave_1) entered forwarding state [ 38.975721] bridge0: port 1(bridge_slave_0) entered blocking state [ 38.982433] bridge0: port 1(bridge_slave_0) entered forwarding state [ 39.018689] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 39.026047] 8021q: adding VLAN 0 to HW filter on device bond0 [ 39.036175] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 39.048101] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 39.068884] bridge0: port 1(bridge_slave_0) entered disabled state [ 39.077127] bridge0: port 2(bridge_slave_1) entered disabled state [ 39.089967] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 39.101391] 8021q: adding VLAN 0 to HW filter on device team0 [ 39.110177] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 39.118831] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.126270] bridge0: port 1(bridge_slave_0) entered forwarding state [ 39.137332] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 39.147867] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.154936] bridge0: port 2(bridge_slave_1) entered forwarding state [ 39.173201] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 39.181176] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 39.190267] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 39.199917] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 39.211745] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 39.222696] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 39.228965] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 39.238151] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 39.251254] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 39.259839] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 39.267549] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 39.278984] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 39.337140] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 39.347550] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 39.383143] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 39.390398] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 39.397430] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 39.403901] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 39.415933] IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready [ 39.422778] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 39.430379] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 39.439477] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 39.447035] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 39.456428] device veth0_vlan entered promiscuous mode [ 39.466953] device veth1_vlan entered promiscuous mode [ 39.473939] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 39.484230] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 39.496637] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 39.505616] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 39.512944] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 39.520118] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 39.527574] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 39.535712] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 39.546450] device veth0_macvtap entered promiscuous mode [ 39.553759] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 39.563536] device veth1_macvtap entered promiscuous mode [ 39.569709] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 39.579145] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 39.589146] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 39.598736] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 39.606199] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 39.613338] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 39.620640] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 39.628171] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 39.636611] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 39.647811] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 39.655902] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 39.663348] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 39.671258] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 41.108216] ================================================================== [ 41.115772] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 41.122362] Read of size 8 at addr ffff888095206ad8 by task syz-executor.0/6599 [ 41.130007] [ 41.132601] CPU: 1 PID: 6599 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0 [ 41.140626] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.151439] Call Trace: [ 41.154112] dump_stack+0x13e/0x194 [ 41.157854] ? __list_add_valid+0x93/0xa0 [ 41.162207] print_address_description.cold+0x7c/0x1e2 [ 41.167567] ? __list_add_valid+0x93/0xa0 [ 41.171788] kasan_report.cold+0xa9/0x2ae [ 41.176159] __list_add_valid+0x93/0xa0 [ 41.180129] rdma_listen+0x580/0x800 [ 41.183933] ucma_listen+0x10b/0x160 [ 41.187681] ? ucma_accept+0x2a0/0x2a0 [ 41.191598] ? _copy_from_user+0x94/0x100 [ 41.196025] ? ucma_accept+0x2a0/0x2a0 [ 41.199927] ucma_write+0x206/0x2c0 [ 41.203554] ? ucma_open+0x280/0x280 [ 41.207256] ? save_trace+0x290/0x290 [ 41.211298] __vfs_write+0xe4/0x630 [ 41.214923] ? ucma_open+0x280/0x280 [ 41.218688] ? kernel_read+0x110/0x110 [ 41.222708] ? __inode_security_revalidate+0xcf/0x120 [ 41.227899] ? avc_policy_seqno+0x5/0x10 [ 41.231956] ? selinux_file_permission+0x7a/0x440 [ 41.236798] ? security_file_permission+0x82/0x1e0 [ 41.242368] ? rw_verify_area+0xe1/0x2a0 [ 41.246420] vfs_write+0x192/0x4e0 [ 41.249971] SyS_write+0xf2/0x210 [ 41.253516] ? SyS_read+0x210/0x210 [ 41.257142] ? SyS_clock_settime+0x1a0/0x1a0 [ 41.261540] ? do_syscall_64+0x4c/0x640 [ 41.265499] ? SyS_read+0x210/0x210 [ 41.269133] do_syscall_64+0x1d5/0x640 [ 41.273439] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.279027] RIP: 0033:0x45c889 [ 41.282215] RSP: 002b:00007fedc5fb7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 41.290358] RAX: ffffffffffffffda RBX: 00007fedc5fb86d4 RCX: 000000000045c889 [ 41.297701] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 41.304966] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 41.314138] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 41.321400] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 41.328948] [ 41.330576] Allocated by task 6591: [ 41.334302] save_stack+0x32/0xa0 [ 41.337741] kasan_kmalloc+0xbf/0xe0 [ 41.341441] kmem_cache_alloc_trace+0x14d/0x7b0 [ 41.346190] rdma_create_id+0x57/0x4c0 [ 41.350071] ucma_create_id+0x18b/0x500 [ 41.354400] ucma_write+0x206/0x2c0 [ 41.359116] __vfs_write+0xe4/0x630 [ 41.363050] vfs_write+0x192/0x4e0 [ 41.366906] SyS_write+0xf2/0x210 [ 41.370348] do_syscall_64+0x1d5/0x640 [ 41.374320] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.379506] [ 41.381148] Freed by task 6591: [ 41.384423] save_stack+0x32/0xa0 [ 41.387862] kasan_slab_free+0x75/0xc0 [ 41.391830] kfree+0xcb/0x260 [ 41.395172] ucma_close+0x105/0x300 [ 41.398999] __fput+0x25f/0x790 [ 41.403986] task_work_run+0x113/0x190 [ 41.407971] exit_to_usermode_loop+0x1d6/0x220 [ 41.412545] do_syscall_64+0x4a3/0x640 [ 41.416621] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.422677] [ 41.424293] The buggy address belongs to the object at ffff888095206900 [ 41.424293] which belongs to the cache kmalloc-1024 of size 1024 [ 41.437154] The buggy address is located 472 bytes inside of [ 41.437154] 1024-byte region [ffff888095206900, ffff888095206d00) [ 41.449291] The buggy address belongs to the page: [ 41.454278] page:ffffea0002548180 count:1 mapcount:0 mapping:ffff888095206000 index:0x0 compound_mapcount: 0 [ 41.464240] flags: 0xfffe0000008100(slab|head) [ 41.468809] raw: 00fffe0000008100 ffff888095206000 0000000000000000 0000000100000007 [ 41.476689] raw: ffffea0002553da0 ffffea000255cfa0 ffff88812fe56ac0 0000000000000000 [ 41.484655] page dumped because: kasan: bad access detected [ 41.490353] [ 41.491963] Memory state around the buggy address: [ 41.496878] ffff888095206980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.504448] ffff888095206a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.511887] >ffff888095206a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.519237] ^ [ 41.525480] ffff888095206b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.532878] ffff888095206b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.540331] ================================================================== [ 41.547866] Disabling lock debugging due to kernel taint [ 41.557562] Kernel panic - not syncing: panic_on_warn set ... [ 41.557562] [ 41.565511] CPU: 1 PID: 6599 Comm: syz-executor.0 Tainted: G B 4.14.176-syzkaller #0 [ 41.574521] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.584201] Call Trace: [ 41.586789] dump_stack+0x13e/0x194 [ 41.590528] panic+0x1f9/0x42d [ 41.594046] ? add_taint.cold+0x16/0x16 [ 41.598007] ? preempt_schedule_common+0x4a/0xc0 [ 41.602836] ? __list_add_valid+0x93/0xa0 [ 41.606990] ? ___preempt_schedule+0x16/0x18 [ 41.611417] ? __list_add_valid+0x93/0xa0 [ 41.615554] kasan_end_report+0x43/0x49 [ 41.619515] kasan_report.cold+0x12f/0x2ae [ 41.623735] __list_add_valid+0x93/0xa0 [ 41.627756] rdma_listen+0x580/0x800 [ 41.631466] ucma_listen+0x10b/0x160 [ 41.635163] ? ucma_accept+0x2a0/0x2a0 [ 41.639142] ? _copy_from_user+0x94/0x100 [ 41.643287] ? ucma_accept+0x2a0/0x2a0 [ 41.647163] ucma_write+0x206/0x2c0 [ 41.650809] ? ucma_open+0x280/0x280 [ 41.654529] ? save_trace+0x290/0x290 [ 41.658350] __vfs_write+0xe4/0x630 [ 41.661963] ? ucma_open+0x280/0x280 [ 41.665689] ? kernel_read+0x110/0x110 [ 41.669564] ? __inode_security_revalidate+0xcf/0x120 [ 41.674739] ? avc_policy_seqno+0x5/0x10 [ 41.678882] ? selinux_file_permission+0x7a/0x440 [ 41.683732] ? security_file_permission+0x82/0x1e0 [ 41.688653] ? rw_verify_area+0xe1/0x2a0 [ 41.692727] vfs_write+0x192/0x4e0 [ 41.696391] SyS_write+0xf2/0x210 [ 41.699825] ? SyS_read+0x210/0x210 [ 41.703436] ? SyS_clock_settime+0x1a0/0x1a0 [ 41.707862] ? do_syscall_64+0x4c/0x640 [ 41.711891] ? SyS_read+0x210/0x210 [ 41.715512] do_syscall_64+0x1d5/0x640 [ 41.722678] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.728033] RIP: 0033:0x45c889 [ 41.731306] RSP: 002b:00007fedc5fb7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 41.739427] RAX: ffffffffffffffda RBX: 00007fedc5fb86d4 RCX: 000000000045c889 [ 41.746687] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 41.754048] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 41.761301] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 41.770221] R13: 0000000000000cc2 R14: 00000000004ceeb6 R15: 000000000076bf0c [ 41.778722] Kernel Offset: disabled [ 41.782352] Rebooting in 86400 seconds..