Linux Kernel Bluetooth mgmt_pending Use-After-Free Flaw Fixed in RHEL
Attack Tradecraft · 4 sources · Updated 3mo ago · First seen Dec 9, 2025

Red Hat disclosed CVE-2025-39981, a Linux kernel flaw in the Bluetooth management subsystem that can trigger a use-after-free or double-free condition in mgmt_pending handling. The bug was traced to struct mgmt_pending objects being freed while still in use, with a KASAN report identifying a slab use-after-free in mgmt_add_adv_patterns_monitor_sync. Red Hat rated the issue Moderate with a CVSS v3 score of 7.3, warning that a local attacker able to interact with the Bluetooth subsystem could cause memory corruption leading to denial of service or possible privilege escalation.
The weakness maps to CWE-416 (Use After Free), a class of memory-safety bugs that can enable crashes, information disclosure, or arbitrary code execution when freed memory is later referenced. The kernel fix adds mgmt_pending_valid checks and removes commands from the pending list while holding mgmt_pending_lock to prevent TOCTOU-related misuse. Red Hat said fixes were shipped for multiple RHEL 8, 9, and 10 kernel packages, while RHEL 6 was not affected because the vulnerable code is absent; the company also recommended hardening or disabling Bluetooth management interfaces where they are not needed.
Why it matters
Impact assessment
CVE-2025-39981 affects Linux systems running vulnerable kernel code in the Bluetooth management subsystem, with confirmed Red Hat exposure across RHEL 8, 9, and 10 package lines. The primary risk is local memory corruption that can cause denial of service and may enable privilege escalation, making the issue most relevant for multi-user Linux environments, workstations, servers with Bluetooth enabled, and systems where untrusted local users or containers can reach Bluetooth management paths.
Severity and scope
- Red Hat rates the issue Moderate with CVSS v3.1 7.3.
- The CVE record also lists CVSS v3.1 7.8.
- Impact includes memory corruption, kernel instability, denial of service, and possible elevation of privileges.
- Exploitation requires local access and the ability to interact with the Bluetooth subsystem; this reduces internet-scale exposure but still creates meaningful risk on shared or user-accessible hosts.
- Exposure is broad across Linux kernels derived from vulnerable upstream code introduced in kernel 5.17, but the story specifically confirms remediation for multiple RHEL streams.
Affected populations and products
- Affected product family: Linux kernel Bluetooth MGMT subsystem.
- Confirmed Red Hat affected lines: RHEL 8, RHEL 9, RHEL 10, including some EUS, SAP, and kernel-rt variants.
- Not affected: RHEL 6, because the vulnerable code is not present.
- Higher-risk environments: enterprise endpoints, engineering workstations, kiosk/edge devices, and servers where Bluetooth is enabled or exposed to local users.
Exploitation status
- The provided references do not report confirmed exploitation in the wild.
- No public incident, ransomware, or threat actor campaign is cited in the references.


