[ 28.421868] audit: type=1800 audit(1540998473.141:27): pid=5580 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 28.449121] audit: type=1800 audit(1540998473.151:28): pid=5580 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 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. [ 29.284771] audit: type=1800 audit(1540998474.051:29): pid=5580 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.311085] audit: type=1800 audit(1540998474.051:30): pid=5580 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 syzkaller login: [ 48.506708] sshd (5722) used greatest stack depth: 15744 bytes left Warning: Permanently added '10.128.0.111' (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 [ 55.197593] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) [ 55.235115] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.146333] kobject_add_internal failed for hci2 (error: -2 parent: bluetooth) [ 57.153956] kobject_add_internal failed for hci3 (error: -2 parent: bluetooth) [ 57.164762] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) [ 57.173501] Bluetooth: Can't register HCI device [ 57.186562] Bluetooth: Can't register HCI device [ 57.187903] 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 [ 57.196419] kobject_add_internal failed for hci4 (error: -2 parent: bluetooth) [ 57.228327] 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 [ 57.265913] kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) [ 57.279811] Bluetooth: Can't register HCI device [ 57.295396] kobject_add_internal failed for hci2 (error: -2 parent: bluetooth) [ 57.310500] 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 [ 57.765568] kasan: CONFIG_KASAN_INLINE enabled [ 57.780818] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 57.792028] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 57.792783] kobject: 'rfkill429' (0000000031f8cc4e): kobject_uevent_env [ 57.798306] CPU: 0 PID: 6183 Comm: syz-executor521 Not tainted 4.19.0+ #89 [ 57.798315] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.798339] RIP: 0010:kernfs_add_one+0x342/0x4d0 [ 57.812879] kobject: 'rfkill430' (000000005c5e1dcd): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill430' [ 57.821457] 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 [ 57.821466] RSP: 0018:ffff8801cc0675d0 EFLAGS: 00010202 [ 57.821478] RAX: dffffc0000000000 RBX: ffff8801d74881c0 RCX: ffffffff87cc7667 [ 57.821487] RDX: 0000000000000001 RSI: ffffffff81f8e02a RDI: 0000000000000008 [ 57.821496] RBP: ffff8801cc067618 R08: fffffbfff12cf9f9 R09: fffffbfff12cf9f8 [ 57.821504] R10: fffffbfff12cf9f8 R11: ffffffff8967cfc7 R12: 0000000000000000 [ 57.821512] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 57.821528] FS: 0000000001a22880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 57.836077] kobject: 'rfkill429' (0000000031f8cc4e): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill429' [ 57.837190] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.837200] CR2: 00000000006cb090 CR3: 00000001cb5c8000 CR4: 00000000001406f0 [ 57.837213] Call Trace: [ 57.932727] kernfs_create_dir_ns+0xf6/0x160 [ 57.937153] sysfs_create_dir_ns+0x19b/0x340 [ 57.941579] ? sysfs_create_mount_point+0xa0/0xa0 [ 57.946443] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 57.951219] ? class_dir_child_ns_type+0xd/0x60 [ 57.955913] kobject_add_internal.cold.11+0x116/0x6af [ 57.961123] ? kobj_ns_type_registered+0x60/0x60 [ 57.965902] ? lock_downgrade+0x900/0x900 [ 57.970066] ? refcount_add_not_zero_checked+0x330/0x330 [ 57.975565] ? kasan_check_read+0x11/0x20 [ 57.979763] kobject_add+0x13f/0x1b0 [ 57.981371] kobject: 'rfkill431' (00000000487320e4): kobject_add_internal: parent: 'hci3', set: 'devices' [ 57.983489] ? kset_create_and_add+0x190/0x190 [ 57.983514] ? mutex_unlock+0xd/0x10 [ 58.001509] ? device_add+0x382/0x18e0 [ 58.005444] device_add+0x445/0x18e0 [ 58.005538] kobject: 'rfkill431' (00000000487320e4): kobject_uevent_env [ 58.009170] ? kfree_const+0x5e/0x70 [ 58.009194] ? get_device_parent.isra.25+0x5a0/0x5a0 [ 58.024754] ? dev_set_name+0xad/0xe0 [ 58.028572] ? device_initialize+0x5f0/0x5f0 [ 58.033011] hci_register_dev+0x3b3/0x9c0 [ 58.034292] kobject: 'rfkill431' (00000000487320e4): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill431' [ 58.037174] ? hci_conn_params_free+0x810/0x810 [ 58.037199] ? iov_iter_advance+0x1370/0x1370 [ 58.057284] __vhci_create_device+0x2c1/0x580 [ 58.061801] vhci_write+0x2de/0x470 [ 58.065449] __vfs_write+0x6b8/0x9f0 [ 58.069185] ? kernel_read+0x120/0x120 [ 58.072119] kobject: 'rfkill431' (00000000487320e4): kobject_uevent_env [ 58.073088] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 58.073112] ? trace_hardirqs_off_caller+0x310/0x310 [ 58.082329] kobject: 'rfkill431' (00000000487320e4): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill431' [ 58.084819] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 58.090018] kobject: 'rfkill431' (00000000487320e4): kobject_cleanup, parent (null) [ 58.100829] ? rw_verify_area+0x118/0x360 [ 58.100844] vfs_write+0x1fc/0x560 [ 58.100861] ksys_write+0x101/0x260 [ 58.100876] ? __ia32_sys_read+0xb0/0xb0 [ 58.100898] ? trace_hardirqs_off_caller+0x310/0x310 [ 58.121391] kobject: 'rfkill432' (0000000071e60b5c): kobject_add_internal: parent: 'hci0', set: 'devices' [ 58.122792] __x64_sys_write+0x73/0xb0 [ 58.122814] do_syscall_64+0x1b9/0x820 [ 58.126701] kobject: 'rfkill432' (0000000071e60b5c): kobject_uevent_env [ 58.130494] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 58.152800] kobject: 'rfkill432' (0000000071e60b5c): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill432' [ 58.153055] ? syscall_return_slowpath+0x5e0/0x5e0 [ 58.169582] kobject: 'rfkill431' (00000000487320e4): calling ktype release [ 58.176075] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 58.176094] ? trace_hardirqs_on_caller+0x310/0x310 [ 58.176110] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 58.176131] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.182973] kobject: 'rfkill432' (0000000071e60b5c): kobject_uevent_env [ 58.188093] ? prepare_exit_to_usermode+0x291/0x3b0 [ 58.188118] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 58.202368] kobject: 'rfkill431': free name [ 58.202990] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.216462] kobject: 'rfkill432' (0000000071e60b5c): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill432' [ 58.220270] RIP: 0033:0x440e49 [ 58.220287] 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 [ 58.220301] RSP: 002b:00007ffcff5afad8 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 58.227535] kobject: 'hci3' (0000000089dc3af6): kobject_uevent_env [ 58.229456] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440e49 [ 58.229465] RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 [ 58.229473] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 58.229487] R10: 0000000001a22880 R11: 0000000000000213 R12: 000000000000e15a [ 58.246859] kobject: 'hci3' (0000000089dc3af6): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' [ 58.248797] R13: 0000000000401d70 R14: 0000000000000000 R15: 0000000000000000 [ 58.248813] Modules linked in: [ 58.268072] kobject: 'rfkill432' (0000000071e60b5c): kobject_cleanup, parent (null) [ 58.277084] kobject: 'rfkill433' (00000000733cdd0f): kobject_add_internal: parent: 'hci5', set: 'devices' [ 58.281965] kobject: 'rfkill432' (0000000071e60b5c): calling ktype release [ 58.290136] kobject: 'rfkill433' (00000000733cdd0f): kobject_uevent_env [ 58.296891] kobject: 'hci3' (0000000089dc3af6): kobject_cleanup, parent (null) [ 58.322405] kobject: 'rfkill433' (00000000733cdd0f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill433' [ 58.345061] kobject: 'rfkill432': free name [ 58.404545] kobject: 'hci3' (0000000089dc3af6): calling ktype release [ 58.406979] kobject: 'rfkill433' (00000000733cdd0f): kobject_uevent_env [ 58.413119] kobject: 'rfkill430' (000000005c5e1dcd): kobject_uevent_env [ 58.424995] kobject: 'rfkill429' (0000000031f8cc4e): kobject_cleanup, parent (null) [ 58.440056] kobject: 'rfkill429' (0000000031f8cc4e): calling ktype release [ 58.444436] kobject: 'rfkill433' (00000000733cdd0f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill433' [ 58.450028] kobject: 'rfkill430' (000000005c5e1dcd): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill430' executing program [ 58.473819] kobject: 'hci3': free name [ 58.479840] kobject: 'rfkill429': free name [ 58.481834] ---[ end trace 05d6c08f6d42ca80 ]--- [ 58.490054] kobject: 'rfkill433' (00000000733cdd0f): kobject_cleanup, parent (null) [ 58.490900] RIP: 0010:kernfs_add_one+0x342/0x4d0 [ 58.500151] kobject: 'hci0' (000000005f778a1f): kobject_uevent_env [ 58.508325] kobject: 'hci3' (00000000008a87b3): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 58.510129] kobject: 'hci2' (0000000061744854): kobject_uevent_env [ 58.520093] 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 [ 58.533679] kobject: 'hci0' (000000005f778a1f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' [ 58.546922] kobject: 'rfkill433' (00000000733cdd0f): calling ktype release [ 58.556428] kobject: 'hci3' (00000000008a87b3): kobject_uevent_env [ 58.563544] kobject: 'rfkill430' (000000005c5e1dcd): kobject_cleanup, parent (null) [ 58.577366] kobject: 'hci3' (00000000008a87b3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' [ 58.579059] kobject: 'rfkill433': free name [ 58.595411] kobject: 'rfkill430' (000000005c5e1dcd): calling ktype release [ 58.599902] kobject: 'hci2' (0000000061744854): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' [ 58.605211] RSP: 0018:ffff8801cc0675d0 EFLAGS: 00010202 [ 58.615977] kobject: 'rfkill434' (000000006f598849): kobject_add_internal: parent: 'hci3', set: 'devices' [ 58.619415] kobject: 'rfkill430': free name [ 58.636855] kobject: 'hci0' (000000005f778a1f): kobject_cleanup, parent (null) [ 58.637887] RAX: dffffc0000000000 RBX: ffff8801d74881c0 RCX: ffffffff87cc7667 [ 58.652436] kobject: 'hci2' (0000000061744854): kobject_cleanup, parent (null) [ 58.654530] kobject: 'hci5' (00000000dbcb2ca3): kobject_uevent_env [ 58.662197] kobject: 'rfkill434' (000000006f598849): kobject_uevent_env [ 58.669180] kobject: 'hci4' (00000000dafd89f7): kobject_uevent_env [ 58.674612] kobject: 'hci0' (000000005f778a1f): calling ktype release [ 58.684083] RDX: 0000000000000001 RSI: ffffffff81f8e02a RDI: 0000000000000008 [ 58.688451] kobject: 'hci2' (0000000061744854): calling ktype release [ 58.696629] kobject: 'hci5' (00000000dbcb2ca3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5' [ 58.701892] kobject: 'rfkill434' (000000006f598849): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill434' executing program [ 58.712464] kobject: 'hci4' (00000000dafd89f7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4' [ 58.722235] kobject: 'hci2': free name [ 58.732896] RBP: ffff8801cc067618 R08: fffffbfff12cf9f9 R09: fffffbfff12cf9f8 [ 58.739864] kobject: 'rfkill434' (000000006f598849): kobject_uevent_env [ 58.744715] kobject: 'hci4' (00000000dafd89f7): kobject_cleanup, parent (null) [ 58.752315] kobject: 'hci0' (0000000039c51762): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 58.759899] kobject: 'hci0': free name [ 58.767989] kobject: 'rfkill434' (000000006f598849): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill434' [ 58.773187] kobject: 'hci5' (00000000dbcb2ca3): kobject_cleanup, parent (null) [ 58.784079] kobject: 'rfkill434' (000000006f598849): kobject_cleanup, parent (null) [ 58.792636] R10: fffffbfff12cf9f8 R11: ffffffff8967cfc7 R12: 0000000000000000 [ 58.800468] kobject: 'hci0' (0000000039c51762): kobject_uevent_env [ 58.810358] kobject: 'hci4' (00000000dafd89f7): calling ktype release executing program [ 58.814731] kobject: 'hci0' (0000000039c51762): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' [ 58.823463] kobject: 'hci5' (00000000dbcb2ca3): calling ktype release [ 58.830733] kobject: 'rfkill434' (000000006f598849): calling ktype release [ 58.838933] kobject: 'hci2' (00000000b433bd72): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 58.844577] kobject: 'rfkill434': free name [ 58.855282] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 58.858406] kobject: 'rfkill435' (0000000032aad8a7): kobject_add_internal: parent: 'hci0', set: 'devices' [ 58.866414] kobject: 'hci4': free name [ 58.875443] kobject: 'hci3' (00000000008a87b3): kobject_uevent_env [ 58.881595] kobject: 'hci5': free name [ 58.886159] kobject: 'rfkill435' (0000000032aad8a7): kobject_uevent_env [ 58.891756] kobject: 'hci2' (00000000b433bd72): kobject_uevent_env [ 58.896184] kobject: 'hci3' (00000000008a87b3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' [ 58.905172] FS: 0000000001a22880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 executing program executing program [ 58.913376] kobject: 'rfkill435' (0000000032aad8a7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill435' [ 58.921914] kobject: 'hci2' (00000000b433bd72): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' [ 58.932222] kobject: 'hci3' (00000000008a87b3): kobject_cleanup, parent (null) [ 58.944050] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.951068] kobject: 'rfkill435' (0000000032aad8a7): kobject_uevent_env [ 58.958318] kobject: 'hci3' (00000000bb40060b): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 58.962501] kobject: 'hci3' (00000000008a87b3): calling ktype release [ 58.973564] kobject: 'hci4' (00000000f05b43c4): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 58.979414] kobject: 'rfkill435' (0000000032aad8a7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill435' [ 58.989561] CR2: 0000000000414ac0 CR3: 00000001cb5c8000 CR4: 00000000001406e0 [ 59.000176] kobject: 'hci3': free name [ 59.008715] kobject: 'hci3' (00000000bb40060b): kobject_uevent_env [ 59.013695] kobject: 'rfkill435' (0000000032aad8a7): kobject_cleanup, parent (null) executing program [ 59.018949] kobject: 'hci4' (00000000f05b43c4): kobject_uevent_env [ 59.029384] kobject: 'hci5' (00000000ef633919): kobject_add_internal: parent: 'bluetooth', set: 'devices' [ 59.034507] kobject: 'rfkill436' (00000000a30fd487): kobject_add_internal: parent: 'hci2', set: 'devices' [ 59.044418] kobject: 'rfkill435' (0000000032aad8a7): calling ktype release [ 59.054514] kobject: 'hci3' (00000000bb40060b): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' [ 59.060241] kobject: 'hci5' (00000000ef633919): kobject_uevent_env [ 59.072633] Kernel panic - not syncing: Fatal exception [ 59.076492] kobject: 'rfkill435': free name [ 59.081384] Kernel Offset: disabled [ 59.089329] Rebooting in 86400 seconds..