[ 47.425590] audit: type=1800 audit(1585259891.803:31): pid=8023 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 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.396456] kauditd_printk_skb: 3 callbacks suppressed [ 51.396469] audit: type=1400 audit(1585259895.833:35): avc: denied { map } for pid=8196 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.35' (ECDSA) to the list of known hosts. [ 58.181324] audit: type=1400 audit(1585259902.613:36): avc: denied { map } for pid=8208 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/26 21:58:22 parsed 1 programs [ 59.849505] audit: type=1400 audit(1585259904.283:37): avc: denied { map } for pid=8208 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=17163 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 21:58:24 executed programs: 0 [ 60.046980] IPVS: ftp: loaded support on port[0] = 21 [ 60.112533] chnl_net:caif_netlink_parms(): no params data found [ 60.166287] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.173376] bridge0: port 1(bridge_slave_0) entered disabled state [ 60.181408] device bridge_slave_0 entered promiscuous mode [ 60.188986] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.195609] bridge0: port 2(bridge_slave_1) entered disabled state [ 60.203137] device bridge_slave_1 entered promiscuous mode [ 60.220783] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 60.230134] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 60.248500] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 60.256065] team0: Port device team_slave_0 added [ 60.261877] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 60.269464] team0: Port device team_slave_1 added [ 60.284885] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 60.291148] 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.316529] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 60.328514] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 60.334815] 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.360108] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 60.370910] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 60.378631] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 60.436515] device hsr_slave_0 entered promiscuous mode [ 60.474473] device hsr_slave_1 entered promiscuous mode [ 60.535109] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 60.542533] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 60.599049] audit: type=1400 audit(1585259905.033:38): avc: denied { create } for pid=8226 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.621351] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.623100] audit: type=1400 audit(1585259905.033:39): avc: denied { write } for pid=8226 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.629385] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.629848] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.653469] audit: type=1400 audit(1585259905.033:40): avc: denied { read } for pid=8226 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.659949] bridge0: port 1(bridge_slave_0) entered forwarding state [ 60.729294] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 60.736068] 8021q: adding VLAN 0 to HW filter on device bond0 [ 60.745280] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 60.753823] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 60.763194] bridge0: port 1(bridge_slave_0) entered disabled state [ 60.770593] bridge0: port 2(bridge_slave_1) entered disabled state [ 60.777820] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 60.789229] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 60.795906] 8021q: adding VLAN 0 to HW filter on device team0 [ 60.806712] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 60.814625] bridge0: port 1(bridge_slave_0) entered blocking state [ 60.821058] bridge0: port 1(bridge_slave_0) entered forwarding state [ 60.832052] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 60.840586] bridge0: port 2(bridge_slave_1) entered blocking state [ 60.847004] bridge0: port 2(bridge_slave_1) entered forwarding state [ 60.865763] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 60.873461] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 60.882048] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 60.892739] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 60.903759] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 60.915364] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 60.921493] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 60.929188] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 60.942674] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 60.950919] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 60.958150] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 60.970869] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 60.985995] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 60.996522] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 61.038656] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 61.045901] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 61.052434] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 61.063174] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 61.071173] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 61.078321] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 61.087876] device veth0_vlan entered promiscuous mode [ 61.099363] device veth1_vlan entered promiscuous mode [ 61.106013] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 61.112795] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 61.130598] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 61.140533] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 61.147752] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 61.156025] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 61.166574] device veth0_macvtap entered promiscuous mode [ 61.172948] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 61.181683] device veth1_macvtap entered promiscuous mode [ 61.188355] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 61.197680] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 61.208843] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 61.218898] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 61.226272] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 61.233125] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 61.240647] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 61.248498] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 61.256531] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 61.267574] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 61.274584] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 61.281128] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 61.289923] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 61.402704] audit: type=1400 audit(1585259905.833:41): avc: denied { associate } for pid=8226 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.522561] ================================================================== [ 61.530076] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 61.536565] Read of size 8 at addr ffff888096c247a0 by task syz-executor.0/8275 [ 61.543997] [ 61.545616] CPU: 0 PID: 8275 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 [ 61.553421] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.562761] Call Trace: [ 61.565343] dump_stack+0x188/0x20d [ 61.568969] ? __list_add_valid+0x93/0xa0 [ 61.573111] print_address_description.cold+0x7c/0x212 [ 61.578375] ? __list_add_valid+0x93/0xa0 [ 61.582560] kasan_report.cold+0x88/0x2b9 [ 61.586702] __list_add_valid+0x93/0xa0 [ 61.590660] rdma_listen+0x609/0x880 [ 61.594367] ucma_listen+0x14d/0x1c0 [ 61.598067] ? ucma_notify+0x190/0x190 [ 61.601941] ? __might_fault+0x192/0x1d0 [ 61.605988] ? _copy_from_user+0xd2/0x140 [ 61.610118] ? ucma_notify+0x190/0x190 [ 61.613991] ucma_write+0x285/0x350 [ 61.617602] ? ucma_open+0x280/0x280 [ 61.621335] ? __fget+0x319/0x510 [ 61.624787] __vfs_write+0xf7/0x760 [ 61.628452] ? ucma_open+0x280/0x280 [ 61.632175] ? kernel_read+0x110/0x110 [ 61.636064] ? __inode_security_revalidate+0xd3/0x120 [ 61.641257] ? avc_policy_seqno+0x9/0x70 [ 61.645314] ? selinux_file_permission+0x87/0x520 [ 61.650197] ? security_file_permission+0x84/0x220 [ 61.655170] vfs_write+0x206/0x550 [ 61.658703] ksys_write+0x12b/0x2a0 [ 61.662324] ? __ia32_sys_read+0xb0/0xb0 [ 61.666382] ? __ia32_sys_clock_settime+0x260/0x260 [ 61.671385] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 61.676135] ? trace_hardirqs_off_caller+0x55/0x210 [ 61.681751] ? do_syscall_64+0x21/0x620 [ 61.685712] do_syscall_64+0xf9/0x620 [ 61.689514] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.694691] RIP: 0033:0x45c849 [ 61.697888] 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.716793] RSP: 002b:00007f5205b12c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.724501] RAX: ffffffffffffffda RBX: 00007f5205b136d4 RCX: 000000000045c849 [ 61.731775] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 61.739029] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 61.746291] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 61.753549] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 61.760821] [ 61.762442] Allocated by task 8269: [ 61.766066] kasan_kmalloc+0xbf/0xe0 [ 61.769767] kmem_cache_alloc_trace+0x14d/0x7a0 [ 61.774560] __rdma_create_id+0x5b/0x630 [ 61.778653] ucma_create_id+0x1cb/0x5a0 [ 61.782634] ucma_write+0x285/0x350 [ 61.786300] __vfs_write+0xf7/0x760 [ 61.789931] vfs_write+0x206/0x550 [ 61.793991] ksys_write+0x12b/0x2a0 [ 61.798955] do_syscall_64+0xf9/0x620 [ 61.802842] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.808126] [ 61.809738] Freed by task 8269: [ 61.813015] __kasan_slab_free+0xf7/0x140 [ 61.817151] kfree+0xce/0x220 [ 61.820245] ucma_close+0x10b/0x320 [ 61.823859] __fput+0x2cd/0x890 [ 61.827126] task_work_run+0x13f/0x1b0 [ 61.831019] exit_to_usermode_loop+0x25a/0x2b0 [ 61.835593] do_syscall_64+0x538/0x620 [ 61.839476] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.844670] [ 61.846283] The buggy address belongs to the object at ffff888096c245c0 [ 61.846283] which belongs to the cache kmalloc-2048 of size 2048 [ 61.859216] The buggy address is located 480 bytes inside of [ 61.859216] 2048-byte region [ffff888096c245c0, ffff888096c24dc0) [ 61.871265] The buggy address belongs to the page: [ 61.876195] page:ffffea00025b0900 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 61.886147] flags: 0xfffe0000008100(slab|head) [ 61.890730] raw: 00fffe0000008100 ffffea00024f3908 ffffea00025b4d08 ffff88812c3dcc40 [ 61.898610] raw: 0000000000000000 ffff888096c245c0 0000000100000003 0000000000000000 [ 61.906575] page dumped because: kasan: bad access detected [ 61.912320] [ 61.913948] Memory state around the buggy address: [ 61.918917] ffff888096c24680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.926305] ffff888096c24700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.933663] >ffff888096c24780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.941010] ^ [ 61.945423] ffff888096c24800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.952956] ffff888096c24880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.960298] ================================================================== [ 61.967651] Disabling lock debugging due to kernel taint [ 61.977580] Kernel panic - not syncing: panic_on_warn set ... [ 61.977580] [ 61.984963] CPU: 0 PID: 8275 Comm: syz-executor.0 Tainted: G B 4.19.113-syzkaller #0 [ 61.994180] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.003529] Call Trace: [ 62.006109] dump_stack+0x188/0x20d [ 62.009739] panic+0x26a/0x50e [ 62.012919] ? __warn_printk+0xf3/0xf3 [ 62.016792] ? preempt_schedule_common+0x4a/0xc0 [ 62.021545] ? __list_add_valid+0x93/0xa0 [ 62.025691] ? ___preempt_schedule+0x16/0x18 [ 62.030095] ? trace_hardirqs_on+0x55/0x210 [ 62.034580] ? __list_add_valid+0x93/0xa0 [ 62.038727] kasan_end_report+0x43/0x49 [ 62.042687] kasan_report.cold+0xa4/0x2b9 [ 62.046823] __list_add_valid+0x93/0xa0 [ 62.050816] rdma_listen+0x609/0x880 [ 62.054830] ucma_listen+0x14d/0x1c0 [ 62.058538] ? ucma_notify+0x190/0x190 [ 62.062563] ? __might_fault+0x192/0x1d0 [ 62.066625] ? _copy_from_user+0xd2/0x140 [ 62.070780] ? ucma_notify+0x190/0x190 [ 62.074665] ucma_write+0x285/0x350 [ 62.078286] ? ucma_open+0x280/0x280 [ 62.081999] ? __fget+0x319/0x510 [ 62.085445] __vfs_write+0xf7/0x760 [ 62.089069] ? ucma_open+0x280/0x280 [ 62.092778] ? kernel_read+0x110/0x110 [ 62.096769] ? __inode_security_revalidate+0xd3/0x120 [ 62.101957] ? avc_policy_seqno+0x9/0x70 [ 62.106008] ? selinux_file_permission+0x87/0x520 [ 62.110838] ? security_file_permission+0x84/0x220 [ 62.115797] vfs_write+0x206/0x550 [ 62.119338] ksys_write+0x12b/0x2a0 [ 62.122984] ? __ia32_sys_read+0xb0/0xb0 [ 62.127030] ? __ia32_sys_clock_settime+0x260/0x260 [ 62.132179] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 62.137009] ? trace_hardirqs_off_caller+0x55/0x210 [ 62.142080] ? do_syscall_64+0x21/0x620 [ 62.146044] do_syscall_64+0xf9/0x620 [ 62.149884] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 62.155079] RIP: 0033:0x45c849 [ 62.158278] 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.177163] RSP: 002b:00007f5205b12c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.184855] RAX: ffffffffffffffda RBX: 00007f5205b136d4 RCX: 000000000045c849 [ 62.192115] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 62.199471] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 62.206767] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 62.214058] R13: 0000000000000cc0 R14: 00000000004cee4e R15: 000000000076bf0c [ 62.222849] Kernel Offset: disabled [ 62.226481] Rebooting in 86400 seconds..