CVE-2023-1901 HCI send_sync Dangling Semaphore Reference Re-use
A malicious Bluetooth controller can exploit a dangling semaphore reference in the Zephyr RTOS HCI host layer to cause a crash or execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-1901?
CVE-2023-1901 is a medium-severity use after free vulnerability in Zephyrproject Zephyr, published on 10 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The bluetooth HCI host layer logic not clearing a global reference to a semaphore after synchronously sending HCI commands may allow a malicious HCI Controller to cause the use of a dangling reference in the host layer, leading to a crash (DoS) or potential RCE on the Host layer.
Which versions are affected by CVE-2023-1901?
It affects 1 product.
Products include Zephyrproject Zephyr.
How do I fix CVE-2023-1901?
No fix has been published for CVE-2023-1901 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-1901 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1901 exists.
Other vulnerabilities in Zephyrproject Zephyr
- CVE-2026-5067 Out-of-bounds read/write in HTTP WebSocket upgrade via non-null-terminated Sec-WebSocket-Key
- CVE-2022-3806 Bluetooth HCI Error Handling Double Free
- CVE-2017-14199 Memory corruption in getaddrinfo
- CVE-2018-1000800 Null dereference in n/a
- CVE-2021-3329 DOS: Incorrect handling of the initial HCI ACL_MTU handshake packet leads to crash of bluetooth host layer
Sources
Also known as GHSA-xvvm-8mcm-9cq3.