CVE-2023-54120
Use-After-Free Race Condition in Linux Kernel Bluetooth HIDP Component
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a race condition in the Linux kernel's Bluetooth component, specifically in the hidp_session_thread. The issue arises because a timer remains active while the hidp_del_timer function is called, and after the session is released (hidp_session_put), the session object may be freed. If the timer callback (hidp_idle_timeout) runs after the session is freed, it can cause a kernel panic due to use-after-free. The fix involves using del_timer_sync instead of del_timer to properly synchronize timer deletion.
How can this vulnerability impact me? :
This vulnerability can lead to a kernel panic, which causes the system to crash. This can result in denial of service, potentially disrupting operations on affected Linux systems using Bluetooth HID protocols.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is fixed by updating the Linux kernel to a version where the race condition in hidp_session_thread is resolved by using del_timer_sync instead of del_timer. Therefore, the immediate step is to update your Linux kernel to the patched version that includes this fix.