Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 UID: 0 PID: 5852 Comm: syz-executor Not tainted 6.12.0-syzkaller-05490-g9bb88c659673 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:sysfs_move_dir_ns+0xad/0xe0 fs/sysfs/dir.c:126
Code: 9a 48 c1 e8 03 42 80 3c 28 00 74 0c 48 c7 c7 40 09 4f 9a e8 35 b3 c0 ff 48 8b 1d de 08 10 18 49 8d 7f 38 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 17 b3 c0 ff 49 8b 57 38 4c 89 ff 48 89 de
RSP: 0018:ffffc90003cf78b0 EFLAGS: 00010202
RAX: 0000000000000007 RBX: ffff888140ebec30 RCX: ffff88802fa29e00
RDX: 0000000000000000 RSI: ffff888140ea9e80 RDI: 0000000000000038
RBP: ffffc90003cf79a8 R08: ffffffff8bc85543 R09: ffffffff8bc83a04
R10: 0000000000000012 R11: ffff88802fa29e00 R12: ffff888140ea9eb0
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c94d7f1950 CR3: 0000000055358000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kobject_move+0x315/0x450 lib/kobject.c:569
device_move+0xdf/0x710 drivers/base/core.c:4634
hci_conn_del_sysfs+0xac/0x160 net/bluetooth/hci_sysfs.c:75
hci_conn_cleanup net/bluetooth/hci_conn.c:174 [inline]
hci_conn_del+0x8c4/0xc40 net/bluetooth/hci_conn.c:1164
hci_conn_hash_flush+0x18e/0x240 net/bluetooth/hci_conn.c:2699
hci_dev_close_sync+0xa42/0x11c0 net/bluetooth/hci_sync.c:5212
hci_dev_do_close net/bluetooth/hci_core.c:483 [inline]
hci_unregister_dev+0x20b/0x510 net/bluetooth/hci_core.c:2698
vhci_release+0x80/0xd0 drivers/bluetooth/hci_vhci.c:664
__fput+0x23c/0xa50 fs/file_table.c:450
task_work_run+0x24f/0x310 kernel/task_work.c:239
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0xa2f/0x28e0 kernel/exit.c:938
do_group_exit+0x207/0x2c0 kernel/exit.c:1087
__do_sys_exit_group kernel/exit.c:1098 [inline]
__se_sys_exit_group kernel/exit.c:1096 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096
x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232
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:0x7fc17817e819
Code: Unable to access opcode bytes at 0x7fc17817e7ef.
RSP: 002b:00007ffcee3edea8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc17817e819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043
RBP: 00007fc1781db978 R08: 00007ffcee3ebc47 R09: 000000000001fea0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 000000000001fea0 R14: 0000000000000000 R15: 00007ffcee3ee730
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:sysfs_move_dir_ns+0xad/0xe0 fs/sysfs/dir.c:126
Code: 9a 48 c1 e8 03 42 80 3c 28 00 74 0c 48 c7 c7 40 09 4f 9a e8 35 b3 c0 ff 48 8b 1d de 08 10 18 49 8d 7f 38 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 17 b3 c0 ff 49 8b 57 38 4c 89 ff 48 89 de
RSP: 0018:ffffc90003cf78b0 EFLAGS: 00010202
RAX: 0000000000000007 RBX: ffff888140ebec30 RCX: ffff88802fa29e00
RDX: 0000000000000000 RSI: ffff888140ea9e80 RDI: 0000000000000038
RBP: ffffc90003cf79a8 R08: ffffffff8bc85543 R09: ffffffff8bc83a04
R10: 0000000000000012 R11: ffff88802fa29e00 R12: ffff888140ea9eb0
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ed07be950 CR3: 0000000033268000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 48 c1 e8 03 shr $0x3,%rax
4: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
9: 74 0c je 0x17
b: 48 c7 c7 40 09 4f 9a mov $0xffffffff9a4f0940,%rdi
12: e8 35 b3 c0 ff call 0xffc0b34c
17: 48 8b 1d de 08 10 18 mov 0x181008de(%rip),%rbx # 0x181008fc
1e: 49 8d 7f 38 lea 0x38(%r15),%rdi
22: 48 89 f8 mov %rdi,%rax
25: 48 c1 e8 03 shr $0x3,%rax
* 29: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2e: 74 05 je 0x35
30: e8 17 b3 c0 ff call 0xffc0b34c
35: 49 8b 57 38 mov 0x38(%r15),%rdx
39: 4c 89 ff mov %r15,%rdi
3c: 48 89 de mov %rbx,%rsi