[ 51.857313][ T26] audit: type=1800 audit(1561609243.666:25): pid=8295 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 51.879341][ T26] audit: type=1800 audit(1561609243.666:26): pid=8295 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 51.913906][ T26] audit: type=1800 audit(1561609243.666:27): pid=8295 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. [....] startpar: service(s) returned failure: ssh ...[?25l[?1c7[FAIL8[?25h[?0c failed! Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.1.4' (ECDSA) to the list of known hosts. 2019/06/27 04:20:56 parsed 1 programs 2019/06/27 04:20:58 executed programs: 0 syzkaller login: [ 66.897825][ T8485] IPVS: ftp: loaded support on port[0] = 21 [ 66.957527][ T8485] chnl_net:caif_netlink_parms(): no params data found [ 66.982566][ T8485] bridge0: port 1(bridge_slave_0) entered blocking state [ 66.991294][ T8485] bridge0: port 1(bridge_slave_0) entered disabled state [ 66.999179][ T8485] device bridge_slave_0 entered promiscuous mode [ 67.007266][ T8485] bridge0: port 2(bridge_slave_1) entered blocking state [ 67.014484][ T8485] bridge0: port 2(bridge_slave_1) entered disabled state [ 67.022044][ T8485] device bridge_slave_1 entered promiscuous mode [ 67.039737][ T8485] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 67.050861][ T8485] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 67.069386][ T8485] team0: Port device team_slave_0 added [ 67.076429][ T8485] team0: Port device team_slave_1 added [ 67.126370][ T8485] device hsr_slave_0 entered promiscuous mode [ 67.194128][ T8485] device hsr_slave_1 entered promiscuous mode [ 67.271570][ T8485] bridge0: port 2(bridge_slave_1) entered blocking state [ 67.278806][ T8485] bridge0: port 2(bridge_slave_1) entered forwarding state [ 67.286646][ T8485] bridge0: port 1(bridge_slave_0) entered blocking state [ 67.293708][ T8485] bridge0: port 1(bridge_slave_0) entered forwarding state [ 67.327166][ T8485] 8021q: adding VLAN 0 to HW filter on device bond0 [ 67.338045][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 67.358482][ T23] bridge0: port 1(bridge_slave_0) entered disabled state [ 67.368429][ T23] bridge0: port 2(bridge_slave_1) entered disabled state [ 67.377944][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 67.389251][ T8485] 8021q: adding VLAN 0 to HW filter on device team0 [ 67.399911][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 67.408583][ T12] bridge0: port 1(bridge_slave_0) entered blocking state [ 67.415676][ T12] bridge0: port 1(bridge_slave_0) entered forwarding state [ 67.436282][ T8487] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 67.445217][ T8487] bridge0: port 2(bridge_slave_1) entered blocking state [ 67.452260][ T8487] bridge0: port 2(bridge_slave_1) entered forwarding state [ 67.460392][ T8487] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 67.469922][ T8487] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 67.478820][ T8487] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 67.487721][ T8487] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 67.498970][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 67.509228][ T8485] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 67.527273][ T8485] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 67.774744][ T12] ================================================================== [ 67.782989][ T12] BUG: KASAN: use-after-free in xfrm_hash_rebuild+0xfff/0x10f0 [ 67.790517][ T12] Write of size 8 at addr ffff8880a4811680 by task kworker/0:1/12 [ 67.798292][ T12] [ 67.800609][ T12] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.2.0-rc5+ #45 [ 67.808038][ T12] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.818085][ T12] Workqueue: events xfrm_hash_rebuild [ 67.823446][ T12] Call Trace: [ 67.826723][ T12] dump_stack+0x172/0x1f0 [ 67.831034][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 67.836215][ T12] print_address_description.cold+0x7c/0x20d [ 67.842175][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 67.847351][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 67.852532][ T12] __kasan_report.cold+0x1b/0x40 [ 67.857459][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 67.862638][ T12] kasan_report+0x12/0x20 [ 67.866950][ T12] __asan_report_store8_noabort+0x17/0x20 [ 67.872650][ T12] xfrm_hash_rebuild+0xfff/0x10f0 [ 67.877680][ T12] process_one_work+0x989/0x1790 [ 67.882603][ T12] ? pwq_dec_nr_in_flight+0x320/0x320 [ 67.887954][ T12] ? lock_acquire+0x16f/0x3f0 [ 67.892619][ T12] worker_thread+0x98/0xe40 [ 67.897103][ T12] ? trace_hardirqs_on+0x67/0x220 [ 67.902114][ T12] kthread+0x354/0x420 [ 67.906163][ T12] ? process_one_work+0x1790/0x1790 [ 67.911339][ T12] ? kthread_cancel_delayed_work_sync+0x20/0x20 [ 67.917557][ T12] ret_from_fork+0x24/0x30 [ 67.921958][ T12] [ 67.924266][ T12] Allocated by task 8485: [ 67.928588][ T12] save_stack+0x23/0x90 [ 67.932740][ T12] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 67.938363][ T12] kasan_kmalloc+0x9/0x10 [ 67.942670][ T12] __kmalloc+0x15c/0x740 [ 67.946892][ T12] xfrm_hash_alloc+0xd1/0x100 [ 67.951549][ T12] xfrm_net_init+0x227/0xa30 [ 67.956118][ T12] ops_init+0xb3/0x410 [ 67.960162][ T12] setup_net+0x2cc/0x880 [ 67.964382][ T12] copy_net_ns+0x1df/0x340 [ 67.968779][ T12] create_new_namespaces+0x400/0x7b0 [ 67.974041][ T12] unshare_nsproxy_namespaces+0xc2/0x200 [ 67.979654][ T12] ksys_unshare+0x440/0x980 [ 67.984138][ T12] __x64_sys_unshare+0x31/0x40 [ 67.988890][ T12] do_syscall_64+0xfd/0x680 [ 67.993370][ T12] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 67.999248][ T12] [ 68.001554][ T12] Freed by task 5: [ 68.005253][ T12] save_stack+0x23/0x90 [ 68.009387][ T12] __kasan_slab_free+0x102/0x150 [ 68.014303][ T12] kasan_slab_free+0xe/0x10 [ 68.018780][ T12] kfree+0xcf/0x220 [ 68.022564][ T12] xfrm_hash_free+0xc3/0xe0 [ 68.027047][ T12] xfrm_hash_resize+0x695/0x1600 [ 68.031962][ T12] process_one_work+0x989/0x1790 [ 68.036876][ T12] worker_thread+0x98/0xe40 [ 68.041355][ T12] kthread+0x354/0x420 [ 68.045402][ T12] ret_from_fork+0x24/0x30 [ 68.049878][ T12] [ 68.052189][ T12] The buggy address belongs to the object at ffff8880a4811680 [ 68.052189][ T12] which belongs to the cache kmalloc-64 of size 64 [ 68.066044][ T12] The buggy address is located 0 bytes inside of [ 68.066044][ T12] 64-byte region [ffff8880a4811680, ffff8880a48116c0) [ 68.079026][ T12] The buggy address belongs to the page: [ 68.084639][ T12] page:ffffea0002920440 refcount:1 mapcount:0 mapping:ffff8880aa400340 index:0x0 [ 68.093722][ T12] flags: 0x1fffc0000000200(slab) [ 68.098642][ T12] raw: 01fffc0000000200 ffffea00025b05c8 ffffea0002426588 ffff8880aa400340 [ 68.107210][ T12] raw: 0000000000000000 ffff8880a4811000 0000000100000020 0000000000000000 [ 68.115767][ T12] page dumped because: kasan: bad access detected [ 68.122164][ T12] [ 68.124470][ T12] Memory state around the buggy address: [ 68.130079][ T12] ffff8880a4811580: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 68.138117][ T12] ffff8880a4811600: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 68.146157][ T12] >ffff8880a4811680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 68.154311][ T12] ^ [ 68.158446][ T12] ffff8880a4811700: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 68.166490][ T12] ffff8880a4811780: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 68.174526][ T12] ================================================================== [ 68.182562][ T12] Disabling lock debugging due to kernel taint [ 68.188730][ T12] Kernel panic - not syncing: panic_on_warn set ... [ 68.195300][ T12] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G B 5.2.0-rc5+ #45 [ 68.204115][ T12] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.214161][ T12] Workqueue: events xfrm_hash_rebuild [ 68.219506][ T12] Call Trace: [ 68.222778][ T12] dump_stack+0x172/0x1f0 [ 68.227091][ T12] panic+0x2cb/0x744 [ 68.230968][ T12] ? __warn_printk+0xf3/0xf3 [ 68.235537][ T12] ? retint_kernel+0x2b/0x2b [ 68.240211][ T12] ? trace_hardirqs_on+0x5e/0x220 [ 68.245214][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 68.250392][ T12] end_report+0x47/0x4f [ 68.254527][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 68.259700][ T12] __kasan_report.cold+0xe/0x40 [ 68.264529][ T12] ? xfrm_hash_rebuild+0xfff/0x10f0 [ 68.269706][ T12] kasan_report+0x12/0x20 [ 68.274015][ T12] __asan_report_store8_noabort+0x17/0x20 [ 68.279715][ T12] xfrm_hash_rebuild+0xfff/0x10f0 [ 68.284721][ T12] process_one_work+0x989/0x1790 [ 68.289639][ T12] ? pwq_dec_nr_in_flight+0x320/0x320 [ 68.294986][ T12] ? lock_acquire+0x16f/0x3f0 [ 68.299645][ T12] worker_thread+0x98/0xe40 [ 68.304213][ T12] ? trace_hardirqs_on+0x67/0x220 [ 68.309218][ T12] kthread+0x354/0x420 [ 68.313278][ T12] ? process_one_work+0x1790/0x1790 [ 68.318453][ T12] ? kthread_cancel_delayed_work_sync+0x20/0x20 [ 68.324760][ T12] ret_from_fork+0x24/0x30 [ 68.330668][ T12] Kernel Offset: disabled [ 68.334994][ T12] Rebooting in 86400 seconds..