[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 42.572054] audit: type=1800 audit(1547893572.268:25): pid=8001 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 42.593441] audit: type=1800 audit(1547893572.278:26): pid=8001 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 42.613643] audit: type=1800 audit(1547893572.278:27): pid=8001 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.10.5' (ECDSA) to the list of known hosts. 2019/01/19 10:26:24 parsed 1 programs 2019/01/19 10:26:26 executed programs: 0 syzkaller login: [ 56.621029] IPVS: ftp: loaded support on port[0] = 21 [ 56.695116] chnl_net:caif_netlink_parms(): no params data found [ 56.727341] bridge0: port 1(bridge_slave_0) entered blocking state [ 56.735923] bridge0: port 1(bridge_slave_0) entered disabled state [ 56.743201] device bridge_slave_0 entered promiscuous mode [ 56.750277] bridge0: port 2(bridge_slave_1) entered blocking state [ 56.756714] bridge0: port 2(bridge_slave_1) entered disabled state [ 56.763763] device bridge_slave_1 entered promiscuous mode [ 56.780095] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 56.789619] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 56.806257] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 56.813992] team0: Port device team_slave_0 added [ 56.819292] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 56.826619] team0: Port device team_slave_1 added [ 56.831794] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 56.839154] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 56.906423] device hsr_slave_0 entered promiscuous mode [ 56.972688] device hsr_slave_1 entered promiscuous mode [ 57.052988] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 57.059861] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 57.074040] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.080464] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.087523] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.093927] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.125821] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 57.131875] 8021q: adding VLAN 0 to HW filter on device bond0 [ 57.140201] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 57.149341] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 57.169235] bridge0: port 1(bridge_slave_0) entered disabled state [ 57.176534] bridge0: port 2(bridge_slave_1) entered disabled state [ 57.184495] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 57.195086] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 57.201137] 8021q: adding VLAN 0 to HW filter on device team0 [ 57.209691] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 57.218137] bridge0: port 1(bridge_slave_0) entered blocking state [ 57.224541] bridge0: port 1(bridge_slave_0) entered forwarding state [ 57.243118] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 57.250771] bridge0: port 2(bridge_slave_1) entered blocking state [ 57.257210] bridge0: port 2(bridge_slave_1) entered forwarding state [ 57.265095] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 57.273077] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 57.281262] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 57.290362] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 57.301689] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 57.313941] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 57.319925] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 57.327281] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 57.339940] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready [ 57.353441] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 57.678900] ================================================================== [ 57.686334] BUG: KASAN: use-after-free in __list_add_valid+0x9a/0xa0 [ 57.692808] Read of size 8 at addr ffff88809449f760 by task syz-executor0/8232 [ 57.700144] [ 57.701760] CPU: 1 PID: 8232 Comm: syz-executor0 Not tainted 5.0.0-rc2+ #32 [ 57.708839] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.718172] Call Trace: [ 57.720744] dump_stack+0x1db/0x2d0 [ 57.724375] ? dump_stack_print_info.cold+0x20/0x20 [ 57.729392] ? trace_hardirqs_on+0xbd/0x310 [ 57.733701] ? __list_add_valid+0x9a/0xa0 [ 57.737855] print_address_description.cold+0x7c/0x20d [ 57.743126] ? __list_add_valid+0x9a/0xa0 [ 57.747258] ? __list_add_valid+0x9a/0xa0 [ 57.751413] kasan_report.cold+0x1b/0x40 [ 57.755469] ? __list_add_valid+0x9a/0xa0 [ 57.759603] __asan_report_load8_noabort+0x14/0x20 [ 57.764519] __list_add_valid+0x9a/0xa0 [ 57.768479] rdma_listen+0x6c9/0xa10 [ 57.772193] ? rdma_resolve_addr+0x2720/0x2720 [ 57.776794] ucma_listen+0x1bf/0x250 [ 57.780491] ? ucma_notify+0x220/0x220 [ 57.784366] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 57.789886] ? _copy_from_user+0xdd/0x150 [ 57.794018] ucma_write+0x36b/0x480 [ 57.797639] ? ucma_notify+0x220/0x220 [ 57.801513] ? ucma_open+0x400/0x400 [ 57.805209] ? __might_fault+0x12b/0x1e0 [ 57.809255] ? find_held_lock+0x35/0x120 [ 57.813305] __vfs_write+0x116/0xb40 [ 57.817007] ? ucma_open+0x400/0x400 [ 57.820704] ? kernel_read+0x120/0x120 [ 57.824584] ? fget_raw+0x20/0x20 [ 57.828023] ? trace_hardirqs_off_caller+0x300/0x300 [ 57.833113] ? apparmor_file_permission+0x25/0x30 [ 57.837944] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 57.843478] ? security_file_permission+0x94/0x320 [ 57.848395] ? rw_verify_area+0x118/0x360 [ 57.852529] vfs_write+0x20c/0x580 [ 57.856091] ksys_write+0x105/0x260 [ 57.859728] ? __ia32_sys_read+0xb0/0xb0 [ 57.863775] ? trace_hardirqs_off_caller+0x300/0x300 [ 57.868865] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.873608] __x64_sys_write+0x73/0xb0 [ 57.877481] do_syscall_64+0x1a3/0x800 [ 57.881367] ? syscall_return_slowpath+0x5f0/0x5f0 [ 57.886281] ? prepare_exit_to_usermode+0x232/0x3b0 [ 57.891291] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 57.896153] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.901320] RIP: 0033:0x458099 [ 57.904492] 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 [ 57.923373] RSP: 002b:00007f958474ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.931061] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 [ 57.938314] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 57.945582] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 57.952835] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f958474f6d4 [ 57.960091] R13: 00000000004c71fe R14: 00000000004dca18 R15: 00000000ffffffff [ 57.967357] [ 57.968976] Allocated by task 8226: [ 57.972608] save_stack+0x45/0xd0 [ 57.976060] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 57.980992] kasan_kmalloc+0x9/0x10 [ 57.984609] kmem_cache_alloc_trace+0x151/0x760 [ 57.989258] __rdma_create_id+0xce/0x630 [ 57.993335] ucma_create_id+0x30f/0x910 [ 57.997314] ucma_write+0x36b/0x480 [ 58.000923] __vfs_write+0x116/0xb40 [ 58.004632] vfs_write+0x20c/0x580 [ 58.008159] ksys_write+0x105/0x260 [ 58.011767] __x64_sys_write+0x73/0xb0 [ 58.015640] do_syscall_64+0x1a3/0x800 [ 58.019510] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.024675] [ 58.026294] Freed by task 8224: [ 58.029554] save_stack+0x45/0xd0 [ 58.033293] __kasan_slab_free+0x102/0x150 [ 58.037511] kasan_slab_free+0xe/0x10 [ 58.041307] kfree+0xcf/0x230 [ 58.044397] rdma_destroy_id+0x8be/0xd80 [ 58.048445] ucma_close+0x115/0x320 [ 58.052073] __fput+0x3c5/0xb10 [ 58.055333] ____fput+0x16/0x20 [ 58.058594] task_work_run+0x1f4/0x2b0 [ 58.062472] exit_to_usermode_loop+0x32a/0x3b0 [ 58.067054] do_syscall_64+0x696/0x800 [ 58.070935] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.076108] [ 58.077726] The buggy address belongs to the object at ffff88809449f580 [ 58.077726] which belongs to the cache kmalloc-2k of size 2048 [ 58.090364] The buggy address is located 480 bytes inside of [ 58.090364] 2048-byte region [ffff88809449f580, ffff88809449fd80) [ 58.102313] The buggy address belongs to the page: [ 58.107226] page:ffffea0002512780 count:1 mapcount:0 mapping:ffff88812c3f0c40 index:0x0 compound_mapcount: 0 [ 58.117183] flags: 0x1fffc0000010200(slab|head) [ 58.121843] raw: 01fffc0000010200 ffffea0002169488 ffff88812c3f1948 ffff88812c3f0c40 [ 58.129710] raw: 0000000000000000 ffff88809449e480 0000000100000003 0000000000000000 [ 58.137579] page dumped because: kasan: bad access detected [ 58.143265] [ 58.144869] Memory state around the buggy address: [ 58.149803] ffff88809449f600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.157149] ffff88809449f680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.164487] >ffff88809449f700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.171822] ^ [ 58.178307] ffff88809449f780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.185645] ffff88809449f800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.192980] ================================================================== [ 58.200349] Disabling lock debugging due to kernel taint [ 58.211354] Kernel panic - not syncing: panic_on_warn set ... [ 58.217245] CPU: 1 PID: 8232 Comm: syz-executor0 Tainted: G B 5.0.0-rc2+ #32 [ 58.225708] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.235038] Call Trace: [ 58.237605] dump_stack+0x1db/0x2d0 [ 58.241244] ? dump_stack_print_info.cold+0x20/0x20 [ 58.246263] panic+0x2cb/0x65c [ 58.249438] ? add_taint.cold+0x16/0x16 [ 58.253395] ? __list_add_valid+0x9a/0xa0 [ 58.257538] ? preempt_schedule+0x4b/0x60 [ 58.261676] ? ___preempt_schedule+0x16/0x18 [ 58.266063] ? trace_hardirqs_on+0xb4/0x310 [ 58.270369] ? __list_add_valid+0x9a/0xa0 [ 58.274499] end_report+0x47/0x4f [ 58.277936] ? __list_add_valid+0x9a/0xa0 [ 58.282088] kasan_report.cold+0xe/0x40 [ 58.286044] ? __list_add_valid+0x9a/0xa0 [ 58.290172] __asan_report_load8_noabort+0x14/0x20 [ 58.295083] __list_add_valid+0x9a/0xa0 [ 58.299060] rdma_listen+0x6c9/0xa10 [ 58.302766] ? rdma_resolve_addr+0x2720/0x2720 [ 58.307334] ucma_listen+0x1bf/0x250 [ 58.311043] ? ucma_notify+0x220/0x220 [ 58.314916] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 58.320432] ? _copy_from_user+0xdd/0x150 [ 58.330570] ucma_write+0x36b/0x480 [ 58.334191] ? ucma_notify+0x220/0x220 [ 58.338058] ? ucma_open+0x400/0x400 [ 58.341757] ? __might_fault+0x12b/0x1e0 [ 58.345800] ? find_held_lock+0x35/0x120 [ 58.349845] __vfs_write+0x116/0xb40 [ 58.353544] ? ucma_open+0x400/0x400 [ 58.357260] ? kernel_read+0x120/0x120 [ 58.361135] ? fget_raw+0x20/0x20 [ 58.364577] ? trace_hardirqs_off_caller+0x300/0x300 [ 58.369665] ? apparmor_file_permission+0x25/0x30 [ 58.374488] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.380034] ? security_file_permission+0x94/0x320 [ 58.384972] ? rw_verify_area+0x118/0x360 [ 58.389115] vfs_write+0x20c/0x580 [ 58.392655] ksys_write+0x105/0x260 [ 58.396265] ? __ia32_sys_read+0xb0/0xb0 [ 58.400306] ? trace_hardirqs_off_caller+0x300/0x300 [ 58.405421] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 58.410160] __x64_sys_write+0x73/0xb0 [ 58.414045] do_syscall_64+0x1a3/0x800 [ 58.417935] ? syscall_return_slowpath+0x5f0/0x5f0 [ 58.422845] ? prepare_exit_to_usermode+0x232/0x3b0 [ 58.427845] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 58.432672] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.437842] RIP: 0033:0x458099 [ 58.441020] 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 [ 58.459903] RSP: 002b:00007f958474ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.467601] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 [ 58.474861] RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000003 [ 58.482124] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 58.489382] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f958474f6d4 [ 58.496642] R13: 00000000004c71fe R14: 00000000004dca18 R15: 00000000ffffffff [ 58.504766] Kernel Offset: disabled [ 58.508386] Rebooting in 86400 seconds..