kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN kobject: 'bluetooth' (ffff88808bc54f80): kobject_add_internal: parent: 'virtual', set: '(null)' Modules linked in: CPU: 0 PID: 8112 Comm: syz-executor.0 Not tainted 4.14.131 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888062f02540 task.stack: ffff8880628e0000 RIP: 0010:kernfs_add_one+0x2cb/0x3a0 fs/kernfs/dir.c:794 kobject: 'hci2' (ffff88806259d0e8): kobject_add_internal: parent: 'bluetooth', set: 'devices' RSP: 0018:ffff8880628e7980 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90006a5b000 RDX: 0000000000000001 RSI: ffffffff81a9d223 RDI: 0000000000000008 RBP: ffff8880628e79b8 R08: fffffbfff12348d8 R09: ffff888062f02540 R10: dffffc0000000000 R11: ffff888062f02540 R12: ffff888086e47d20 R13: ffff888086e47d20 R14: 0000000000000000 R15: ffff888086e47d48 FS: 00007f0511474700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000df1500 CR3: 00000000969c3000 CR4: 00000000001426f0 Call Trace: kobject: 'hci2' (ffff88806259d0e8): kobject_uevent_env kernfs_create_dir_ns+0xea/0x140 fs/kernfs/dir.c:1008 sysfs_create_dir_ns+0xbe/0x1d0 fs/sysfs/dir.c:55 create_dir lib/kobject.c:71 [inline] kobject_add_internal.part.0.cold+0x114/0x5ae lib/kobject.c:229 kobject_add_internal lib/kobject.c:205 [inline] kobject_add_varg lib/kobject.c:364 [inline] kobject_add+0x11f/0x180 lib/kobject.c:409 kobject: 'hci2' (ffff88806259d0e8): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' device_add+0x383/0x1490 drivers/base/core.c:1809 kobject: 'rfkill40' (ffff8880624a09a8): kobject_add_internal: parent: 'hci2', set: 'devices' hci_register_dev+0x2d9/0x810 net/bluetooth/hci_core.c:3118 __vhci_create_device+0x2a6/0x560 drivers/bluetooth/hci_vhci.c:139 kobject: 'rfkill40' (ffff8880624a09a8): kobject_uevent_env vhci_create_device drivers/bluetooth/hci_vhci.c:163 [inline] vhci_get_user drivers/bluetooth/hci_vhci.c:219 [inline] vhci_write+0x2a1/0x437 drivers/bluetooth/hci_vhci.c:299 call_write_iter include/linux/fs.h:1777 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x4a7/0x6b0 fs/read_write.c:482 vfs_write+0x198/0x500 fs/read_write.c:544 kobject: 'rfkill40' (ffff8880624a09a8): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill40' SYSC_write fs/read_write.c:590 [inline] SyS_write+0xfd/0x230 fs/read_write.c:582 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 kobject: 'rfkill40' (ffff8880624a09a8): kobject_uevent_env RIP: 0033:0x459519 RSP: 002b:00007f0511473c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459519 RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f05114746d4 R13: 00000000004c8f76 R14: 00000000004dff38 R15: 00000000ffffffff Code: 70 48 89 fa 48 kobject: 'rfkill40' (ffff8880624a09a8): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill40' c1 ea 03 80 3c 02 00 0f 85 9a 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 70 48 8d kobject: 'rfkill40' (ffff8880624a09a8): kobject_cleanup, parent (null) 7b 08 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 04 3c 03 kobject: 'rfkill40' (ffff8880624a09a8): calling ktype release 7e 6e f6 43 08 01 0f 85 09 fe ff RIP: kernfs_add_one+0x2cb/0x3a0 fs/kernfs/dir.c:794 RSP: ffff8880628e7980 ---[ end trace daffb3f1b08a45b8 ]--- kobject: 'loop4' (ffff8880a4ac7420): kobject_uevent_env