[ 46.108134] audit: type=1800 audit(1585035637.657:32): pid=7788 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 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: [ 51.186207] kauditd_printk_skb: 2 callbacks suppressed [ 51.186219] audit: type=1400 audit(1585035642.817:35): avc: denied { map } for pid=7964 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.154' (ECDSA) to the list of known hosts. [ 57.930456] audit: type=1400 audit(1585035649.557:36): avc: denied { map } for pid=7976 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16482 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/24 07:40:49 parsed 1 programs [ 59.611822] audit: type=1400 audit(1585035651.247:37): avc: denied { map } for pid=7976 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=1082 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/24 07:40:51 executed programs: 0 [ 59.811045] IPVS: ftp: loaded support on port[0] = 21 [ 59.876455] chnl_net:caif_netlink_parms(): no params data found [ 59.929240] bridge0: port 1(bridge_slave_0) entered blocking state [ 59.936369] bridge0: port 1(bridge_slave_0) entered disabled state [ 59.943772] device bridge_slave_0 entered promiscuous mode [ 59.952024] bridge0: port 2(bridge_slave_1) entered blocking state [ 59.958429] bridge0: port 2(bridge_slave_1) entered disabled state [ 59.966322] device bridge_slave_1 entered promiscuous mode [ 59.982785] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 59.992395] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 60.009350] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 60.017429] team0: Port device team_slave_0 added [ 60.023839] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 60.031959] team0: Port device team_slave_1 added [ 60.046758] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 60.053106] 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.079943] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 60.092793] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 60.099395] 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.125807] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 60.140540] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 60.148462] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 60.202187] device hsr_slave_0 entered promiscuous mode [ 60.250535] device hsr_slave_1 entered promiscuous mode [ 60.291043] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 60.298688] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 60.355078] audit: type=1400 audit(1585035651.987:38): avc: denied { create } for pid=7995 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.377438] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.379521] audit: type=1400 audit(1585035651.987:39): avc: denied { write } for pid=7995 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.385734] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.409963] audit: type=1400 audit(1585035651.997:40): avc: denied { read } for pid=7995 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.416781] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.446978] bridge0: port 1(bridge_slave_0) entered forwarding state [ 60.486447] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 60.493413] 8021q: adding VLAN 0 to HW filter on device bond0 [ 60.502346] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 60.512078] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 60.531059] bridge0: port 1(bridge_slave_0) entered disabled state [ 60.538414] bridge0: port 2(bridge_slave_1) entered disabled state [ 60.546558] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 60.556976] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 60.563845] 8021q: adding VLAN 0 to HW filter on device team0 [ 60.573718] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 60.581551] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.587884] bridge0: port 1(bridge_slave_0) entered forwarding state [ 60.600124] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 60.607891] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.614347] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.627259] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 60.636625] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 60.646672] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 60.658163] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 60.670477] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 60.680411] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 60.686610] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 60.701485] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 60.709168] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 60.716124] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 60.727648] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 60.742610] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 60.753519] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 60.793629] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 60.801660] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 60.808191] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 60.823769] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 60.831372] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 60.838230] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 60.850109] device veth0_vlan entered promiscuous mode [ 60.859350] device veth1_vlan entered promiscuous mode [ 60.865858] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 60.875393] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 60.883102] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 60.890831] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 60.904293] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 60.914055] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 60.920976] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 60.928632] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 60.938159] device veth0_macvtap entered promiscuous mode [ 60.944798] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 60.954351] device veth1_macvtap entered promiscuous mode [ 60.960934] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 60.969447] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 60.980921] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 60.990515] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 60.997707] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 61.005030] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 61.012571] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 61.019592] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 61.027615] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 61.037538] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 61.045246] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 61.052281] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 61.061749] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 61.168039] audit: type=1400 audit(1585035652.797:41): avc: denied { associate } for pid=7995 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.396300] ================================================================== [ 61.404000] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 61.410491] Read of size 8 at addr ffff8880929538a0 by task syz-executor.0/8068 [ 61.417927] [ 61.419560] CPU: 0 PID: 8068 Comm: syz-executor.0 Not tainted 4.19.112-syzkaller #0 [ 61.427350] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.436703] Call Trace: [ 61.442156] dump_stack+0x188/0x20d [ 61.445790] ? __list_add_valid+0x93/0xa0 [ 61.449925] print_address_description.cold+0x7c/0x212 [ 61.455190] ? __list_add_valid+0x93/0xa0 [ 61.459338] kasan_report.cold+0x88/0x2b9 [ 61.463498] __list_add_valid+0x93/0xa0 [ 61.467472] rdma_listen+0x609/0x880 [ 61.471184] ucma_listen+0x14d/0x1c0 [ 61.474884] ? ucma_notify+0x190/0x190 [ 61.478932] ? __might_fault+0x192/0x1d0 [ 61.482982] ? _copy_from_user+0xd2/0x140 [ 61.487155] ? ucma_notify+0x190/0x190 [ 61.491039] ucma_write+0x285/0x350 [ 61.494664] ? ucma_open+0x280/0x280 [ 61.498373] ? __fget+0x319/0x510 [ 61.501835] __vfs_write+0xf7/0x760 [ 61.505463] ? ucma_open+0x280/0x280 [ 61.509168] ? kernel_read+0x110/0x110 [ 61.513051] ? __inode_security_revalidate+0xd3/0x120 [ 61.518233] ? avc_policy_seqno+0x9/0x70 [ 61.522297] ? selinux_file_permission+0x87/0x520 [ 61.527155] ? security_file_permission+0x84/0x220 [ 61.532076] vfs_write+0x206/0x550 [ 61.535624] ksys_write+0x12b/0x2a0 [ 61.539324] ? __ia32_sys_read+0xb0/0xb0 [ 61.543373] ? __ia32_sys_clock_settime+0x260/0x260 [ 61.548375] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 61.553123] ? trace_hardirqs_off_caller+0x55/0x210 [ 61.558144] ? do_syscall_64+0x21/0x620 [ 61.562120] do_syscall_64+0xf9/0x620 [ 61.565928] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.571106] RIP: 0033:0x45c849 [ 61.574287] 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.593783] RSP: 002b:00007f36aa80fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.601491] RAX: ffffffffffffffda RBX: 00007f36aa8106d4 RCX: 000000000045c849 [ 61.608754] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 61.616046] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 61.623314] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 61.630581] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 61.637847] [ 61.639465] Allocated by task 8062: [ 61.643124] kasan_kmalloc+0xbf/0xe0 [ 61.646875] kmem_cache_alloc_trace+0x14d/0x7a0 [ 61.651538] __rdma_create_id+0x5b/0x630 [ 61.655599] ucma_create_id+0x1cb/0x5a0 [ 61.659574] ucma_write+0x285/0x350 [ 61.663199] __vfs_write+0xf7/0x760 [ 61.666819] vfs_write+0x206/0x550 [ 61.670350] ksys_write+0x12b/0x2a0 [ 61.673969] do_syscall_64+0xf9/0x620 [ 61.677799] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.682973] [ 61.684611] Freed by task 8062: [ 61.687997] __kasan_slab_free+0xf7/0x140 [ 61.692154] kfree+0xce/0x220 [ 61.695347] ucma_close+0x10b/0x320 [ 61.698971] __fput+0x2cd/0x890 [ 61.702249] task_work_run+0x13f/0x1b0 [ 61.706120] exit_to_usermode_loop+0x25a/0x2b0 [ 61.710702] do_syscall_64+0x538/0x620 [ 61.714575] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.719742] [ 61.721386] The buggy address belongs to the object at ffff8880929536c0 [ 61.721386] which belongs to the cache kmalloc-2048 of size 2048 [ 61.734355] The buggy address is located 480 bytes inside of [ 61.734355] 2048-byte region [ffff8880929536c0, ffff888092953ec0) [ 61.746467] The buggy address belongs to the page: [ 61.751390] page:ffffea00024a5480 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 61.761356] flags: 0xfffe0000008100(slab|head) [ 61.765928] raw: 00fffe0000008100 ffffea0002300988 ffff88812c3d4948 ffff88812c3dcc40 [ 61.773986] raw: 0000000000000000 ffff8880929525c0 0000000100000003 0000000000000000 [ 61.784829] page dumped because: kasan: bad access detected [ 61.797008] [ 61.798627] Memory state around the buggy address: [ 61.803598] ffff888092953780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.810954] ffff888092953800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.818300] >ffff888092953880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.825640] ^ [ 61.830033] ffff888092953900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.841108] ffff888092953980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.848449] ================================================================== [ 61.855791] Disabling lock debugging due to kernel taint [ 61.866584] Kernel panic - not syncing: panic_on_warn set ... [ 61.866584] [ 61.873973] CPU: 0 PID: 8068 Comm: syz-executor.0 Tainted: G B 4.19.112-syzkaller #0 [ 61.883145] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.892508] Call Trace: [ 61.895086] dump_stack+0x188/0x20d [ 61.898701] panic+0x26a/0x50e [ 61.901877] ? __warn_printk+0xf3/0xf3 [ 61.905749] ? preempt_schedule_common+0x4a/0xc0 [ 61.910517] ? __list_add_valid+0x93/0xa0 [ 61.914649] ? ___preempt_schedule+0x16/0x18 [ 61.919041] ? trace_hardirqs_on+0x55/0x210 [ 61.923360] ? __list_add_valid+0x93/0xa0 [ 61.927492] kasan_end_report+0x43/0x49 [ 61.931453] kasan_report.cold+0xa4/0x2b9 [ 61.935600] __list_add_valid+0x93/0xa0 [ 61.939574] rdma_listen+0x609/0x880 [ 61.943272] ucma_listen+0x14d/0x1c0 [ 61.946998] ? ucma_notify+0x190/0x190 [ 61.950879] ? __might_fault+0x192/0x1d0 [ 61.954924] ? _copy_from_user+0xd2/0x140 [ 61.959053] ? ucma_notify+0x190/0x190 [ 61.962924] ucma_write+0x285/0x350 [ 61.966535] ? ucma_open+0x280/0x280 [ 61.970239] ? __fget+0x319/0x510 [ 61.973679] __vfs_write+0xf7/0x760 [ 61.977304] ? ucma_open+0x280/0x280 [ 61.981003] ? kernel_read+0x110/0x110 [ 61.984874] ? __inode_security_revalidate+0xd3/0x120 [ 61.990046] ? avc_policy_seqno+0x9/0x70 [ 61.994092] ? selinux_file_permission+0x87/0x520 [ 61.998919] ? security_file_permission+0x84/0x220 [ 62.003850] vfs_write+0x206/0x550 [ 62.007392] ksys_write+0x12b/0x2a0 [ 62.011003] ? __ia32_sys_read+0xb0/0xb0 [ 62.015051] ? __ia32_sys_clock_settime+0x260/0x260 [ 62.020066] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 62.024804] ? trace_hardirqs_off_caller+0x55/0x210 [ 62.029819] ? do_syscall_64+0x21/0x620 [ 62.033779] do_syscall_64+0xf9/0x620 [ 62.037567] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 62.042743] RIP: 0033:0x45c849 [ 62.045935] 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.064822] RSP: 002b:00007f36aa80fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.072515] RAX: ffffffffffffffda RBX: 00007f36aa8106d4 RCX: 000000000045c849 [ 62.079770] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 62.087022] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 62.094287] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 62.101547] R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c [ 62.110223] Kernel Offset: disabled [ 62.113862] Rebooting in 86400 seconds..