Starting Update UTMP about System Runlevel Changes... [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.55' (ECDSA) to the list of known hosts. 2020/04/02 20:39:08 parsed 1 programs 2020/04/02 20:39:10 executed programs: 0 syzkaller login: [ 42.027078] audit: type=1400 audit(1585859950.413:8): avc: denied { execmem } for pid=6460 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 42.056932] IPVS: ftp: loaded support on port[0] = 21 [ 42.143174] chnl_net:caif_netlink_parms(): no params data found [ 42.255294] bridge0: port 1(bridge_slave_0) entered blocking state [ 42.261979] bridge0: port 1(bridge_slave_0) entered disabled state [ 42.269049] device bridge_slave_0 entered promiscuous mode [ 42.277061] bridge0: port 2(bridge_slave_1) entered blocking state [ 42.284219] bridge0: port 2(bridge_slave_1) entered disabled state [ 42.291240] device bridge_slave_1 entered promiscuous mode [ 42.309031] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 42.318036] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 42.336674] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 42.344555] team0: Port device team_slave_0 added [ 42.350000] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 42.357635] team0: Port device team_slave_1 added [ 42.373894] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 42.380126] 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. [ 42.405555] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 42.417085] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 42.423377] 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. [ 42.448629] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 42.459704] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.467378] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.534369] device hsr_slave_0 entered promiscuous mode [ 42.591929] device hsr_slave_1 entered promiscuous mode [ 42.632289] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 42.639308] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 42.710549] bridge0: port 2(bridge_slave_1) entered blocking state [ 42.716991] bridge0: port 2(bridge_slave_1) entered forwarding state [ 42.723885] bridge0: port 1(bridge_slave_0) entered blocking state [ 42.730345] bridge0: port 1(bridge_slave_0) entered forwarding state [ 42.765833] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 42.772305] 8021q: adding VLAN 0 to HW filter on device bond0 [ 42.780254] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 42.789356] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 42.797996] bridge0: port 1(bridge_slave_0) entered disabled state [ 42.816397] bridge0: port 2(bridge_slave_1) entered disabled state [ 42.824215] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 42.835118] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 42.841178] 8021q: adding VLAN 0 to HW filter on device team0 [ 42.850977] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.858945] bridge0: port 1(bridge_slave_0) entered blocking state [ 42.865339] bridge0: port 1(bridge_slave_0) entered forwarding state [ 42.882007] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.889617] bridge0: port 2(bridge_slave_1) entered blocking state [ 42.896004] bridge0: port 2(bridge_slave_1) entered forwarding state [ 42.904388] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.913631] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 42.922640] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.936062] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 42.946225] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 42.957600] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 42.965185] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 42.973808] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 42.982406] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 42.996014] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 43.003534] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 43.010175] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 43.021374] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 43.035475] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 43.044985] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 43.080874] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 43.088676] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 43.096204] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 43.105399] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 43.113254] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 43.120060] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 43.129632] device veth0_vlan entered promiscuous mode [ 43.138878] device veth1_vlan entered promiscuous mode [ 43.153902] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 43.164443] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 43.171249] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 43.180192] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 43.189746] device veth0_macvtap entered promiscuous mode [ 43.198042] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 43.206724] device veth1_macvtap entered promiscuous mode [ 43.214349] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 43.223471] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 43.233530] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 43.243915] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 43.250915] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 43.258920] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 43.266772] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 43.274266] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 43.282327] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 43.293043] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 43.299911] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 43.314055] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 43.324716] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 43.754898] ================================================================== [ 43.762409] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 43.768884] Read of size 8 at addr ffff888086cdd6a0 by task syz-executor.0/6751 [ 43.776309] [ 43.777923] CPU: 0 PID: 6751 Comm: syz-executor.0 Not tainted 4.19.114-syzkaller #0 [ 43.785704] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.795040] Call Trace: [ 43.797615] dump_stack+0x188/0x20d [ 43.801243] ? __list_add_valid+0x93/0xa0 [ 43.805386] print_address_description.cold+0x7c/0x212 [ 43.810656] ? __list_add_valid+0x93/0xa0 [ 43.814791] kasan_report.cold+0x88/0x2b9 [ 43.818924] __list_add_valid+0x93/0xa0 [ 43.822888] rdma_listen+0x609/0x880 [ 43.826587] ucma_listen+0x14d/0x1c0 [ 43.830281] ? ucma_notify+0x190/0x190 [ 43.834150] ? __might_fault+0x192/0x1d0 [ 43.838199] ? _copy_from_user+0xd2/0x140 [ 43.842333] ? ucma_notify+0x190/0x190 [ 43.846307] ucma_write+0x285/0x350 [ 43.849916] ? ucma_open+0x280/0x280 [ 43.853614] ? __fget+0x319/0x510 [ 43.857066] __vfs_write+0xf7/0x760 [ 43.860688] ? ucma_open+0x280/0x280 [ 43.864395] ? kernel_read+0x110/0x110 [ 43.868311] ? __inode_security_revalidate+0xd3/0x120 [ 43.873496] ? avc_policy_seqno+0x9/0x70 [ 43.877543] ? selinux_file_permission+0x87/0x520 [ 43.882410] ? security_file_permission+0x84/0x220 [ 43.887328] vfs_write+0x206/0x550 [ 43.890853] ksys_write+0x12b/0x2a0 [ 43.894464] ? __ia32_sys_read+0xb0/0xb0 [ 43.898507] ? __ia32_sys_clock_settime+0x260/0x260 [ 43.903515] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.908255] ? trace_hardirqs_off_caller+0x55/0x210 [ 43.913256] ? do_syscall_64+0x21/0x620 [ 43.917214] do_syscall_64+0xf9/0x620 [ 43.921012] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.926188] RIP: 0033:0x45c849 [ 43.929365] Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 43.948256] RSP: 002b:00007f7a0894ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 43.955954] RAX: ffffffffffffffda RBX: 00007f7a0894f6d4 RCX: 000000000045c849 [ 43.963209] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 43.970516] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 43.977779] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 43.985036] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 43.992296] [ 43.993906] Allocated by task 6743: [ 43.997528] kasan_kmalloc+0xbf/0xe0 [ 44.001227] kmem_cache_alloc_trace+0x14d/0x7a0 [ 44.005924] __rdma_create_id+0x5b/0x630 [ 44.009979] ucma_create_id+0x1cb/0x5a0 [ 44.013953] ucma_write+0x285/0x350 [ 44.017560] __vfs_write+0xf7/0x760 [ 44.021166] vfs_write+0x206/0x550 [ 44.024688] ksys_write+0x12b/0x2a0 [ 44.028308] do_syscall_64+0xf9/0x620 [ 44.032120] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.037286] [ 44.038904] Freed by task 6742: [ 44.042173] __kasan_slab_free+0xf7/0x140 [ 44.046302] kfree+0xce/0x220 [ 44.049431] ucma_close+0x10b/0x320 [ 44.053044] __fput+0x2cd/0x890 [ 44.056346] task_work_run+0x13f/0x1b0 [ 44.060215] exit_to_usermode_loop+0x25a/0x2b0 [ 44.064783] do_syscall_64+0x538/0x620 [ 44.068654] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.073831] [ 44.075456] The buggy address belongs to the object at ffff888086cdd4c0 [ 44.075456] which belongs to the cache kmalloc-2048 of size 2048 [ 44.088267] The buggy address is located 480 bytes inside of [ 44.088267] 2048-byte region [ffff888086cdd4c0, ffff888086cddcc0) [ 44.100208] The buggy address belongs to the page: [ 44.105120] page:ffffea00021b3700 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 44.115075] flags: 0xfffe0000008100(slab|head) [ 44.119675] raw: 00fffe0000008100 ffffea00027e0288 ffffea0002800388 ffff88812c3dcc40 [ 44.127540] raw: 0000000000000000 ffff888086cdc3c0 0000000100000003 0000000000000000 [ 44.135397] page dumped because: kasan: bad access detected [ 44.141090] [ 44.142753] Memory state around the buggy address: [ 44.147665] ffff888086cdd580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.155004] ffff888086cdd600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.162344] >ffff888086cdd680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.169714] ^ [ 44.174111] ffff888086cdd700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.181548] ffff888086cdd780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.188886] ================================================================== [ 44.196235] Disabling lock debugging due to kernel taint [ 44.206472] Kernel panic - not syncing: panic_on_warn set ... [ 44.206472] [ 44.213860] CPU: 0 PID: 6751 Comm: syz-executor.0 Tainted: G B 4.19.114-syzkaller #0 [ 44.223039] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.232388] Call Trace: [ 44.234988] dump_stack+0x188/0x20d [ 44.238627] panic+0x26a/0x50e [ 44.241821] ? __warn_printk+0xf3/0xf3 [ 44.245708] ? preempt_schedule_common+0x4a/0xc0 [ 44.250450] ? __list_add_valid+0x93/0xa0 [ 44.254581] ? ___preempt_schedule+0x16/0x18 [ 44.258971] ? trace_hardirqs_on+0x55/0x210 [ 44.263278] ? __list_add_valid+0x93/0xa0 [ 44.267408] kasan_end_report+0x43/0x49 [ 44.271365] kasan_report.cold+0xa4/0x2b9 [ 44.275498] __list_add_valid+0x93/0xa0 [ 44.279495] rdma_listen+0x609/0x880 [ 44.283193] ucma_listen+0x14d/0x1c0 [ 44.286889] ? ucma_notify+0x190/0x190 [ 44.290771] ? __might_fault+0x192/0x1d0 [ 44.294828] ? _copy_from_user+0xd2/0x140 [ 44.298965] ? ucma_notify+0x190/0x190 [ 44.302846] ucma_write+0x285/0x350 [ 44.306472] ? ucma_open+0x280/0x280 [ 44.310178] ? __fget+0x319/0x510 [ 44.313614] __vfs_write+0xf7/0x760 [ 44.317222] ? ucma_open+0x280/0x280 [ 44.320919] ? kernel_read+0x110/0x110 [ 44.324794] ? __inode_security_revalidate+0xd3/0x120 [ 44.329965] ? avc_policy_seqno+0x9/0x70 [ 44.334012] ? selinux_file_permission+0x87/0x520 [ 44.338836] ? security_file_permission+0x84/0x220 [ 44.343748] vfs_write+0x206/0x550 [ 44.347271] ksys_write+0x12b/0x2a0 [ 44.350888] ? __ia32_sys_read+0xb0/0xb0 [ 44.354947] ? __ia32_sys_clock_settime+0x260/0x260 [ 44.360331] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 44.365076] ? trace_hardirqs_off_caller+0x55/0x210 [ 44.370077] ? do_syscall_64+0x21/0x620 [ 44.374037] do_syscall_64+0xf9/0x620 [ 44.377832] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 44.383008] RIP: 0033:0x45c849 [ 44.386185] Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 44.405155] RSP: 002b:00007f7a0894ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 44.412853] RAX: ffffffffffffffda RBX: 00007f7a0894f6d4 RCX: 000000000045c849 [ 44.420109] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 44.427399] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 44.434664] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 44.441918] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 44.450497] Kernel Offset: disabled [ 44.454124] Rebooting in 86400 seconds..