[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 64.244984][ T26] audit: type=1800 audit(1561943337.982:25): pid=8482 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 64.290862][ T26] audit: type=1800 audit(1561943337.982:26): pid=8482 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 64.329480][ T26] audit: type=1800 audit(1561943337.992:27): pid=8482 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. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 91.106271][ T8893] kobject_add_internal failed for hci1 (error: -2 parent: bluetooth) executing program executing program executing program executing program executing program executing program executing program [ 91.148422][ T8893] Bluetooth: Can't register HCI device executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 91.491852][ T8961] ------------[ cut here ]------------ [ 91.510957][ T8961] refcount_t: increment on 0; use-after-free. [ 91.529059][ T8961] WARNING: CPU: 1 PID: 8961 at lib/refcount.c:156 refcount_inc_checked+0x61/0x70 [ 91.538204][ T8961] Kernel panic - not syncing: panic_on_warn set ... [ 91.545150][ T8961] CPU: 1 PID: 8961 Comm: syz-executor510 Not tainted 5.2.0-rc7 #39 [ 91.553121][ T8961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 91.563168][ T8961] Call Trace: [ 91.566466][ T8961] dump_stack+0x172/0x1f0 [ 91.570813][ T8961] ? refcount_inc_not_zero_checked+0x190/0x200 [ 91.577011][ T8961] panic+0x2cb/0x744 [ 91.581185][ T8961] ? __warn_printk+0xf3/0xf3 [ 91.585781][ T8961] ? refcount_inc_checked+0x61/0x70 [ 91.590977][ T8961] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 91.597249][ T8961] ? __warn.cold+0x5/0x4d [ 91.601687][ T8961] ? __warn+0xe8/0x1d0 [ 91.605781][ T8961] ? refcount_inc_checked+0x61/0x70 [ 91.610990][ T8961] __warn.cold+0x20/0x4d [ 91.615258][ T8961] ? refcount_inc_checked+0x61/0x70 [ 91.620760][ T8961] report_bug+0x263/0x2b0 [ 91.625224][ T8961] do_error_trap+0x11b/0x200 [ 91.629948][ T8961] do_invalid_op+0x37/0x50 [ 91.634391][ T8961] ? refcount_inc_checked+0x61/0x70 [ 91.639611][ T8961] invalid_op+0x14/0x20 [ 91.644208][ T8961] RIP: 0010:refcount_inc_checked+0x61/0x70 [ 91.650291][ T8961] Code: 1d de 5a 48 06 31 ff 89 de e8 cb 53 3c fe 84 db 75 dd e8 82 52 3c fe 48 c7 c7 20 9d a4 87 c6 05 be 5a 48 06 01 e8 9d 8b 0e fe <0f> 0b eb c1 90 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 [ 91.670649][ T8961] RSP: 0018:ffff8880a92978e8 EFLAGS: 00010282 [ 91.676712][ T8961] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 91.684691][ T8961] RDX: 0000000000000000 RSI: ffffffff815adb36 RDI: ffffed1015252f0f [ 91.693277][ T8961] RBP: ffff8880a92978f8 R08: ffff888083574100 R09: ffffed1015d260a1 [ 91.701326][ T8961] R10: ffffed1015d260a0 R11: ffff8880ae930507 R12: ffff8880a7582778 [ 91.709308][ T8961] R13: ffff88809f052ba0 R14: ffff88809f052b98 R15: ffff8880a75826f8 [ 91.717595][ T8961] ? vprintk_func+0x86/0x189 [ 91.722198][ T8961] ? refcount_inc_checked+0x61/0x70 [ 91.727465][ T8961] kobject_get+0x66/0xc0 [ 91.731759][ T8961] kobject_add_internal+0x14f/0x380 [ 91.737049][ T8961] ? kfree_const+0x5e/0x70 [ 91.741464][ T8961] kobject_add+0x150/0x1c0 [ 91.745881][ T8961] ? kset_create_and_add+0x1a0/0x1a0 [ 91.751199][ T8961] ? get_device_parent.isra.0+0x34c/0x560 [ 91.757590][ T8961] ? rcu_read_lock_sched_held+0x110/0x130 [ 91.763315][ T8961] ? kmem_cache_alloc_trace+0x351/0x750 [ 91.768888][ T8961] get_device_parent.isra.0+0x413/0x560 [ 91.774479][ T8961] device_add+0x2df/0x17a0 [ 91.779067][ T8961] ? get_device_parent.isra.0+0x560/0x560 [ 91.784911][ T8961] ? start_creating+0x163/0x1e0 [ 91.789771][ T8961] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 91.796026][ T8961] hci_register_dev+0x2e8/0x860 [ 91.801412][ T8961] __vhci_create_device+0x2d0/0x5a0 [ 91.806664][ T8961] vhci_write+0x2d0/0x470 [ 91.811003][ T8961] new_sync_write+0x4d3/0x770 [ 91.815909][ T8961] ? new_sync_read+0x800/0x800 [ 91.820689][ T8961] ? common_file_perm+0x238/0x720 [ 91.825730][ T8961] ? __fget+0x381/0x550 [ 91.829979][ T8961] ? apparmor_file_permission+0x25/0x30 [ 91.835527][ T8961] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 91.841957][ T8961] ? security_file_permission+0x8f/0x380 [ 91.847635][ T8961] ? putname+0xef/0x130 [ 91.851803][ T8961] __vfs_write+0xe1/0x110 [ 91.856208][ T8961] vfs_write+0x20c/0x580 [ 91.860465][ T8961] ksys_write+0x14f/0x290 [ 91.864862][ T8961] ? __ia32_sys_read+0xb0/0xb0 [ 91.869940][ T8961] ? do_fast_syscall_32+0xd1/0xd7d [ 91.875077][ T8961] ? entry_SYSENTER_compat+0x70/0x7f [ 91.880458][ T8961] ? do_fast_syscall_32+0xd1/0xd7d [ 91.885641][ T8961] __ia32_sys_write+0x71/0xb0 [ 91.890332][ T8961] do_fast_syscall_32+0x27b/0xd7d [ 91.895372][ T8961] entry_SYSENTER_compat+0x70/0x7f [ 91.900595][ T8961] RIP: 0023:0xf7f77849 [ 91.904652][ T8961] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 91.924374][ T8961] RSP: 002b:00000000f7f731fc EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 91.932952][ T8961] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 91.941003][ T8961] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 [ 91.948972][ T8961] RBP: 00000000003d0f00 R08: 0000000000000000 R09: 0000000000000000 [ 91.957982][ T8961] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 91.966083][ T8961] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 91.975714][ T8961] Kernel Offset: disabled [ 91.986585][ T8961] Rebooting in 86400 seconds..