Skip to main content
Mallory
← Back to News
privilege-escalation-techniquewidely-deployed-product-advisoryembedded-device-vulnerability

Linux Kernel Bluetooth mgmt_pending Use-After-Free Flaw Fixed in RHEL

Attack Tradecraft · 4 sources · Updated 3mo ago · First seen Dec 9, 2025

Linux Kernel Bluetooth mgmt_pending Use-After-Free Flaw Fixed in RHEL

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.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

11 events · Oct 15, 2025 – Dec 9, 2025
  1. Reported Dec 9, 20251y ago

    Red Hat shipped RHEL 8 and RHEL 8 RT fixes for CVE-2025-39981

    Red Hat released RHSA-2026:21706 for the Red Hat Enterprise Linux 8 kernel and RHSA-2026:21745 for the RHEL 8 kernel-rt, both addressing CVE-2025-39981.

    CVE-2025-39981 - Red Hat Customer Portal
  2. Reported Dec 9, 20251y ago

    Red Hat shipped RHEL 9.4 EUS fix for CVE-2025-39981

    Red Hat released RHSA-2026:10108 to fix CVE-2025-39981 in the Red Hat Enterprise Linux 9.4 Extended Update Support kernel.

    CVE-2025-39981 - Red Hat Customer Portal
  3. Reported Dec 9, 20251y ago

    Red Hat shipped RHEL 9.2 SAP kernel fix for CVE-2025-39981

    Red Hat released RHSA-2026:9644 to address CVE-2025-39981 for the Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions kernel.

    CVE-2025-39981 - Red Hat Customer Portal
  4. Reported Dec 9, 20251y ago

    Red Hat shipped RHEL 9.2 SAP kernel-rt fix for CVE-2025-39981

    Red Hat released RHSA-2026:9512 to fix CVE-2025-39981 for the Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions kernel-rt.

    CVE-2025-39981 - Red Hat Customer Portal
  5. Reported Dec 9, 20251y ago

    Red Hat shipped RHEL 9.6 EUS fix for CVE-2025-39981

    Red Hat released RHSA-2026:0457 to address CVE-2025-39981 in the Red Hat Enterprise Linux 9.6 Extended Update Support kernel.

    CVE-2025-39981 - Red Hat Customer Portal
  6. Reported Dec 9, 20251y ago

    Red Hat shipped RHEL 10.0 EUS fix for CVE-2025-39981

    Red Hat released RHSA-2026:0271 to fix CVE-2025-39981 for the Red Hat Enterprise Linux 10.0 Extended Update Support kernel.

    CVE-2025-39981 - Red Hat Customer Portal
  7. Dec 9, 20251y ago

    Red Hat shipped RHEL 10 fix for CVE-2025-39981

    Red Hat released RHSA-2025:22854 to address CVE-2025-39981 in the Red Hat Enterprise Linux 10 kernel.

    CVE-2025-39981 - Red Hat Customer Portal
  8. Dec 1, 20251y ago

    Red Hat shipped RHEL 9 fix for CVE-2025-39981

    Red Hat released RHSA-2025:22405 to fix CVE-2025-39981 in the Red Hat Enterprise Linux 9 kernel.

    CVE-2025-39981 - Red Hat Customer Portal
  9. Oct 15, 20251y ago

    Red Hat publicly disclosed CVE-2025-39981

    Red Hat made its entry for CVE-2025-39981 public, describing a Linux kernel Bluetooth management flaw that can cause use-after-free or double-free conditions in mgmt_pending handling.

    CVE-2025-39981 - Red Hat Customer Portal
  10. Oct 15, 20251y ago

    Linux kernel CVE team announced CVE-2025-39981

    The Linux kernel CVE team announced CVE-2025-39981 as a Bluetooth MGMT use-after-free flaw caused by struct mgmt_pending being freed while still processed. The announcement said the issue was introduced in kernel 5.17 and fixed upstream in Linux 6.16.10 and 6.17.

    CVE-2025-39981: Bluetooth: MGMT: Fix possible UAFs
  11. Reported Sep 9, 200818y ago

    MITRE recorded CWE-416 updates in CWE 4.20

    MITRE recorded updates to the CWE-416 Use After Free entry through CWE version 4.20.

    CWE - CWE-416: Use After Free (4.20)
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Linux Kernel

Organizations

1 linked
Red Hat

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.