CVE Database›Document archive›CVE-2025-68305

CVE-2025-68305

kernel: Bluetooth: hci_sock: Prevent race in socket write iter and sock bind

Loading…

Severity

Moderate

Red Hat Product Security

6.2

CVSS 3.1

Review impact separately from score.

Published · December 16, 2025

Updated · October 29, 2026

Description

A use-after-free vulnerability was found in the Linux kernel's Bluetooth HCI socket implementation. A race condition between socket bind and write operations allows mgmt_pending to free a command structure while write_iter is still attempting to send it, resulting in use-after-free when the freed memory is accessed.

Statement

This race requires concurrent socket operations from userspace. Local attackers with Bluetooth socket access could potentially trigger this for denial of service or privilege escalation.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CWE-366 · Race Condition within a Thread