[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 29.323734] kauditd_printk_skb: 7 callbacks suppressed [ 29.323745] audit: type=1800 audit(1544288779.166:29): pid=5865 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 29.349034] audit: type=1800 audit(1544288779.166:30): pid=5865 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.23' (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 syzkaller login: [ 56.123803] kobject_add_internal failed for hci2 (error: -2 parent: bluetooth) [ 56.150493] kobject_add_internal failed for hci1 (error: -2 parent: bluetooth) [ 56.163011] 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 [ 56.192089] 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 [ 56.231018] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) [ 56.250650] 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 [ 56.301267] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) [ 56.322758] Bluetooth: Can't register HCI device [ 56.336226] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) 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 [ 56.375090] 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 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 [ 56.633623] ------------[ cut here ]------------ [ 56.647337] kernfs_put: bluetooth/hci1: released with incorrect active_ref 0 [ 56.665666] WARNING: CPU: 1 PID: 6232 at fs/kernfs/dir.c:527 kernfs_put+0x622/0x760 [ 56.666130] kobject: 'rfkill202' (000000002d905999): kobject_uevent_env [ 56.673463] Kernel panic - not syncing: panic_on_warn set ... [ 56.673474] CPU: 1 PID: 6232 Comm: syz-executor125 Not tainted 4.20.0-rc5+ #146 [ 56.673479] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.673482] Call Trace: [ 56.673497] dump_stack+0x244/0x39d [ 56.673509] ? dump_stack_print_info.cold.1+0x20/0x20 [ 56.673523] panic+0x2ad/0x55c [ 56.673531] ? add_taint.cold.5+0x16/0x16 [ 56.673543] ? __warn.cold.8+0x5/0x45 [ 56.673550] ? __warn+0xe8/0x1d0 [ 56.673560] ? kernfs_put+0x622/0x760 [ 56.673568] __warn.cold.8+0x20/0x45 [ 56.673575] ? rcu_softirq_qs+0x20/0x20 [ 56.673584] ? kernfs_put+0x622/0x760 [ 56.673603] report_bug+0x254/0x2d0 [ 56.673614] do_error_trap+0x11b/0x200 [ 56.684538] kobject: 'hci5' (000000003677aa20): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 56.686361] do_invalid_op+0x36/0x40 [ 56.694744] kobject: 'hci4' (000000003e068380): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4' [ 56.703129] ? kernfs_put+0x622/0x760 [ 56.703147] invalid_op+0x14/0x20 [ 56.703156] RIP: 0010:kernfs_put+0x622/0x760 [ 56.703169] Code: 00 49 8b 76 30 48 89 b5 20 ff ff ff e8 57 c7 86 ff 48 8b b5 20 ff ff ff 44 89 e9 4c 89 fa 48 c7 c7 40 a7 37 88 e8 4e 27 50 ff <0f> 0b e9 ba fb ff ff e8 22 20 ca ff e9 25 fd ff ff 4c 89 ff e8 15 [ 56.715463] kobject: 'rfkill202' (000000002d905999): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill202' [ 56.717721] RSP: 0018:ffff8881b572f868 EFLAGS: 00010286 [ 56.727538] kobject: 'hci5' (000000003677aa20): kobject_uevent_env [ 56.729115] RAX: 0000000000000000 RBX: ffff8881bff30620 RCX: 0000000000000000 [ 56.729125] RDX: 0000000000000000 RSI: ffffffff8165e495 RDI: 0000000000000005 [ 56.736060] kobject: 'rfkill203' (00000000de29e674): kobject_add_internal: parent: 'hci4', set: 'devices' [ 56.736724] RBP: ffff8881b572f970 R08: ffff8881bf744700 R09: ffffed103b5e3ef8 [ 56.740851] kobject: 'rfkill203' (00000000de29e674): kobject_uevent_env [ 56.744462] R10: ffffed103b5e3ef8 R11: ffff8881daf1f7c7 R12: dffffc0000000000 [ 56.744468] R13: 0000000000000000 R14: ffff8881c06fb2a0 R15: ffff8881cca33780 [ 56.744486] ? vprintk_func+0x85/0x181 [ 56.744501] ? kernfs_put+0x622/0x760 [ 56.751108] kobject: 'rfkill202' (000000002d905999): kobject_uevent_env [ 56.752075] ? kernfs_get+0x30/0x30 [ 56.765280] kobject: 'hci5' (000000003677aa20): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5' [ 56.765478] ? mutex_unlock+0xd/0x10 [ 56.787715] kobject: 'rfkill203' (00000000de29e674): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill203' [ 56.805544] ? kernfs_remove+0x2f/0x40 [ 56.805559] kobject_del.part.4+0x42/0xf0 [ 56.805569] kobject_del+0x1f/0x30 [ 56.805579] device_del+0x6f8/0xb70 [ 56.805591] ? __device_links_no_driver+0x320/0x320 [ 56.805606] ? kobject_put+0x86/0xe0 [ 56.817679] kobject: 'rfkill202' (000000002d905999): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill202' [ 56.821872] hci_unregister_dev+0x3a2/0x990 [ 56.877203] kobject: 'rfkill203' (00000000de29e674): kobject_uevent_env [ 56.881038] ? hci_bdaddr_list_clear+0x2f0/0x2f0 [ 56.897444] kobject: 'rfkill203' (00000000de29e674): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill203' [ 56.899041] ? ima_file_check+0x130/0x130 [ 56.928493] kobject: 'rfkill203' (00000000de29e674): kobject_cleanup, parent (null) [ 56.931528] ? vhci_close_dev+0x50/0x50 [ 56.935169] kobject: 'rfkill204' (00000000bd84478f): kobject_add_internal: parent: 'hci2', set: 'devices' [ 56.938677] vhci_release+0x76/0xf0 [ 56.948527] kobject: 'rfkill204' (00000000bd84478f): kobject_uevent_env [ 56.958272] __fput+0x385/0xa30 [ 56.958285] ? get_max_files+0x20/0x20 [ 56.958295] ? trace_hardirqs_on+0xbd/0x310 [ 56.958309] ? kasan_check_read+0x11/0x20 [ 56.968366] kobject: 'rfkill203' (00000000de29e674): calling ktype release [ 56.969575] ? task_work_run+0x1af/0x2a0 [ 56.969586] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.969595] ? filp_close+0x1cd/0x250 [ 56.969607] ____fput+0x15/0x20 [ 56.969615] task_work_run+0x1e8/0x2a0 [ 56.969626] ? task_work_cancel+0x240/0x240 [ 56.969636] ? copy_fd_bitmaps+0x210/0x210 [ 56.969646] ? do_syscall_64+0x9a/0x820 [ 56.969657] exit_to_usermode_loop+0x318/0x380 [ 56.969667] ? __bpf_trace_sys_exit+0x30/0x30 [ 56.969681] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.969691] do_syscall_64+0x6be/0x820 [ 56.969700] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 56.969710] ? syscall_return_slowpath+0x5e0/0x5e0 [ 56.969856] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 56.969873] ? trace_hardirqs_on_caller+0x310/0x310 [ 56.986684] kobject: 'rfkill203': free name [ 56.989695] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 57.005555] kobject: 'rfkill204' (00000000bd84478f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill204' [ 57.011981] ? prepare_exit_to_usermode+0x291/0x3b0 [ 57.027984] kobject: 'hci4' (000000003e068380): kobject_uevent_env [ 57.029609] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 57.040304] kobject: 'rfkill204' (00000000bd84478f): kobject_uevent_env [ 57.045154] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.045164] RIP: 0033:0x400dd0 [ 57.045178] Code: 01 f0 ff ff 0f 83 b0 0a 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d fd 18 2d 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 84 0a 00 00 c3 48 83 ec 08 e8 3a 01 00 00 [ 57.054401] kobject: 'hci4' (000000003e068380): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4' [ 57.058161] RSP: 002b:00007ffd4983f998 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 57.070625] kobject: 'rfkill204' (00000000bd84478f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill204' [ 57.073995] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000400dd0 [ 57.074011] RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 [ 57.074016] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 57.074020] R10: 0000000001e45880 R11: 0000000000000246 R12: 000000000000dcfd [ 57.074025] R13: 0000000000401d70 R14: 0000000000000000 R15: 0000000000000000 [ 57.078988] Kernel Offset: disabled [ 57.256281] Rebooting in 86400 seconds..