[ 44.091809] audit: type=1800 audit(1585201621.946:32): pid=7799 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2450 res=0 Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 48.150585] kauditd_printk_skb: 2 callbacks suppressed [ 48.150598] audit: type=1400 audit(1585201626.106:35): avc: denied { map } for pid=7973 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.48' (ECDSA) to the list of known hosts. [ 55.160100] audit: type=1400 audit(1585201633.116:36): avc: denied { map } for pid=7985 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 05:47:13 parsed 1 programs [ 56.811050] audit: type=1400 audit(1585201634.766:37): avc: denied { map } for pid=7985 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=1127 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 05:47:14 executed programs: 0 [ 57.007284] IPVS: ftp: loaded support on port[0] = 21 [ 57.073856] chnl_net:caif_netlink_parms(): no params data found [ 57.127466] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.134594] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.142359] device bridge_slave_0 entered promiscuous mode [ 57.150843] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.157918] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.165426] device bridge_slave_1 entered promiscuous mode [ 57.182554] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 57.191928] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 57.209250] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 57.217349] team0: Port device team_slave_0 added [ 57.223635] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 57.231388] team0: Port device team_slave_1 added [ 57.245991] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 57.253195] 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. [ 57.279545] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 57.292131] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 57.298534] 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. [ 57.324493] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 57.335404] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 57.343489] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 57.421677] device hsr_slave_0 entered promiscuous mode [ 57.480125] device hsr_slave_1 entered promiscuous mode [ 57.520588] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 57.528278] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 57.583210] audit: type=1400 audit(1585201635.536:38): avc: denied { create } for pid=8002 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 [ 57.605115] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.610211] audit: type=1400 audit(1585201635.536:39): avc: denied { write } for pid=8002 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 [ 57.615252] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.640297] audit: type=1400 audit(1585201635.546:40): avc: denied { read } for pid=8002 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 [ 57.646757] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.676906] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.717581] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 57.724535] 8021q: adding VLAN 0 to HW filter on device bond0 [ 57.733179] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 57.743782] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 57.762902] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.770551] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.777647] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 57.789238] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 57.795852] 8021q: adding VLAN 0 to HW filter on device team0 [ 57.805871] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 57.814399] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.820835] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.831887] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 57.840348] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.846710] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.864935] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 57.881417] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 57.888939] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 57.897759] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 57.909957] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 57.920873] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 57.926904] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 57.934834] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 57.949978] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 57.957801] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 57.964752] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 57.975744] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 57.991193] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 58.001532] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 58.043459] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 58.050945] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 58.057667] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 58.068803] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 58.077605] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 58.084889] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 58.096854] device veth0_vlan entered promiscuous mode [ 58.107346] device veth1_vlan entered promiscuous mode [ 58.124664] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 58.134985] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 58.142808] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 58.151572] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 58.162137] device veth0_macvtap entered promiscuous mode [ 58.168472] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 58.177389] device veth1_macvtap entered promiscuous mode [ 58.184663] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 58.193874] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 58.203888] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 58.213669] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 58.221587] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 58.228829] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 58.236498] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 58.244083] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 58.252299] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 58.263497] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 58.271501] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 58.278901] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 58.287398] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 58.403106] audit: type=1400 audit(1585201636.356:41): avc: denied { associate } for pid=8002 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 [ 58.578053] ================================================================== [ 58.585635] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 58.592130] Read of size 8 at addr ffff88808e97ee20 by task syz-executor.0/8062 [ 58.599586] [ 58.601203] CPU: 0 PID: 8062 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 58.609029] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.618375] Call Trace: [ 58.620962] dump_stack+0x188/0x20d [ 58.624641] ? __list_add_valid+0x93/0xa0 [ 58.628793] print_address_description.cold+0x7c/0x212 [ 58.634133] ? __list_add_valid+0x93/0xa0 [ 58.638278] kasan_report.cold+0x88/0x2b9 [ 58.642428] __list_add_valid+0x93/0xa0 [ 58.646422] rdma_listen+0x609/0x880 [ 58.650176] ucma_listen+0x14d/0x1c0 [ 58.653971] ? ucma_notify+0x190/0x190 [ 58.657850] ? __might_fault+0x192/0x1d0 [ 58.661901] ? _copy_from_user+0xd2/0x140 [ 58.666065] ? ucma_notify+0x190/0x190 [ 58.669979] ucma_write+0x285/0x350 [ 58.673619] ? ucma_open+0x280/0x280 [ 58.677327] ? __fget+0x319/0x510 [ 58.680779] __vfs_write+0xf7/0x760 [ 58.684391] ? ucma_open+0x280/0x280 [ 58.688097] ? kernel_read+0x110/0x110 [ 58.691982] ? __inode_security_revalidate+0xd3/0x120 [ 58.697185] ? avc_policy_seqno+0x9/0x70 [ 58.701233] ? selinux_file_permission+0x87/0x520 [ 58.706068] ? security_file_permission+0x84/0x220 [ 58.710986] vfs_write+0x206/0x550 [ 58.714514] ksys_write+0x12b/0x2a0 [ 58.718161] ? __ia32_sys_read+0xb0/0xb0 [ 58.722224] ? __ia32_sys_clock_settime+0x260/0x260 [ 58.727279] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 58.732156] ? trace_hardirqs_off_caller+0x55/0x210 [ 58.737187] ? do_syscall_64+0x21/0x620 [ 58.741685] do_syscall_64+0xf9/0x620 [ 58.745484] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.750668] RIP: 0033:0x45c849 [ 58.753864] 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.772769] RSP: 002b:00007fc831585c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.780466] RAX: ffffffffffffffda RBX: 00007fc8315866d4 RCX: 000000000045c849 [ 58.787723] RDX: 0000000000000010 RSI: 0000000020000380 RDI: 0000000000000003 [ 58.794986] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 58.802287] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 58.809565] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 58.816854] [ 58.818470] Allocated by task 8058: [ 58.822085] kasan_kmalloc+0xbf/0xe0 [ 58.825786] kmem_cache_alloc_trace+0x14d/0x7a0 [ 58.830461] __rdma_create_id+0x5b/0x630 [ 58.834508] ucma_create_id+0x1cb/0x5a0 [ 58.838466] ucma_write+0x285/0x350 [ 58.842091] __vfs_write+0xf7/0x760 [ 58.845720] vfs_write+0x206/0x550 [ 58.849244] ksys_write+0x12b/0x2a0 [ 58.852856] do_syscall_64+0xf9/0x620 [ 58.856654] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.861830] [ 58.863439] Freed by task 8056: [ 58.866703] __kasan_slab_free+0xf7/0x140 [ 58.870848] kfree+0xce/0x220 [ 58.873939] ucma_close+0x10b/0x320 [ 58.877561] __fput+0x2cd/0x890 [ 58.880878] task_work_run+0x13f/0x1b0 [ 58.884821] exit_to_usermode_loop+0x25a/0x2b0 [ 58.889416] do_syscall_64+0x538/0x620 [ 58.893299] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.898494] [ 58.900117] The buggy address belongs to the object at ffff88808e97ec40 [ 58.900117] which belongs to the cache kmalloc-2048 of size 2048 [ 58.912940] The buggy address is located 480 bytes inside of [ 58.912940] 2048-byte region [ffff88808e97ec40, ffff88808e97f440) [ 58.924917] The buggy address belongs to the page: [ 58.931398] page:ffffea00023a5f80 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 58.941362] flags: 0xfffe0000008100(slab|head) [ 58.946020] raw: 00fffe0000008100 ffffea00024d0188 ffff88812c3d4948 ffff88812c3dcc40 [ 58.953893] raw: 0000000000000000 ffff88808e97e3c0 0000000100000003 0000000000000000 [ 58.961766] page dumped because: kasan: bad access detected [ 58.967494] [ 58.969103] Memory state around the buggy address: [ 58.975408] ffff88808e97ed00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.982758] ffff88808e97ed80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.990114] >ffff88808e97ee00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.997455] ^ [ 59.001850] ffff88808e97ee80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.009197] ffff88808e97ef00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.016562] ================================================================== [ 59.023903] Disabling lock debugging due to kernel taint [ 59.036436] Kernel panic - not syncing: panic_on_warn set ... [ 59.036436] [ 59.043832] CPU: 0 PID: 8062 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 59.053003] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.062337] Call Trace: [ 59.064944] dump_stack+0x188/0x20d [ 59.068558] panic+0x26a/0x50e [ 59.071752] ? __warn_printk+0xf3/0xf3 [ 59.075624] ? preempt_schedule_common+0x4a/0xc0 [ 59.080368] ? __list_add_valid+0x93/0xa0 [ 59.084497] ? ___preempt_schedule+0x16/0x18 [ 59.088889] ? trace_hardirqs_on+0x55/0x210 [ 59.093212] ? __list_add_valid+0x93/0xa0 [ 59.097343] kasan_end_report+0x43/0x49 [ 59.101332] kasan_report.cold+0xa4/0x2b9 [ 59.105498] __list_add_valid+0x93/0xa0 [ 59.109474] rdma_listen+0x609/0x880 [ 59.113185] ucma_listen+0x14d/0x1c0 [ 59.116882] ? ucma_notify+0x190/0x190 [ 59.120770] ? __might_fault+0x192/0x1d0 [ 59.124816] ? _copy_from_user+0xd2/0x140 [ 59.128971] ? ucma_notify+0x190/0x190 [ 59.132843] ucma_write+0x285/0x350 [ 59.136467] ? ucma_open+0x280/0x280 [ 59.140179] ? __fget+0x319/0x510 [ 59.143615] __vfs_write+0xf7/0x760 [ 59.147226] ? ucma_open+0x280/0x280 [ 59.150950] ? kernel_read+0x110/0x110 [ 59.154826] ? __inode_security_revalidate+0xd3/0x120 [ 59.159999] ? avc_policy_seqno+0x9/0x70 [ 59.164498] ? selinux_file_permission+0x87/0x520 [ 59.169337] ? security_file_permission+0x84/0x220 [ 59.174257] vfs_write+0x206/0x550 [ 59.177802] ksys_write+0x12b/0x2a0 [ 59.181631] ? __ia32_sys_read+0xb0/0xb0 [ 59.187275] ? __ia32_sys_clock_settime+0x260/0x260 [ 59.192279] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 59.197021] ? trace_hardirqs_off_caller+0x55/0x210 [ 59.202043] ? do_syscall_64+0x21/0x620 [ 59.206014] do_syscall_64+0xf9/0x620 [ 59.209802] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.214975] RIP: 0033:0x45c849 [ 59.219715] 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 [ 59.238697] RSP: 002b:00007fc831585c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.246421] RAX: ffffffffffffffda RBX: 00007fc8315866d4 RCX: 000000000045c849 [ 59.253685] RDX: 0000000000000010 RSI: 0000000020000380 RDI: 0000000000000003 [ 59.261463] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 59.269151] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 59.276431] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 59.285086] Kernel Offset: disabled [ 59.288724] Rebooting in 86400 seconds..