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: 'rfkill429' (0000000031f8cc4e): kobject_uevent_env CPU: 0 PID: 6183 Comm: syz-executor521 Not tainted 4.19.0+ #89 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kernfs_add_one+0x342/0x4d0 fs/kernfs/dir.c:812 kobject: 'rfkill430' (000000005c5e1dcd): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill430' 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 RSP: 0018:ffff8801cc0675d0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801d74881c0 RCX: ffffffff87cc7667 RDX: 0000000000000001 RSI: ffffffff81f8e02a RDI: 0000000000000008 RBP: ffff8801cc067618 R08: fffffbfff12cf9f9 R09: fffffbfff12cf9f8 R10: fffffbfff12cf9f8 R11: ffffffff8967cfc7 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001a22880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 kobject: 'rfkill429' (0000000031f8cc4e): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill429' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cb090 CR3: 00000001cb5c8000 CR4: 00000000001406f0 Call Trace: kernfs_create_dir_ns+0xf6/0x160 fs/kernfs/dir.c:1031 sysfs_create_dir_ns+0x19b/0x340 fs/sysfs/dir.c:58 create_dir lib/kobject.c:88 [inline] kobject_add_internal.cold.11+0x116/0x6af lib/kobject.c:247 kobject_add_varg lib/kobject.c:382 [inline] kobject_add+0x13f/0x1b0 lib/kobject.c:426 kobject: 'rfkill431' (00000000487320e4): kobject_add_internal: parent: 'hci3', set: 'devices' device_add+0x445/0x18e0 drivers/base/core.c:1879 kobject: 'rfkill431' (00000000487320e4): kobject_uevent_env hci_register_dev+0x3b3/0x9c0 net/bluetooth/hci_core.c:3261 kobject: 'rfkill431' (00000000487320e4): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill431' __vhci_create_device+0x2c1/0x580 drivers/bluetooth/hci_vhci.c:139 vhci_create_device drivers/bluetooth/hci_vhci.c:163 [inline] vhci_get_user drivers/bluetooth/hci_vhci.c:219 [inline] vhci_write+0x2de/0x470 drivers/bluetooth/hci_vhci.c:299 call_write_iter include/linux/fs.h:1839 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 kobject: 'rfkill431' (00000000487320e4): kobject_uevent_env kobject: 'rfkill431' (00000000487320e4): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill431' kobject: 'rfkill431' (00000000487320e4): kobject_cleanup, parent (null) vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 kobject: 'rfkill432' (0000000071e60b5c): kobject_add_internal: parent: 'hci0', set: 'devices' __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 kobject: 'rfkill432' (0000000071e60b5c): kobject_uevent_env kobject: 'rfkill432' (0000000071e60b5c): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill432' kobject: 'rfkill431' (00000000487320e4): calling ktype release kobject: 'rfkill432' (0000000071e60b5c): kobject_uevent_env kobject: 'rfkill431': free name entry_SYSCALL_64_after_hwframe+0x49/0xbe kobject: 'rfkill432' (0000000071e60b5c): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill432' RIP: 0033:0x440e49 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 RSP: 002b:00007ffcff5afad8 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 kobject: 'hci3' (0000000089dc3af6): kobject_uevent_env RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440e49 RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 R10: 0000000001a22880 R11: 0000000000000213 R12: 000000000000e15a kobject: 'hci3' (0000000089dc3af6): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' R13: 0000000000401d70 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: kobject: 'rfkill432' (0000000071e60b5c): kobject_cleanup, parent (null) kobject: 'rfkill433' (00000000733cdd0f): kobject_add_internal: parent: 'hci5', set: 'devices' kobject: 'rfkill432' (0000000071e60b5c): calling ktype release kobject: 'rfkill433' (00000000733cdd0f): kobject_uevent_env kobject: 'hci3' (0000000089dc3af6): kobject_cleanup, parent (null) kobject: 'rfkill433' (00000000733cdd0f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill433' kobject: 'rfkill432': free name kobject: 'hci3' (0000000089dc3af6): calling ktype release kobject: 'rfkill433' (00000000733cdd0f): kobject_uevent_env kobject: 'rfkill430' (000000005c5e1dcd): kobject_uevent_env kobject: 'rfkill429' (0000000031f8cc4e): kobject_cleanup, parent (null) kobject: 'rfkill429' (0000000031f8cc4e): calling ktype release kobject: 'rfkill433' (00000000733cdd0f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill433' kobject: 'rfkill430' (000000005c5e1dcd): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4/rfkill430' kobject: 'hci3': free name kobject: 'rfkill429': free name ---[ end trace 05d6c08f6d42ca80 ]--- kobject: 'rfkill433' (00000000733cdd0f): kobject_cleanup, parent (null) RIP: 0010:kernfs_add_one+0x342/0x4d0 fs/kernfs/dir.c:812 kobject: 'hci0' (000000005f778a1f): kobject_uevent_env kobject: 'hci3' (00000000008a87b3): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'hci2' (0000000061744854): kobject_uevent_env 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 kobject: 'hci0' (000000005f778a1f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' kobject: 'rfkill433' (00000000733cdd0f): calling ktype release kobject: 'hci3' (00000000008a87b3): kobject_uevent_env kobject: 'rfkill430' (000000005c5e1dcd): kobject_cleanup, parent (null) kobject: 'hci3' (00000000008a87b3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' kobject: 'rfkill433': free name kobject: 'rfkill430' (000000005c5e1dcd): calling ktype release kobject: 'hci2' (0000000061744854): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' RSP: 0018:ffff8801cc0675d0 EFLAGS: 00010202 kobject: 'rfkill434' (000000006f598849): kobject_add_internal: parent: 'hci3', set: 'devices' kobject: 'rfkill430': free name kobject: 'hci0' (000000005f778a1f): kobject_cleanup, parent (null) RAX: dffffc0000000000 RBX: ffff8801d74881c0 RCX: ffffffff87cc7667 kobject: 'hci2' (0000000061744854): kobject_cleanup, parent (null) kobject: 'hci5' (00000000dbcb2ca3): kobject_uevent_env kobject: 'rfkill434' (000000006f598849): kobject_uevent_env kobject: 'hci4' (00000000dafd89f7): kobject_uevent_env kobject: 'hci0' (000000005f778a1f): calling ktype release RDX: 0000000000000001 RSI: ffffffff81f8e02a RDI: 0000000000000008 kobject: 'hci2' (0000000061744854): calling ktype release kobject: 'hci5' (00000000dbcb2ca3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5' kobject: 'rfkill434' (000000006f598849): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill434' kobject: 'hci4' (00000000dafd89f7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4' kobject: 'hci2': free name RBP: ffff8801cc067618 R08: fffffbfff12cf9f9 R09: fffffbfff12cf9f8 kobject: 'rfkill434' (000000006f598849): kobject_uevent_env kobject: 'hci4' (00000000dafd89f7): kobject_cleanup, parent (null) kobject: 'hci0' (0000000039c51762): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'hci0': free name kobject: 'rfkill434' (000000006f598849): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3/rfkill434' kobject: 'hci5' (00000000dbcb2ca3): kobject_cleanup, parent (null) kobject: 'rfkill434' (000000006f598849): kobject_cleanup, parent (null) R10: fffffbfff12cf9f8 R11: ffffffff8967cfc7 R12: 0000000000000000 kobject: 'hci0' (0000000039c51762): kobject_uevent_env kobject: 'hci4' (00000000dafd89f7): calling ktype release kobject: 'hci0' (0000000039c51762): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0' kobject: 'hci5' (00000000dbcb2ca3): calling ktype release kobject: 'rfkill434' (000000006f598849): calling ktype release kobject: 'hci2' (00000000b433bd72): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'rfkill434': free name R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 kobject: 'rfkill435' (0000000032aad8a7): kobject_add_internal: parent: 'hci0', set: 'devices' kobject: 'hci4': free name kobject: 'hci3' (00000000008a87b3): kobject_uevent_env kobject: 'hci5': free name kobject: 'rfkill435' (0000000032aad8a7): kobject_uevent_env kobject: 'hci2' (00000000b433bd72): kobject_uevent_env kobject: 'hci3' (00000000008a87b3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' FS: 0000000001a22880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 kobject: 'rfkill435' (0000000032aad8a7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill435' kobject: 'hci2' (00000000b433bd72): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' kobject: 'hci3' (00000000008a87b3): kobject_cleanup, parent (null) CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'rfkill435' (0000000032aad8a7): kobject_uevent_env kobject: 'hci3' (00000000bb40060b): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'hci3' (00000000008a87b3): calling ktype release kobject: 'hci4' (00000000f05b43c4): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'rfkill435' (0000000032aad8a7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci0/rfkill435' CR2: 0000000000414ac0 CR3: 00000001cb5c8000 CR4: 00000000001406e0 kobject: 'hci3': free name kobject: 'hci3' (00000000bb40060b): kobject_uevent_env kobject: 'rfkill435' (0000000032aad8a7): kobject_cleanup, parent (null) kobject: 'hci4' (00000000f05b43c4): kobject_uevent_env kobject: 'hci5' (00000000ef633919): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'rfkill436' (00000000a30fd487): kobject_add_internal: parent: 'hci2', set: 'devices' kobject: 'rfkill435' (0000000032aad8a7): calling ktype release kobject: 'hci3' (00000000bb40060b): fill_kobj_path: path = '/devices/virtual/bluetooth/hci3' kobject: 'hci5' (00000000ef633919): kobject_uevent_env