Starting mcstransd: [ 43.717804] audit: type=1800 audit(1585385048.462:32): pid=7831 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 periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 48.306617] kauditd_printk_skb: 2 callbacks suppressed [ 48.306631] audit: type=1400 audit(1585385053.052:35): avc: denied { map } for pid=8007 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.10.29' (ECDSA) to the list of known hosts. [ 57.937779] audit: type=1400 audit(1585385062.682:36): avc: denied { map } for pid=8019 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/28 08:44:22 parsed 1 programs [ 59.373666] audit: type=1400 audit(1585385064.122:37): avc: denied { map } for pid=8019 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=17157 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/28 08:44:24 executed programs: 0 [ 59.568535] IPVS: ftp: loaded support on port[0] = 21 [ 59.638226] chnl_net:caif_netlink_parms(): no params data found [ 59.689548] bridge0: port 1(bridge_slave_0) entered blocking state [ 59.696175] bridge0: port 1(bridge_slave_0) entered disabled state [ 59.703567] device bridge_slave_0 entered promiscuous mode [ 59.711111] bridge0: port 2(bridge_slave_1) entered blocking state [ 59.717479] bridge0: port 2(bridge_slave_1) entered disabled state [ 59.724815] device bridge_slave_1 entered promiscuous mode [ 59.742060] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 59.751557] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 59.770504] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 59.778024] team0: Port device team_slave_0 added [ 59.784001] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 59.791418] team0: Port device team_slave_1 added [ 59.806264] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 59.812660] 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. [ 59.837892] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 59.850240] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 59.856476] 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. [ 59.882259] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 59.893098] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 59.900675] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 59.961542] device hsr_slave_0 entered promiscuous mode [ 59.999463] device hsr_slave_1 entered promiscuous mode [ 60.039943] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 60.047142] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 60.099741] audit: type=1400 audit(1585385064.852:38): avc: denied { create } for pid=8035 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.121060] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.123855] audit: type=1400 audit(1585385064.852:39): avc: denied { write } for pid=8035 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.130106] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.154678] audit: type=1400 audit(1585385064.852:40): avc: denied { read } for pid=8035 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.161050] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.190764] bridge0: port 1(bridge_slave_0) entered forwarding state [ 60.227371] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 60.234076] 8021q: adding VLAN 0 to HW filter on device bond0 [ 60.243971] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 60.253141] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 60.272403] bridge0: port 1(bridge_slave_0) entered disabled state [ 60.290243] bridge0: port 2(bridge_slave_1) entered disabled state [ 60.297530] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 60.308384] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 60.314578] 8021q: adding VLAN 0 to HW filter on device team0 [ 60.326073] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 60.333949] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.340351] bridge0: port 1(bridge_slave_0) entered forwarding state [ 60.350471] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 60.358306] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.364819] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.380397] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 60.388258] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 60.398561] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 60.414455] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 60.424819] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 60.435738] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 60.442525] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 60.450346] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 60.458840] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 60.472910] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 60.480868] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 60.487564] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 60.498883] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 60.512462] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 60.522071] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 60.568053] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 60.575593] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 60.582926] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 60.593156] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 60.600970] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 60.607935] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 60.617242] device veth0_vlan entered promiscuous mode [ 60.627188] device veth1_vlan entered promiscuous mode [ 60.633641] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 60.640765] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 60.657908] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 60.667420] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 60.674704] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 60.683042] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 60.692614] device veth0_macvtap entered promiscuous mode [ 60.698800] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 60.707762] device veth1_macvtap entered promiscuous mode [ 60.715525] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 60.724160] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 60.733633] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 60.743115] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 60.750307] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 60.756957] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 60.764413] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 60.771796] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 60.779636] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 60.790180] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 60.797040] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 60.804679] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 60.812704] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 60.921626] audit: type=1400 audit(1585385065.672:41): avc: denied { associate } for pid=8035 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.331215] ================================================================== [ 61.338768] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 61.345250] Read of size 8 at addr ffff88808ebfe360 by task syz-executor.0/8153 [ 61.352677] [ 61.354303] CPU: 1 PID: 8153 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 61.362171] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.371540] Call Trace: [ 61.374121] dump_stack+0x188/0x20d [ 61.377738] ? __list_add_valid+0x93/0xa0 [ 61.381879] print_address_description.cold+0x7c/0x212 [ 61.387160] ? __list_add_valid+0x93/0xa0 [ 61.391307] kasan_report.cold+0x88/0x2b9 [ 61.395440] __list_add_valid+0x93/0xa0 [ 61.399574] rdma_listen+0x609/0x880 [ 61.403274] ucma_listen+0x14d/0x1c0 [ 61.406985] ? ucma_notify+0x190/0x190 [ 61.410879] ? __might_fault+0x192/0x1d0 [ 61.414928] ? _copy_from_user+0xd2/0x140 [ 61.419076] ? ucma_notify+0x190/0x190 [ 61.422957] ucma_write+0x285/0x350 [ 61.426573] ? ucma_open+0x280/0x280 [ 61.430283] ? __fget+0x319/0x510 [ 61.433784] __vfs_write+0xf7/0x760 [ 61.437404] ? ucma_open+0x280/0x280 [ 61.441106] ? kernel_read+0x110/0x110 [ 61.444987] ? __inode_security_revalidate+0xd3/0x120 [ 61.450210] ? avc_policy_seqno+0x9/0x70 [ 61.454268] ? selinux_file_permission+0x87/0x520 [ 61.459101] ? security_file_permission+0x84/0x220 [ 61.464040] vfs_write+0x206/0x550 [ 61.467571] ksys_write+0x12b/0x2a0 [ 61.471186] ? __ia32_sys_read+0xb0/0xb0 [ 61.475234] ? __ia32_sys_clock_settime+0x260/0x260 [ 61.480254] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 61.485105] ? trace_hardirqs_off_caller+0x55/0x210 [ 61.490204] ? do_syscall_64+0x21/0x620 [ 61.494193] do_syscall_64+0xf9/0x620 [ 61.497994] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.503177] RIP: 0033:0x45c849 [ 61.506355] 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 [ 61.525242] RSP: 002b:00007f6b6df0fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.532933] RAX: ffffffffffffffda RBX: 00007f6b6df106d4 RCX: 000000000045c849 [ 61.540272] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 61.547525] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 61.554819] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 61.562071] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 61.569330] [ 61.570941] Allocated by task 8147: [ 61.574558] kasan_kmalloc+0xbf/0xe0 [ 61.578291] kmem_cache_alloc_trace+0x14d/0x7a0 [ 61.582944] __rdma_create_id+0x5b/0x630 [ 61.586987] ucma_create_id+0x1cb/0x5a0 [ 61.591058] ucma_write+0x285/0x350 [ 61.594682] __vfs_write+0xf7/0x760 [ 61.598298] vfs_write+0x206/0x550 [ 61.601823] ksys_write+0x12b/0x2a0 [ 61.605437] do_syscall_64+0xf9/0x620 [ 61.609222] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.614391] [ 61.615999] Freed by task 8147: [ 61.619272] __kasan_slab_free+0xf7/0x140 [ 61.623413] kfree+0xce/0x220 [ 61.626514] ucma_close+0x10b/0x320 [ 61.630130] __fput+0x2cd/0x890 [ 61.633393] task_work_run+0x13f/0x1b0 [ 61.637266] exit_to_usermode_loop+0x25a/0x2b0 [ 61.641837] do_syscall_64+0x538/0x620 [ 61.645710] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.650880] [ 61.652489] The buggy address belongs to the object at ffff88808ebfe180 [ 61.652489] which belongs to the cache kmalloc-2048 of size 2048 [ 61.665301] The buggy address is located 480 bytes inside of [ 61.665301] 2048-byte region [ffff88808ebfe180, ffff88808ebfe980) [ 61.677350] The buggy address belongs to the page: [ 61.682286] page:ffffea00023aff80 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 61.692294] flags: 0xfffe0000008100(slab|head) [ 61.696864] raw: 00fffe0000008100 ffffea00025fff08 ffffea00025d1d08 ffff88812c3dcc40 [ 61.705077] raw: 0000000000000000 ffff88808ebfe180 0000000100000003 0000000000000000 [ 61.712944] page dumped because: kasan: bad access detected [ 61.718638] [ 61.720245] Memory state around the buggy address: [ 61.725156] ffff88808ebfe200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.732529] ffff88808ebfe280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.739879] >ffff88808ebfe300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.747223] ^ [ 61.753701] ffff88808ebfe380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.761061] ffff88808ebfe400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.768401] ================================================================== [ 61.775738] Disabling lock debugging due to kernel taint [ 61.785516] Kernel panic - not syncing: panic_on_warn set ... [ 61.785516] [ 61.792917] CPU: 0 PID: 8153 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 61.802082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.811413] Call Trace: [ 61.813985] dump_stack+0x188/0x20d [ 61.817595] panic+0x26a/0x50e [ 61.820771] ? __warn_printk+0xf3/0xf3 [ 61.824640] ? preempt_schedule_common+0x4a/0xc0 [ 61.829411] ? __list_add_valid+0x93/0xa0 [ 61.833540] ? ___preempt_schedule+0x16/0x18 [ 61.837929] ? trace_hardirqs_on+0x55/0x210 [ 61.842239] ? __list_add_valid+0x93/0xa0 [ 61.846370] kasan_end_report+0x43/0x49 [ 61.850330] kasan_report.cold+0xa4/0x2b9 [ 61.854461] __list_add_valid+0x93/0xa0 [ 61.858450] rdma_listen+0x609/0x880 [ 61.862180] ucma_listen+0x14d/0x1c0 [ 61.865909] ? ucma_notify+0x190/0x190 [ 61.869817] ? __might_fault+0x192/0x1d0 [ 61.873987] ? _copy_from_user+0xd2/0x140 [ 61.878201] ? ucma_notify+0x190/0x190 [ 61.882071] ucma_write+0x285/0x350 [ 61.885679] ? ucma_open+0x280/0x280 [ 61.889378] ? __fget+0x319/0x510 [ 61.892814] __vfs_write+0xf7/0x760 [ 61.896426] ? ucma_open+0x280/0x280 [ 61.900121] ? kernel_read+0x110/0x110 [ 61.903995] ? __inode_security_revalidate+0xd3/0x120 [ 61.909188] ? avc_policy_seqno+0x9/0x70 [ 61.913416] ? selinux_file_permission+0x87/0x520 [ 61.918281] ? security_file_permission+0x84/0x220 [ 61.923203] vfs_write+0x206/0x550 [ 61.926729] ksys_write+0x12b/0x2a0 [ 61.930350] ? __ia32_sys_read+0xb0/0xb0 [ 61.934409] ? __ia32_sys_clock_settime+0x260/0x260 [ 61.939411] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 61.944181] ? trace_hardirqs_off_caller+0x55/0x210 [ 61.949191] ? do_syscall_64+0x21/0x620 [ 61.953158] do_syscall_64+0xf9/0x620 [ 61.956943] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.962137] RIP: 0033:0x45c849 [ 61.965314] 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 [ 61.984328] RSP: 002b:00007f6b6df0fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.992030] RAX: ffffffffffffffda RBX: 00007f6b6df106d4 RCX: 000000000045c849 [ 61.999286] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 62.006549] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 62.013812] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 62.021142] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 62.029849] Kernel Offset: disabled [ 62.033476] Rebooting in 86400 seconds..