[....] 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.595105] kauditd_printk_skb: 7 callbacks suppressed [ 29.595120] audit: type=1800 audit(1543145187.187:29): pid=5958 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 29.621556] audit: type=1800 audit(1543145187.197:30): pid=5958 uid=0 auid=4294967295 ses=4294967295 subj==unconfined 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.59' (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 syzkaller login: [ 40.871536] kasan: CONFIG_KASAN_INLINE enabled executing program executing program executing program [ 40.894881] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 40.915508] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 40.917164] kobject: 'hci0' (0000000059803d80): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 40.921768] CPU: 0 PID: 6169 Comm: syz-executor432 Not tainted 4.20.0-rc1-next-20181109+ #110 [ 40.921777] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.921797] RIP: 0010:kernfs_add_one+0x342/0x4d0 [ 40.921815] Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 49 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6d 70 49 8d 7d 08 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 16 01 00 00 45 8b 6d 08 31 ff [ 40.939598] kobject: 'hci3' (00000000241dd732): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' [ 40.940185] RSP: 0018:ffff8801bb87f5d0 EFLAGS: 00010202 [ 40.965825] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) [ 40.973199] RAX: dffffc0000000000 RBX: ffff8801c53c6a80 RCX: ffffffff87cdfac7 [ 40.973208] RDX: 0000000000000001 RSI: ffffffff81fa80ca RDI: 0000000000000008 [ 40.973216] RBP: ffff8801bb87f618 R08: fffffbfff12d0189 R09: fffffbfff12d0188 [ 40.973225] R10: fffffbfff12d0188 R11: ffffffff89680c47 R12: 0000000000000000 [ 40.973233] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 40.973246] FS: 0000000000a94880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 40.973260] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 40.983009] kobject: 'hci3' (00000000241dd732): kobject_cleanup, parent (null) [ 40.988230] CR2: 0000000000414ac0 CR3: 00000001bb86c000 CR4: 00000000001406f0 [ 40.988242] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 40.988264] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 40.988269] Call Trace: [ 40.988311] kernfs_create_dir_ns+0xf6/0x160 [ 41.004365] kobject: 'hci3' (00000000241dd732): calling ktype release [ 41.010258] sysfs_create_dir_ns+0x19b/0x340 [ 41.010276] ? sysfs_create_mount_point+0xa0/0xa0 [ 41.010291] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 41.010310] ? class_dir_child_ns_type+0xd/0x60 [ 41.037007] Bluetooth: Can't register HCI device [ 41.040351] kobject_add_internal.cold.11+0x116/0x6af [ 41.040370] ? kobj_ns_type_registered+0x60/0x60 [ 41.040391] ? lock_downgrade+0x900/0x900 [ 41.048761] kobject: 'hci3': free name [ 41.054510] ? refcount_dec_checked+0x70/0x70 [ 41.054529] ? kasan_check_read+0x11/0x20 [ 41.054547] kobject_add+0x13f/0x1b0 executing program [ 41.065226] kobject: 'hci0' (0000000059803d80): kobject_cleanup, parent (null) [ 41.069095] ? kset_create_and_add+0x190/0x190 [ 41.069114] ? mutex_unlock+0xd/0x10 [ 41.069128] ? device_add+0x382/0x18e0 [ 41.069145] device_add+0x445/0x18e0 [ 41.112430] kobject: 'hci0' (0000000059803d80): calling ktype release [ 41.113391] ? kfree_const+0x5e/0x70 [ 41.135803] kobject: 'hci0': free name [ 41.135858] ? get_device_parent.isra.25+0x5a0/0x5a0 [ 41.166261] kobject: 'bluetooth' (000000009186a219): kobject_add_internal: parent: 'virtual', set: '(null)' [ 41.167843] ? dev_set_name+0xad/0xe0 [ 41.167858] ? device_initialize+0x5f0/0x5f0 [ 41.167882] hci_register_dev+0x3b3/0x9c0 [ 41.167901] ? _copy_from_iter_full+0x2d8/0xce0 [ 41.174566] kobject: 'hci0' (00000000966b271f): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 41.178185] ? hci_conn_params_free+0x810/0x810 [ 41.178202] ? iov_iter_advance+0x13f0/0x13f0 [ 41.178219] __vhci_create_device+0x2c1/0x580 [ 41.178235] vhci_write+0x2de/0x470 executing program executing program [ 41.182320] kobject: 'hci0' (00000000966b271f): kobject_uevent_env [ 41.187227] __vfs_write+0x6b8/0x9f0 [ 41.187245] ? kernel_read+0x120/0x120 [ 41.187269] ? apparmor_path_rmdir+0x30/0x30 [ 41.197238] kobject: 'hci0' (00000000966b271f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' [ 41.200948] ? apparmor_file_permission+0x24/0x30 [ 41.200966] ? rw_verify_area+0x118/0x360 [ 41.200983] vfs_write+0x1fc/0x560 [ 41.207964] kobject: 'rfkill59' (00000000e1c69c84): kobject_add_internal: parent: 'hci0', set: 'devices' [ 41.209536] ksys_write+0x101/0x260 executing program executing program [ 41.209553] ? __ia32_sys_read+0xb0/0xb0 [ 41.209573] ? trace_hardirqs_off_caller+0x300/0x300 [ 41.214514] kobject: 'rfkill59' (00000000e1c69c84): kobject_uevent_env [ 41.223941] __x64_sys_write+0x73/0xb0 [ 41.223959] do_syscall_64+0x1b9/0x820 [ 41.223979] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 41.223998] ? syscall_return_slowpath+0x5e0/0x5e0 [ 41.228778] kobject: 'rfkill59' (00000000e1c69c84): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill59' [ 41.233177] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.233193] ? trace_hardirqs_on_caller+0x310/0x310 [ 41.233209] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 41.233228] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.240128] kobject: 'rfkill59' (00000000e1c69c84): kobject_uevent_env [ 41.241358] ? prepare_exit_to_usermode+0x291/0x3b0 [ 41.241377] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.241397] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.247816] kobject: 'rfkill59' (00000000e1c69c84): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill59' [ 41.251425] RIP: 0033:0x440e49 [ 41.251441] Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0b 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 41.251449] RSP: 002b:00007fff37fe7128 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 41.256211] kobject: 'rfkill59' (00000000e1c69c84): kobject_cleanup, parent (null) [ 41.259747] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440e49 [ 41.259756] RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 executing program [ 41.259764] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 41.259773] R10: 0000000000a94880 R11: 0000000000000213 R12: 0000000000009f70 [ 41.259780] R13: 0000000000401d70 R14: 0000000000000000 R15: 0000000000000000 [ 41.259794] Modules linked in: [ 41.269505] kobject: 'rfkill59' (00000000e1c69c84): calling ktype release [ 41.278464] kobject: 'hci4' (0000000040d012ba): kobject_cleanup, parent (null) [ 41.278473] kobject: 'hci4' (0000000040d012ba): calling ktype release [ 41.278520] kobject: 'hci4': free name [ 41.283414] kobject: 'hci2' (000000004d4308ad): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 41.300850] kobject: 'hci4' (0000000088ab5569): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 41.305176] kobject: 'hci3' (00000000e4861fb7): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 41.311804] kobject: 'hci4' (0000000088ab5569): kobject_uevent_env [ 41.317087] kobject: 'hci5' (00000000e445f041): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 41.324868] kobject: 'rfkill59': free name [ 41.330007] kobject: 'hci3' (00000000e4861fb7): kobject_uevent_env [ 41.340696] kobject: 'hci4' (0000000088ab5569): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4' [ 41.345587] kobject: 'hci5' (00000000e445f041): kobject_uevent_env [ 41.352722] kobject: 'rfkill60' (0000000024c10b88): kobject_add_internal: parent: 'hci4', set: 'devices' [ 41.355771] kobject: 'hci3' (00000000e4861fb7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' [ 41.361418] kobject: 'hci0' (00000000966b271f): kobject_uevent_env [ 41.368137] kobject: 'hci2' (000000004d4308ad): kobject_uevent_env [ 41.373311] kobject: 'rfkill60' (0000000024c10b88): kobject_uevent_env [ 41.377990] kobject: 'hci5' (00000000e445f041): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5' [ 41.383256] kobject: 'hci0' (00000000966b271f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' [ 41.394029] kobject: 'hci2' (000000004d4308ad): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' [ 41.397341] kobject: 'rfkill60' (0000000024c10b88): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill60' [ 41.418560] kobject: 'hci0' (00000000966b271f): kobject_cleanup, parent (null) [ 41.430937] kobject: 'rfkill60' (0000000024c10b88): kobject_uevent_env [ 41.432881] kobject: 'rfkill61' (000000008d12550e): kobject_add_internal: parent: 'hci5', set: 'devices' [ 41.440342] kobject: 'rfkill60' (0000000024c10b88): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill60' [ 41.447522] kobject: 'rfkill61' (000000008d12550e): kobject_uevent_env [ 41.456986] ---[ end trace 5261232adca78d84 ]--- [ 41.461946] kobject: 'hci0' (00000000966b271f): calling ktype release [ 41.469329] RIP: 0010:kernfs_add_one+0x342/0x4d0 [ 41.472474] kobject: 'hci0': free name [ 41.479631] Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 49 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6d 70 49 8d 7d 08 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 16 01 00 00 45 8b 6d 08 31 ff [ 41.491105] kobject: 'hci0' (000000008f8947c3): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 41.494417] kobject: 'rfkill61' (000000008d12550e): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill61' [ 41.498469] kobject: 'hci0' (000000008f8947c3): kobject_uevent_env [ 41.508132] RSP: 0018:ffff8801bb87f5d0 EFLAGS: 00010202 [ 41.518099] kobject: 'hci0' (000000008f8947c3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' [ 41.530453] kobject: 'rfkill61' (000000008d12550e): kobject_uevent_env [ 41.534056] kobject: 'rfkill62' (000000009fe9db12): kobject_add_internal: parent: 'hci2', set: 'devices' [ 41.543831] RAX: dffffc0000000000 RBX: ffff8801c53c6a80 RCX: ffffffff87cdfac7 [ 41.548831] kobject: 'rfkill62' (000000009fe9db12): kobject_uevent_env [ 41.556281] RDX: 0000000000000001 RSI: ffffffff81fa80ca RDI: 0000000000000008 [ 41.564162] kobject: 'rfkill62' (000000009fe9db12): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill62' [ 41.570741] kobject: 'rfkill61' (000000008d12550e): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill61' [ 41.581440] kobject: 'rfkill63' (00000000121bab9c): kobject_add_internal: parent: 'hci3', set: 'devices' [ 41.592320] RBP: ffff8801bb87f618 R08: fffffbfff12d0189 R09: fffffbfff12d0188 [ 41.596499] kobject: 'rfkill62' (000000009fe9db12): kobject_uevent_env [ 41.604113] R10: fffffbfff12d0188 R11: ffffffff89680c47 R12: 0000000000000000 [ 41.609477] kobject: 'rfkill63' (00000000121bab9c): kobject_uevent_env [ 41.619117] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 41.628626] kobject: 'rfkill62' (000000009fe9db12): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill62' [ 41.638467] FS: 0000000000a94880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 41.649114] kobject: 'rfkill63' (00000000121bab9c): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill63' [ 41.657699] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.664637] kobject: 'rfkill63' (00000000121bab9c): kobject_uevent_env [ 41.674332] kobject: 'rfkill60' (0000000024c10b88): kobject_cleanup, parent (null) [ 41.684700] kobject: 'rfkill64' (00000000b193c397): kobject_add_internal: parent: 'hci0', set: 'devices' [ 41.697211] CR2: 00007fa184b34000 CR3: 00000001bb86c000 CR4: 00000000001406e0 [ 41.703113] kobject: 'rfkill63' (00000000121bab9c): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill63' [ 41.707749] kobject: 'rfkill60' (0000000024c10b88): calling ktype release [ 41.711668] kobject: 'rfkill64' (00000000b193c397): kobject_uevent_env [ 41.730673] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.740284] kobject: 'rfkill64' (00000000b193c397): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill64' [ 41.752320] kobject: 'rfkill60': free name [ 41.757492] kobject: 'rfkill61' (000000008d12550e): kobject_cleanup, parent (null) [ 41.765314] kobject: 'hci4' (0000000088ab5569): kobject_uevent_env [ 41.772429] kobject: 'rfkill62' (000000009fe9db12): kobject_cleanup, parent (null) [ 41.779377] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.788895] kobject: 'rfkill63' (00000000121bab9c): kobject_cleanup, parent (null) [ 41.796342] Kernel panic - not syncing: Fatal exception [ 41.803216] kobject: 'rfkill64' (00000000b193c397): kobject_uevent_env [ 41.811093] Kernel Offset: disabled [ 42.046372] Rebooting in 86400 seconds..