Warning: Permanently added '10.128.0.15' (ECDSA) to the list of known hosts. syzkaller login: [ 54.294699] kauditd_printk_skb: 5 callbacks suppressed [ 54.294713] audit: type=1400 audit(1585184383.950:36): avc: denied { map } for pid=8137 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/26 00:59:44 parsed 1 programs [ 55.763454] audit: type=1400 audit(1585184385.420:37): avc: denied { map } for pid=8137 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=100 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/26 00:59:45 executed programs: 0 [ 55.960613] IPVS: ftp: loaded support on port[0] = 21 [ 56.026023] chnl_net:caif_netlink_parms(): no params data found [ 56.078913] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.085457] bridge0: port 1(bridge_slave_0) entered disabled state [ 56.093310] device bridge_slave_0 entered promiscuous mode [ 56.100918] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.107310] bridge0: port 2(bridge_slave_1) entered disabled state [ 56.114706] device bridge_slave_1 entered promiscuous mode [ 56.131651] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 56.140839] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 56.157924] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 56.165815] team0: Port device team_slave_0 added [ 56.171734] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 56.179496] team0: Port device team_slave_1 added [ 56.195196] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 56.201504] 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. [ 56.227427] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 56.239641] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 56.245883] 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. [ 56.271140] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 56.282007] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 56.289700] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 56.340738] device hsr_slave_0 entered promiscuous mode [ 56.378521] device hsr_slave_1 entered promiscuous mode [ 56.419205] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 56.426364] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 56.477963] audit: type=1400 audit(1585184386.130:38): avc: denied { create } for pid=8154 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 [ 56.501156] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.502158] audit: type=1400 audit(1585184386.130:39): avc: denied { write } for pid=8154 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 [ 56.508306] bridge0: port 2(bridge_slave_1) entered forwarding state [ 56.532249] audit: type=1400 audit(1585184386.140:40): avc: denied { read } for pid=8154 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 [ 56.539124] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.569144] bridge0: port 1(bridge_slave_0) entered forwarding state [ 56.605526] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 56.612856] 8021q: adding VLAN 0 to HW filter on device bond0 [ 56.621727] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 56.630720] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 56.639719] bridge0: port 1(bridge_slave_0) entered disabled state [ 56.646829] bridge0: port 2(bridge_slave_1) entered disabled state [ 56.654450] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 56.665335] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 56.672095] 8021q: adding VLAN 0 to HW filter on device team0 [ 56.681526] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 56.689537] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.695889] bridge0: port 1(bridge_slave_0) entered forwarding state [ 56.705402] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 56.713365] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.719855] bridge0: port 2(bridge_slave_1) entered forwarding state [ 56.737472] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 56.745176] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 56.756523] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 56.767943] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 56.778632] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 56.787843] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 56.794430] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 56.808988] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 56.816398] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 56.823367] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 56.834611] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 56.848119] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 56.857845] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 56.897688] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 56.905390] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 56.912597] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 56.922449] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 56.930355] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 56.937180] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 56.947258] device veth0_vlan entered promiscuous mode [ 56.956791] device veth1_vlan entered promiscuous mode [ 56.963052] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 56.972043] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 56.984702] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 56.994317] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 57.002050] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 57.009903] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 57.020852] device veth0_macvtap entered promiscuous mode [ 57.029830] device veth1_macvtap entered promiscuous mode [ 57.038981] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 57.050056] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 57.059924] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 57.066963] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 57.073785] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 57.082850] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 57.093691] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 57.100635] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 57.107166] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 57.115206] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 57.222029] audit: type=1400 audit(1585184386.880:41): avc: denied { associate } for pid=8154 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 [ 57.519511] ================================================================== [ 57.526989] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 57.533497] Read of size 8 at addr ffff8880987187a0 by task syz-executor.0/8239 [ 57.540926] [ 57.542545] CPU: 1 PID: 8239 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 57.550318] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.559653] Call Trace: [ 57.562230] dump_stack+0x188/0x20d [ 57.565846] ? __list_add_valid+0x93/0xa0 [ 57.569987] print_address_description.cold+0x7c/0x212 [ 57.575250] ? __list_add_valid+0x93/0xa0 [ 57.579393] kasan_report.cold+0x88/0x2b9 [ 57.583530] __list_add_valid+0x93/0xa0 [ 57.587491] rdma_listen+0x609/0x880 [ 57.591192] ucma_listen+0x14d/0x1c0 [ 57.594890] ? ucma_notify+0x190/0x190 [ 57.598772] ? __might_fault+0x192/0x1d0 [ 57.602843] ? _copy_from_user+0xd2/0x140 [ 57.606977] ? ucma_notify+0x190/0x190 [ 57.610848] ucma_write+0x285/0x350 [ 57.614479] ? ucma_open+0x280/0x280 [ 57.618237] ? __fget+0x319/0x510 [ 57.621696] __vfs_write+0xf7/0x760 [ 57.625310] ? ucma_open+0x280/0x280 [ 57.629009] ? kernel_read+0x110/0x110 [ 57.632890] ? __inode_security_revalidate+0xd3/0x120 [ 57.638068] ? avc_policy_seqno+0x9/0x70 [ 57.642117] ? selinux_file_permission+0x87/0x520 [ 57.646951] ? security_file_permission+0x84/0x220 [ 57.651954] vfs_write+0x206/0x550 [ 57.655496] ksys_write+0x12b/0x2a0 [ 57.659113] ? __ia32_sys_read+0xb0/0xb0 [ 57.663203] ? __ia32_sys_clock_settime+0x260/0x260 [ 57.668210] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.672958] ? trace_hardirqs_off_caller+0x55/0x210 [ 57.677961] ? do_syscall_64+0x21/0x620 [ 57.681929] do_syscall_64+0xf9/0x620 [ 57.685718] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.690892] RIP: 0033:0x45c849 [ 57.694069] 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 [ 57.712958] RSP: 002b:00007fb025568c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.720651] RAX: ffffffffffffffda RBX: 00007fb0255696d4 RCX: 000000000045c849 [ 57.727904] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005 [ 57.735158] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 57.742524] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 57.749789] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 57.757054] [ 57.758663] Allocated by task 8233: [ 57.762279] kasan_kmalloc+0xbf/0xe0 [ 57.765973] kmem_cache_alloc_trace+0x14d/0x7a0 [ 57.770630] __rdma_create_id+0x5b/0x630 [ 57.774687] ucma_create_id+0x1cb/0x5a0 [ 57.778650] ucma_write+0x285/0x350 [ 57.782265] __vfs_write+0xf7/0x760 [ 57.785877] vfs_write+0x206/0x550 [ 57.789403] ksys_write+0x12b/0x2a0 [ 57.793088] do_syscall_64+0xf9/0x620 [ 57.796878] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.802056] [ 57.803667] Freed by task 8231: [ 57.806934] __kasan_slab_free+0xf7/0x140 [ 57.811074] kfree+0xce/0x220 [ 57.814171] ucma_close+0x10b/0x320 [ 57.817780] __fput+0x2cd/0x890 [ 57.821048] task_work_run+0x13f/0x1b0 [ 57.824922] exit_to_usermode_loop+0x25a/0x2b0 [ 57.829492] do_syscall_64+0x538/0x620 [ 57.833362] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.838539] [ 57.840162] The buggy address belongs to the object at ffff8880987185c0 [ 57.840162] which belongs to the cache kmalloc-2048 of size 2048 [ 57.852978] The buggy address is located 480 bytes inside of [ 57.852978] 2048-byte region [ffff8880987185c0, ffff888098718dc0) [ 57.864919] The buggy address belongs to the page: [ 57.869831] page:ffffea000261c600 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 57.879782] flags: 0xfffe0000008100(slab|head) [ 57.884372] raw: 00fffe0000008100 ffffea00021e7b08 ffffea0002a0c108 ffff88812c3dcc40 [ 57.892240] raw: 0000000000000000 ffff8880987185c0 0000000100000003 0000000000000000 [ 57.900105] page dumped because: kasan: bad access detected [ 57.905801] [ 57.907409] Memory state around the buggy address: [ 57.912320] ffff888098718680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.919674] ffff888098718700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.927026] >ffff888098718780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.934365] ^ [ 57.938756] ffff888098718800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.946110] ffff888098718880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.953446] ================================================================== [ 57.960782] Disabling lock debugging due to kernel taint [ 57.969393] Kernel panic - not syncing: panic_on_warn set ... [ 57.969393] [ 57.976777] CPU: 1 PID: 8239 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 57.985941] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.995274] Call Trace: [ 57.997850] dump_stack+0x188/0x20d [ 58.001468] panic+0x26a/0x50e [ 58.004660] ? __warn_printk+0xf3/0xf3 [ 58.008532] ? preempt_schedule_common+0x4a/0xc0 [ 58.013273] ? __list_add_valid+0x93/0xa0 [ 58.017404] ? ___preempt_schedule+0x16/0x18 [ 58.021794] ? trace_hardirqs_on+0x55/0x210 [ 58.031569] ? __list_add_valid+0x93/0xa0 [ 58.035702] kasan_end_report+0x43/0x49 [ 58.039661] kasan_report.cold+0xa4/0x2b9 [ 58.043792] __list_add_valid+0x93/0xa0 [ 58.047751] rdma_listen+0x609/0x880 [ 58.051449] ucma_listen+0x14d/0x1c0 [ 58.055148] ? ucma_notify+0x190/0x190 [ 58.059022] ? __might_fault+0x192/0x1d0 [ 58.063066] ? _copy_from_user+0xd2/0x140 [ 58.067223] ? ucma_notify+0x190/0x190 [ 58.071093] ucma_write+0x285/0x350 [ 58.074704] ? ucma_open+0x280/0x280 [ 58.078411] ? __fget+0x319/0x510 [ 58.081879] __vfs_write+0xf7/0x760 [ 58.085489] ? ucma_open+0x280/0x280 [ 58.089225] ? kernel_read+0x110/0x110 [ 58.093115] ? __inode_security_revalidate+0xd3/0x120 [ 58.098305] ? avc_policy_seqno+0x9/0x70 [ 58.102364] ? selinux_file_permission+0x87/0x520 [ 58.107190] ? security_file_permission+0x84/0x220 [ 58.112111] vfs_write+0x206/0x550 [ 58.115641] ksys_write+0x12b/0x2a0 [ 58.119257] ? __ia32_sys_read+0xb0/0xb0 [ 58.123310] ? __ia32_sys_clock_settime+0x260/0x260 [ 58.128312] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 58.133056] ? trace_hardirqs_off_caller+0x55/0x210 [ 58.138056] ? do_syscall_64+0x21/0x620 [ 58.142014] do_syscall_64+0xf9/0x620 [ 58.145800] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.150983] RIP: 0033:0x45c849 [ 58.154163] 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 [ 58.173052] RSP: 002b:00007fb025568c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.181533] RAX: ffffffffffffffda RBX: 00007fb0255696d4 RCX: 000000000045c849 [ 58.188814] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005 [ 58.196119] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 58.203375] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 58.210629] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 58.219068] Kernel Offset: disabled [ 58.222692] Rebooting in 86400 seconds..