------------[ cut here ]------------ WARNING: CPU: 0 PID: 19685 at fs/kernfs/dir.c:526 kernfs_get+0x71/0x90 fs/kernfs/dir.c:526 Modules linked in: CPU: 0 UID: 0 PID: 19685 Comm: syz.3.3897 Not tainted 6.14.0-rc2-syzkaller-00535-g4991b88c2514 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:kernfs_get+0x71/0x90 fs/kernfs/dir.c:526 Code: 23 e8 63 22 5b ff 48 89 df be 04 00 00 00 e8 46 62 c2 ff f0 ff 03 eb 05 e8 4c 22 5b ff 5b 5d c3 cc cc cc cc e8 40 22 5b ff 90 <0f> 0b 90 eb d7 89 d9 80 e1 07 80 c1 03 38 c1 7c b7 48 89 df e8 46 RSP: 0018:ffffc9000459f5e0 EFLAGS: 00010287 RAX: ffffffff82669520 RBX: ffff88805da33f00 RCX: 0000000000080000 RDX: ffffc9000ea30000 RSI: 0000000000001111 RDI: 0000000000001112 RBP: 0000000000000000 R08: ffffffff826694f4 R09: 1ffff1100bb467e0 R10: dffffc0000000000 R11: ffffed100bb467e1 R12: dffffc0000000000 R13: ffff888027c9e480 R14: ffffffff8ca68f10 R15: ffff888027c9e4b0 FS: 00007f2215e536c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb39bf0440 CR3: 0000000029212000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sysfs_get include/linux/sysfs.h:816 [inline] create_dir lib/kobject.c:89 [inline] kobject_add_internal+0x4ba/0x8d0 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_add+0x152/0x220 lib/kobject.c:426 class_dir_create_and_add drivers/base/core.c:3208 [inline] get_device_parent+0x391/0x410 drivers/base/core.c:3259 device_add+0x325/0xbf0 drivers/base/core.c:3589 netdev_register_kobject+0x157/0x2f0 net/core/net-sysfs.c:2328 register_netdevice+0x12c3/0x1b60 net/core/dev.c:10869 register_netdev+0x40/0x50 net/core/dev.c:10982 bnep_add_connection+0x823/0xe10 net/bluetooth/bnep/core.c:624 do_bnep_sock_ioctl+0x4f8/0x8d0 net/bluetooth/bnep/sock.c:83 sock_do_ioctl+0x158/0x460 net/socket.c:1199 sock_ioctl+0x626/0x8e0 net/socket.c:1318 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2214f8cde9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2215e53038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f22151a6160 RCX: 00007f2214f8cde9 RDX: 00004000000000c0 RSI: 00000000400442c8 RDI: 000000000000000c RBP: 00007f221500e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f22151a6160 R15: 00007ffdfb6c14e8