Bluetooth: hci_sock: Prevent race in socket write iter and sock bind
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 10 fixed, 1 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: Prevent race in socket write iter and sock bind There is a potential race condition between sock bind and socket write iter. bind may free the same cmd via mgmt_pending before write iter sends the cmd, just as syzbot reported in UAF[1]. Here we use hci_dev_lock to synchronize the two, thereby avoiding the UAF mentioned in [1]. [1] syzbot reported: BUG: KASAN: slab-use-after-free in mgmt_pending_remove+0x3b/0x210 net/bluetooth/mgmt_util.c:316 Read of size 8 at addr ffff888077164818 by task syz.0.17/5989 Call Trace: mgmt_pending_remove+0x3b/0x210 net/bluetooth/mgmt_util.c:316 set_link_security+0x5c2/0x710 net/bluetooth/mgmt.c:1918 hci_mgmt_cmd+0x9c9/0xef0 net/bluetooth/hci_sock.c:1719 hci_sock_sendmsg+0x6ca/0xef0 net/bluetooth/hci_sock.c:1839 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 sock_write_iter+0x279/0x360 net/socket.c:1195 Allocated by task 5989: mgmt_pending_add+0x35/0x140 net/bluetooth/mgmt_util.c:296 set_link_security+0x557/0x710 net/bluetooth/mgmt.c:1910 hci_mgmt_cmd+0x9c9/0xef0 net/bluetooth/hci_sock.c:1719 hci_sock_sendmsg+0x6ca/0xef0 net/bluetooth/hci_sock.c:1839 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 sock_write_iter+0x279/0x360 net/socket.c:1195 Freed by task 5991: mgmt_pending_free net/bluetooth/mgmt_util.c:311 [inline] mgmt_pending_foreach+0x30d/0x380 net/bluetooth/mgmt_util.c:257 mgmt_index_removed+0x112/0x2f0 net/bluetooth/mgmt.c:9477 hci_sock_bind+0xbe9/0x1000 net/bluetooth/hci_sock.c:1314
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.6.119, 6.12.61, 6.16
- Fix · CNA Linux (Linux) Fixed in 6.6.119, 6.12.61, 6.17.11, 6.18
Red Hat 2 advisories
- RHSA-2026:1690 Released 2026-02-02 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-124.31.1.el10_1, kernel-64k-debug-devel-matched-6.12.0-124.31.1.el10_1, kernel-64k-devel-6.12.0-124.31.1.el10_1 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-124.31.1.el10_1, kernel-64k-6.12.0-124.31.1.el10_1, kernel-64k-core-6.12.0-124.31.1.el10_1 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-124.31.1.el10_1, libperf-6.12.0-124.31.1.el10_1
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-124.31.1.el10_1, kernel-rt-64k-6.12.0-124.31.1.el10_1, kernel-rt-64k-core-6.12.0-124.31.1.el10_1 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-124.31.1.el10_1, kernel-rt-core-6.12.0-124.31.1.el10_1, kernel-rt-debug-6.12.0-124.31.1.el10_1 +9
- RHSA-2026:1143 Released 2026-01-26 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-611.26.1.el9_7, kernel-64k-debug-devel-matched-5.14.0-611.26.1.el9_7, kernel-64k-devel-5.14.0-611.26.1.el9_7 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-611.26.1.el9_7, kernel-64k-5.14.0-611.26.1.el9_7, kernel-64k-core-5.14.0-611.26.1.el9_7 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-611.26.1.el9_7, libperf-5.14.0-611.26.1.el9_7
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-611.26.1.el9_7, kernel-rt-64k-5.14.0-611.26.1.el9_7, kernel-rt-64k-core-5.14.0-611.26.1.el9_7 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-611.26.1.el9_7, kernel-rt-core-5.14.0-611.26.1.el9_7, kernel-rt-debug-5.14.0-611.26.1.el9_7 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:1690 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:1690 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:1690 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:1690 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:1143 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:1690 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:1143 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68305
- 2026-10-03 Alias added: GHSA-83f9-77ww-3rpr
- 2026-10-29 Affected versions changed · Red Hat
References
Other 5
- https://git.kernel.org/stable/c/7344feaed3c8aa46d397984ae855e6026d3c3e95
- https://git.kernel.org/stable/c/fe68510fc99bb4b88c9c611f83699749002d515a
- https://git.kernel.org/stable/c/e90c05fc5bbea956450a05cc3b36b8fa29cf195e
- https://git.kernel.org/stable/c/69fcb0344bc0dd5b13d7e4e98f8b6bf25a6d4ff7
- https://git.kernel.org/stable/c/89bb613511cc21ed5ba6bddc1c9b9ae9c0dad392
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-68305 · CVE Program
- CVE-2025-68305 · NVD
- FIRST EPSS
- GHSA-83f9-77ww-3rpr · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68305 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences