Warning: Permanently added '10.128.10.46' (ECDSA) to the list of known hosts. syzkaller login: [ 59.164843] kauditd_printk_skb: 2 callbacks suppressed [ 59.164858] audit: type=1400 audit(1585525132.803:36): avc: denied { map } for pid=8147 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2020/03/29 23:38:52 parsed 1 programs [ 60.177279] audit: type=1400 audit(1585525133.813:37): avc: denied { map } for pid=8147 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=17152 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 2020/03/29 23:38:53 executed programs: 0 [ 60.369694] IPVS: ftp: loaded support on port[0] = 21 [ 60.434178] chnl_net:caif_netlink_parms(): no params data found [ 60.485282] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.492281] bridge0: port 1(bridge_slave_0) entered disabled state [ 60.499828] device bridge_slave_0 entered promiscuous mode [ 60.507274] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.514041] bridge0: port 2(bridge_slave_1) entered disabled state [ 60.521248] device bridge_slave_1 entered promiscuous mode [ 60.538958] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 60.548286] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 60.566360] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 60.573874] team0: Port device team_slave_0 added [ 60.580415] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 60.587723] team0: Port device team_slave_1 added [ 60.602341] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 60.608679] 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. [ 60.633912] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 60.645609] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 60.651929] 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. [ 60.677270] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 60.688667] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 60.696226] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 60.751150] device hsr_slave_0 entered promiscuous mode [ 60.789642] device hsr_slave_1 entered promiscuous mode [ 60.829695] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 60.836931] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 60.891817] audit: type=1400 audit(1585525134.533:38): avc: denied { create } for pid=8164 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 60.914185] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.916877] audit: type=1400 audit(1585525134.533:39): avc: denied { write } for pid=8164 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 60.922172] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.946794] audit: type=1400 audit(1585525134.543:40): avc: denied { read } for pid=8164 comm="syz-executor.0" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 60.952957] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.982753] bridge0: port 1(bridge_slave_0) entered forwarding state [ 61.022578] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 61.029169] 8021q: adding VLAN 0 to HW filter on device bond0 [ 61.037639] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 61.047407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 61.066393] bridge0: port 1(bridge_slave_0) entered disabled state [ 61.073987] bridge0: port 2(bridge_slave_1) entered disabled state [ 61.082147] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 61.093877] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 61.100130] 8021q: adding VLAN 0 to HW filter on device team0 [ 61.110109] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 61.118129] bridge0: port 1(bridge_slave_0) entered blocking state [ 61.124623] bridge0: port 1(bridge_slave_0) entered forwarding state [ 61.135471] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 61.144262] bridge0: port 2(bridge_slave_1) entered blocking state [ 61.150682] bridge0: port 2(bridge_slave_1) entered forwarding state [ 61.169729] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 61.178081] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 61.186812] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 61.198755] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 61.210195] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 61.222513] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 61.228816] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 61.236262] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 61.252030] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 61.262085] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 61.270483] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 61.283004] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 61.296015] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 61.306795] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 61.345350] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 61.352978] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 61.360075] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 61.370797] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 61.378911] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 61.386393] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 61.395480] device veth0_vlan entered promiscuous mode [ 61.405398] device veth1_vlan entered promiscuous mode [ 61.411937] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 61.421959] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 61.435569] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 61.443593] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 61.451403] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 61.462942] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 61.472451] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 61.480852] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 61.489974] device veth0_macvtap entered promiscuous mode [ 61.496182] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 61.506686] device veth1_macvtap entered promiscuous mode [ 61.513401] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 61.522710] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 61.532435] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 61.542499] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 61.549978] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 61.556924] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 61.564576] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 61.572147] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 61.580107] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 61.591120] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 61.598016] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 61.605118] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 61.613193] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 61.729636] audit: type=1400 audit(1585525135.373:41): avc: denied { associate } for pid=8164 comm="syz-executor.0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 [ 61.960001] ================================================================== [ 61.967756] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 61.974283] Read of size 8 at addr ffff88809763f760 by task syz-executor.0/8233 [ 61.981726] [ 61.983344] CPU: 0 PID: 8233 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 61.991141] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.000595] Call Trace: [ 62.003178] dump_stack+0x188/0x20d [ 62.006812] ? __list_add_valid+0x93/0xa0 [ 62.010969] print_address_description.cold+0x7c/0x212 [ 62.016239] ? __list_add_valid+0x93/0xa0 [ 62.020378] kasan_report.cold+0x88/0x2b9 [ 62.024520] __list_add_valid+0x93/0xa0 [ 62.028501] rdma_listen+0x609/0x880 [ 62.032211] ucma_listen+0x14d/0x1c0 [ 62.035929] ? ucma_notify+0x190/0x190 [ 62.039805] ? __might_fault+0x192/0x1d0 [ 62.043921] ? _copy_from_user+0xd2/0x140 [ 62.048069] ? ucma_notify+0x190/0x190 [ 62.052013] ucma_write+0x285/0x350 [ 62.055650] ? ucma_open+0x280/0x280 [ 62.059352] ? __fget+0x319/0x510 [ 62.062801] __vfs_write+0xf7/0x760 [ 62.066424] ? ucma_open+0x280/0x280 [ 62.070134] ? kernel_read+0x110/0x110 [ 62.074012] ? __inode_security_revalidate+0xd3/0x120 [ 62.079237] ? avc_policy_seqno+0x9/0x70 [ 62.083299] ? selinux_file_permission+0x87/0x520 [ 62.088160] ? security_file_permission+0x84/0x220 [ 62.093089] vfs_write+0x206/0x550 [ 62.096625] ksys_write+0x12b/0x2a0 [ 62.100275] ? __ia32_sys_read+0xb0/0xb0 [ 62.104325] ? __ia32_sys_clock_settime+0x260/0x260 [ 62.109473] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 62.114218] ? trace_hardirqs_off_caller+0x55/0x210 [ 62.119229] ? do_syscall_64+0x21/0x620 [ 62.123208] do_syscall_64+0xf9/0x620 [ 62.127005] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 62.132183] RIP: 0033:0x45c849 [ 62.135362] 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 [ 62.154255] RSP: 002b:00007fea23973c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.161968] RAX: ffffffffffffffda RBX: 00007fea239746d4 RCX: 000000000045c849 [ 62.169290] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005 [ 62.176566] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 62.183837] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 62.191112] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 62.198406] [ 62.200018] Allocated by task 8226: [ 62.203651] kasan_kmalloc+0xbf/0xe0 [ 62.207351] kmem_cache_alloc_trace+0x14d/0x7a0 [ 62.212012] __rdma_create_id+0x5b/0x630 [ 62.216066] ucma_create_id+0x1cb/0x5a0 [ 62.220024] ucma_write+0x285/0x350 [ 62.223635] __vfs_write+0xf7/0x760 [ 62.227436] vfs_write+0x206/0x550 [ 62.230960] ksys_write+0x12b/0x2a0 [ 62.234577] do_syscall_64+0xf9/0x620 [ 62.238362] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 62.243538] [ 62.245149] Freed by task 8228: [ 62.248765] __kasan_slab_free+0xf7/0x140 [ 62.252898] kfree+0xce/0x220 [ 62.256005] ucma_close+0x10b/0x320 [ 62.259616] __fput+0x2cd/0x890 [ 62.262892] task_work_run+0x13f/0x1b0 [ 62.266766] get_signal+0x1b83/0x1f90 [ 62.270909] do_signal+0x8f/0x1710 [ 62.274433] exit_to_usermode_loop+0x22b/0x2b0 [ 62.279007] do_syscall_64+0x538/0x620 [ 62.282883] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 62.288140] [ 62.289757] The buggy address belongs to the object at ffff88809763f580 [ 62.289757] which belongs to the cache kmalloc-2048 of size 2048 [ 62.302574] The buggy address is located 480 bytes inside of [ 62.302574] 2048-byte region [ffff88809763f580, ffff88809763fd80) [ 62.314534] The buggy address belongs to the page: [ 62.319467] page:ffffea00025d8f80 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 62.329423] flags: 0xfffe0000008100(slab|head) [ 62.333996] raw: 00fffe0000008100 ffffea00025f0808 ffffea0002591088 ffff88812c3dcc40 [ 62.345688] raw: 0000000000000000 ffff88809763e480 0000000100000003 0000000000000000 [ 62.353552] page dumped because: kasan: bad access detected [ 62.359245] [ 62.360872] Memory state around the buggy address: [ 62.365795] ffff88809763f600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.373152] ffff88809763f680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.380686] >ffff88809763f700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.388187] ^ [ 62.394666] ffff88809763f780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.402028] ffff88809763f800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.409409] ================================================================== [ 62.416763] Disabling lock debugging due to kernel taint [ 62.426226] Kernel panic - not syncing: panic_on_warn set ... [ 62.426226] [ 62.433789] CPU: 1 PID: 8233 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 62.443714] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.453209] Call Trace: [ 62.455843] dump_stack+0x188/0x20d [ 62.459458] panic+0x26a/0x50e [ 62.462638] ? __warn_printk+0xf3/0xf3 [ 62.466512] ? preempt_schedule_common+0x4a/0xc0 [ 62.471270] ? __list_add_valid+0x93/0xa0 [ 62.475407] ? ___preempt_schedule+0x16/0x18 [ 62.479805] ? trace_hardirqs_on+0x55/0x210 [ 62.484115] ? __list_add_valid+0x93/0xa0 [ 62.488252] kasan_end_report+0x43/0x49 [ 62.492210] kasan_report.cold+0xa4/0x2b9 [ 62.496363] __list_add_valid+0x93/0xa0 [ 62.500340] rdma_listen+0x609/0x880 [ 62.504037] ucma_listen+0x14d/0x1c0 [ 62.507733] ? ucma_notify+0x190/0x190 [ 62.511621] ? __might_fault+0x192/0x1d0 [ 62.515689] ? _copy_from_user+0xd2/0x140 [ 62.519833] ? ucma_notify+0x190/0x190 [ 62.523749] ucma_write+0x285/0x350 [ 62.527381] ? ucma_open+0x280/0x280 [ 62.531091] ? __fget+0x319/0x510 [ 62.534533] __vfs_write+0xf7/0x760 [ 62.538155] ? ucma_open+0x280/0x280 [ 62.541873] ? kernel_read+0x110/0x110 [ 62.545800] ? __inode_security_revalidate+0xd3/0x120 [ 62.550981] ? avc_policy_seqno+0x9/0x70 [ 62.555046] ? selinux_file_permission+0x87/0x520 [ 62.560250] ? security_file_permission+0x84/0x220 [ 62.565168] vfs_write+0x206/0x550 [ 62.570130] ksys_write+0x12b/0x2a0 [ 62.573776] ? __ia32_sys_read+0xb0/0xb0 [ 62.577837] ? __ia32_sys_clock_settime+0x260/0x260 [ 62.582860] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 62.587620] ? trace_hardirqs_off_caller+0x55/0x210 [ 62.592627] ? do_syscall_64+0x21/0x620 [ 62.596598] do_syscall_64+0xf9/0x620 [ 62.600498] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 62.605697] RIP: 0033:0x45c849 [ 62.608890] 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 [ 62.629168] RSP: 002b:00007fea23973c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.636876] RAX: ffffffffffffffda RBX: 00007fea239746d4 RCX: 000000000045c849 [ 62.644135] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005 [ 62.651457] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 62.658732] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 62.666004] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 62.675424] Kernel Offset: disabled [ 62.679099] Rebooting in 86400 seconds..