CVE-2025-68304
Last modified
CVE-2025-68304 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: lookup hci_conn on RX path on protocol side The hdev lock/lookup/unlock/use pattern in the packet RX path doesn't ensure hci_conn* is not concurrently modified/deleted. This locking appears to be leftover from before conn_hash started using RCU commit bf4c63252490b ("Bluetooth: convert conn hash to RCU") and not clear if it had purpose since then. Currently, there are code paths that delete hci_conn* from elsewhere than the ordered hdev->workqueue where the RX work runs in. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: lookup hci_conn on RX path on protocol side The hdev lock/lookup/unlock/use pattern in the packet RX path doesn't ensure hci_conn* is not concurrently modified/deleted. This locking appears to be leftover from before conn_hash started using RCU commit bf4c63252490b ("Bluetooth: convert conn hash to RCU") and not clear if it had purpose since then. Currently, there are code paths that delete hci_conn* from elsewhere than the ordered hdev->workqueue where the RX work runs in. E.g. commit 5af1f84ed13a ("Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync") introduced some of these, and there probably were a few others before it. It's better to do the locking so that even if these run concurrently no UAF is possible. Move the lookup of hci_conn and associated socket-specific conn to protocol recv handlers, and do them within a single critical section to cover hci_conn* usage and lookup. syzkaller has reported a crash that appears to be this issue: [Task hdev->workqueue] [Task 2] hci_disconnect_all_sync l2cap_recv_acldata(hcon) hci_conn_get(hcon) hci_abort_conn_sync(hcon) hci_dev_lock hci_dev_lock hci_conn_del(hcon) v-------------------------------- hci_dev_unlock hci_conn_put(hcon) conn = hcon->l2cap_data (UAF)
Metrics
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 5af1f84ed13a416297ab9ced7537f4d5ae7f329a, < ec74cdf77310c43b01b83ee898a9bd4b4b0b8e93; >= 5af1f84ed13a416297ab9ced7537f4d5ae7f329a, < 79a2d4678ba90bdba577dc3af88cc900d6dcd5ee; cd55c13bbb3d093ae601aa97e588ed4c1390ebb1; 4d3ca4a9aaf0aa798a6be372dc0fc3a29e37dd57; 80265dd1d944c3f33e52375b5dbe654980bd2688; >= 6.1.149, < 6.2; >= 6.4.16, < 6.5; >= 6.5.3, < 6.6 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-68304?
How severe is CVE-2025-68304?
How do I fix CVE-2025-68304?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-68299In the Linux kernel, the following vulnerability has been re…
- CVE-2025-6830Improper Neutralization of Special Elements used in an SQL C…9.8
- CVE-2025-68300In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68301In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-68302In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-68303In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-68305In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68306In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68307In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68308In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68309In the Linux kernel, the following vulnerability has been re…
- CVE-2025-6831The User Registration plugin for WordPress is vulnerable to …6.4
Are you affected by CVE-2025-68304?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
