[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 38.891252][ T26] audit: type=1800 audit(1547897159.247:25): pid=7769 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 38.926666][ T26] audit: type=1800 audit(1547897159.247:26): pid=7769 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 38.951112][ T26] audit: type=1800 audit(1547897159.247:27): pid=7769 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.51' (ECDSA) to the list of known hosts. 2019/01/19 11:26:11 parsed 1 programs 2019/01/19 11:26:12 executed programs: 0 syzkaller login: [ 52.080273][ T7933] IPVS: ftp: loaded support on port[0] = 21 [ 52.145145][ T7933] chnl_net:caif_netlink_parms(): no params data found [ 52.182150][ T7933] bridge0: port 1(bridge_slave_0) entered blocking state [ 52.189800][ T7933] bridge0: port 1(bridge_slave_0) entered disabled state [ 52.197675][ T7933] device bridge_slave_0 entered promiscuous mode [ 52.205712][ T7933] bridge0: port 2(bridge_slave_1) entered blocking state [ 52.212784][ T7933] bridge0: port 2(bridge_slave_1) entered disabled state [ 52.220585][ T7933] device bridge_slave_1 entered promiscuous mode [ 52.237715][ T7933] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 52.247378][ T7933] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 52.264045][ T7933] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 52.272437][ T7933] team0: Port device team_slave_0 added [ 52.278515][ T7933] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 52.286664][ T7933] team0: Port device team_slave_1 added [ 52.292522][ T7933] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 52.301119][ T7933] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 52.357780][ T7933] device hsr_slave_0 entered promiscuous mode [ 52.425762][ T7933] device hsr_slave_1 entered promiscuous mode [ 52.475886][ T7933] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 52.483463][ T7933] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 52.498385][ T7933] bridge0: port 2(bridge_slave_1) entered blocking state [ 52.505505][ T7933] bridge0: port 2(bridge_slave_1) entered forwarding state [ 52.512949][ T7933] bridge0: port 1(bridge_slave_0) entered blocking state [ 52.520042][ T7933] bridge0: port 1(bridge_slave_0) entered forwarding state [ 52.551069][ T7933] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 52.559129][ T7933] 8021q: adding VLAN 0 to HW filter on device bond0 [ 52.568746][ T7933] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 52.580021][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 52.589934][ T12] bridge0: port 1(bridge_slave_0) entered disabled state [ 52.599415][ T12] bridge0: port 2(bridge_slave_1) entered disabled state [ 52.607535][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 52.620004][ T7933] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 52.626910][ T7933] 8021q: adding VLAN 0 to HW filter on device team0 [ 52.636557][ T2490] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 52.644828][ T2490] bridge0: port 1(bridge_slave_0) entered blocking state [ 52.651943][ T2490] bridge0: port 1(bridge_slave_0) entered forwarding state [ 52.661933][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 52.670632][ T12] bridge0: port 2(bridge_slave_1) entered blocking state [ 52.677719][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state [ 52.696119][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 52.707982][ T7935] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 52.716133][ T7935] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 52.729120][ T2490] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 52.740166][ T7933] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 52.752473][ T7933] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 52.759733][ T7933] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 52.767596][ T7935] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 52.782771][ T7933] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready [ 52.793496][ T7933] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 52.950750][ T7956] ================================================================== [ 52.958908][ T7956] BUG: KASAN: use-after-free in __list_add_valid+0x9a/0xa0 [ 52.966096][ T7956] Read of size 8 at addr ffff8880966681e0 by task syz-executor0/7956 [ 52.974171][ T7956] [ 52.976484][ T7956] CPU: 1 PID: 7956 Comm: syz-executor0 Not tainted 5.0.0-rc2-next-20190118 #15 [ 52.985404][ T7956] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.995452][ T7956] Call Trace: [ 52.998726][ T7956] dump_stack+0x1db/0x2d0 [ 53.003043][ T7956] ? dump_stack_print_info.cold+0x20/0x20 [ 53.008744][ T7956] ? trace_hardirqs_on+0xbd/0x310 [ 53.013752][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.018585][ T7956] print_address_description.cold+0x7c/0x20d [ 53.024578][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.029413][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.034251][ T7956] kasan_report.cold+0x1b/0x40 [ 53.038998][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.043864][ T7956] __asan_report_load8_noabort+0x14/0x20 [ 53.049483][ T7956] __list_add_valid+0x9a/0xa0 [ 53.054177][ T7956] rdma_listen+0x6c9/0xa10 [ 53.058579][ T7956] ? rdma_resolve_addr+0x2720/0x2720 [ 53.063852][ T7956] ucma_listen+0x1bf/0x250 [ 53.068246][ T7956] ? ucma_notify+0x220/0x220 [ 53.072817][ T7956] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.079043][ T7956] ? _copy_from_user+0xdd/0x150 [ 53.083878][ T7956] ucma_write+0x36b/0x480 [ 53.088184][ T7956] ? ucma_notify+0x220/0x220 [ 53.092755][ T7956] ? ucma_open+0x400/0x400 [ 53.097154][ T7956] ? __might_fault+0x12b/0x1e0 [ 53.101903][ T7956] ? find_held_lock+0x35/0x120 [ 53.106664][ T7956] __vfs_write+0x116/0xb40 [ 53.111101][ T7956] ? ucma_open+0x400/0x400 [ 53.115514][ T7956] ? kernel_read+0x120/0x120 [ 53.120094][ T7956] ? fget_raw+0x20/0x20 [ 53.124251][ T7956] ? trace_hardirqs_off_caller+0x300/0x300 [ 53.130041][ T7956] ? apparmor_file_permission+0x25/0x30 [ 53.135565][ T7956] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.141784][ T7956] ? security_file_permission+0x94/0x320 [ 53.147400][ T7956] ? rw_verify_area+0x118/0x360 [ 53.152233][ T7956] vfs_write+0x20c/0x580 [ 53.156461][ T7956] ksys_write+0x105/0x260 [ 53.160774][ T7956] ? __ia32_sys_read+0xb0/0xb0 [ 53.165543][ T7956] ? trace_hardirqs_off_caller+0x300/0x300 [ 53.171331][ T7956] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 53.176787][ T7956] __x64_sys_write+0x73/0xb0 [ 53.181360][ T7956] do_syscall_64+0x1a3/0x800 [ 53.185933][ T7956] ? syscall_return_slowpath+0x5f0/0x5f0 [ 53.191544][ T7956] ? prepare_exit_to_usermode+0x232/0x3b0 [ 53.197244][ T7956] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.202778][ T7956] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.208646][ T7956] RIP: 0033:0x458099 [ 53.212532][ T7956] Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 53.232133][ T7956] RSP: 002b:00007ffb4101ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.240629][ T7956] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 [ 53.248580][ T7956] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 53.256539][ T7956] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 53.264509][ T7956] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffb4101b6d4 [ 53.272458][ T7956] R13: 00000000004c71fe R14: 00000000004dca18 R15: 00000000ffffffff [ 53.280416][ T7956] [ 53.282725][ T7956] Allocated by task 7951: [ 53.287037][ T7956] save_stack+0x45/0xd0 [ 53.291170][ T7956] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 53.296779][ T7956] kasan_kmalloc+0x9/0x10 [ 53.301093][ T7956] kmem_cache_alloc_trace+0x151/0x760 [ 53.306446][ T7956] __rdma_create_id+0xce/0x630 [ 53.311189][ T7956] ucma_create_id+0x30f/0x910 [ 53.315840][ T7956] ucma_write+0x36b/0x480 [ 53.320147][ T7956] __vfs_write+0x116/0xb40 [ 53.324553][ T7956] vfs_write+0x20c/0x580 [ 53.328776][ T7956] ksys_write+0x105/0x260 [ 53.333103][ T7956] __x64_sys_write+0x73/0xb0 [ 53.337685][ T7956] do_syscall_64+0x1a3/0x800 [ 53.342256][ T7956] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.348118][ T7956] [ 53.350513][ T7956] Freed by task 7950: [ 53.354479][ T7956] save_stack+0x45/0xd0 [ 53.358635][ T7956] __kasan_slab_free+0x102/0x150 [ 53.363552][ T7956] kasan_slab_free+0xe/0x10 [ 53.368036][ T7956] kfree+0xcf/0x230 [ 53.371823][ T7956] rdma_destroy_id+0x8be/0xd80 [ 53.376564][ T7956] ucma_close+0x115/0x320 [ 53.380869][ T7956] __fput+0x3c5/0xb10 [ 53.384836][ T7956] ____fput+0x16/0x20 [ 53.388810][ T7956] task_work_run+0x1f4/0x2b0 [ 53.393378][ T7956] exit_to_usermode_loop+0x32a/0x3b0 [ 53.398640][ T7956] do_syscall_64+0x696/0x800 [ 53.403211][ T7956] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.409074][ T7956] [ 53.411392][ T7956] The buggy address belongs to the object at ffff888096668000 [ 53.411392][ T7956] which belongs to the cache kmalloc-2k of size 2048 [ 53.425423][ T7956] The buggy address is located 480 bytes inside of [ 53.425423][ T7956] 2048-byte region [ffff888096668000, ffff888096668800) [ 53.438755][ T7956] The buggy address belongs to the page: [ 53.444390][ T7956] page:ffffea0002599a00 count:1 mapcount:0 mapping:ffff88812c3f0c40 index:0x0 compound_mapcount: 0 [ 53.455052][ T7956] flags: 0x1fffc0000010200(slab|head) [ 53.460406][ T7956] raw: 01fffc0000010200 ffffea0002586e88 ffffea000223e088 ffff88812c3f0c40 [ 53.468966][ T7956] raw: 0000000000000000 ffff888096668000 0000000100000003 0000000000000000 [ 53.477519][ T7956] page dumped because: kasan: bad access detected [ 53.483905][ T7956] [ 53.486208][ T7956] Memory state around the buggy address: [ 53.491818][ T7956] ffff888096668080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.499870][ T7956] ffff888096668100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.507995][ T7956] >ffff888096668180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.516035][ T7956] ^ [ 53.523211][ T7956] ffff888096668200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.531248][ T7956] ffff888096668280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.539280][ T7956] ================================================================== [ 53.547316][ T7956] Disabling lock debugging due to kernel taint [ 53.559851][ T7956] Kernel panic - not syncing: panic_on_warn set ... [ 53.566437][ T7956] CPU: 0 PID: 7956 Comm: syz-executor0 Tainted: G B 5.0.0-rc2-next-20190118 #15 [ 53.576728][ T7956] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.586754][ T7956] Call Trace: [ 53.590023][ T7956] dump_stack+0x1db/0x2d0 [ 53.594327][ T7956] ? dump_stack_print_info.cold+0x20/0x20 [ 53.600039][ T7956] panic+0x2cb/0x65c [ 53.603911][ T7956] ? add_taint.cold+0x16/0x16 [ 53.608566][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.613393][ T7956] ? preempt_schedule+0x4b/0x60 [ 53.618220][ T7956] ? ___preempt_schedule+0x16/0x18 [ 53.623304][ T7956] ? trace_hardirqs_on+0xb4/0x310 [ 53.628306][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.633136][ T7956] end_report+0x47/0x4f [ 53.637273][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.642101][ T7956] kasan_report.cold+0xe/0x40 [ 53.646830][ T7956] ? __list_add_valid+0x9a/0xa0 [ 53.651655][ T7956] __asan_report_load8_noabort+0x14/0x20 [ 53.657265][ T7956] __list_add_valid+0x9a/0xa0 [ 53.661918][ T7956] rdma_listen+0x6c9/0xa10 [ 53.666311][ T7956] ? rdma_resolve_addr+0x2720/0x2720 [ 53.671576][ T7956] ucma_listen+0x1bf/0x250 [ 53.675970][ T7956] ? ucma_notify+0x220/0x220 [ 53.680538][ T7956] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.686752][ T7956] ? _copy_from_user+0xdd/0x150 [ 53.691578][ T7956] ucma_write+0x36b/0x480 [ 53.695881][ T7956] ? ucma_notify+0x220/0x220 [ 53.700442][ T7956] ? ucma_open+0x400/0x400 [ 53.704837][ T7956] ? __might_fault+0x12b/0x1e0 [ 53.709580][ T7956] ? find_held_lock+0x35/0x120 [ 53.714327][ T7956] __vfs_write+0x116/0xb40 [ 53.718716][ T7956] ? ucma_open+0x400/0x400 [ 53.723113][ T7956] ? kernel_read+0x120/0x120 [ 53.727682][ T7956] ? fget_raw+0x20/0x20 [ 53.731812][ T7956] ? trace_hardirqs_off_caller+0x300/0x300 [ 53.737601][ T7956] ? apparmor_file_permission+0x25/0x30 [ 53.743128][ T7956] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.749344][ T7956] ? security_file_permission+0x94/0x320 [ 53.754968][ T7956] ? rw_verify_area+0x118/0x360 [ 53.759811][ T7956] vfs_write+0x20c/0x580 [ 53.764032][ T7956] ksys_write+0x105/0x260 [ 53.768337][ T7956] ? __ia32_sys_read+0xb0/0xb0 [ 53.773075][ T7956] ? trace_hardirqs_off_caller+0x300/0x300 [ 53.778865][ T7956] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 53.784302][ T7956] __x64_sys_write+0x73/0xb0 [ 53.788867][ T7956] do_syscall_64+0x1a3/0x800 [ 53.793435][ T7956] ? syscall_return_slowpath+0x5f0/0x5f0 [ 53.799057][ T7956] ? prepare_exit_to_usermode+0x232/0x3b0 [ 53.804756][ T7956] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.810284][ T7956] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.816153][ T7956] RIP: 0033:0x458099 [ 53.820023][ T7956] Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 53.839620][ T7956] RSP: 002b:00007ffb4101ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.848007][ T7956] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 [ 53.855956][ T7956] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 53.863900][ T7956] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 53.871861][ T7956] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffb4101b6d4 [ 53.879808][ T7956] R13: 00000000004c71fe R14: 00000000004dca18 R15: 00000000ffffffff [ 53.888688][ T7956] Kernel Offset: disabled [ 53.893005][ T7956] Rebooting in 86400 seconds..