Skip to main content
Mallory
HighVulnerability

CVE-2025-39981: Use-after-free in Linux kernel Bluetooth MGMT pending command handling

Published Oct 15, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.23%8th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-39981CWE-416

CVE-2025-39981 is a use-after-free vulnerability in the Linux kernel Bluetooth management subsystem. A struct mgmt_pending object can be freed while asynchronous command processing still references it. Pending commands left on the management command list can also remain accessible to concurrent cleanup, creating use-after-free or double-free conditions. A demonstrated failure involves mgmt_add_adv_patterns_monitor_sync executing through hci_cmd_sync_work while Bluetooth controller shutdown frees the pending object through __mgmt_power_off. The issue was introduced upstream in Linux 5.17 and fixed in Linux 6.16.10 and 6.17; distribution kernels may have different affected versions because of backports. Exploitation can cause kernel memory corruption, potentially resulting in denial of service or privilege escalation.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A local attacker able to interact with the affected Bluetooth management subsystem can trigger kernel memory corruption. Consequences include kernel crashes and system-wide denial of service, with potential privilege escalation. A slab-use-after-free has been demonstrated; reliable privilege escalation is not established.

Mitigation

If you can’t patch tonight, do this now.

Disable Bluetooth management interfaces if they are unused. Where Bluetooth is required, harden management interfaces and restrict access to trusted users and processes until a fixed kernel can be deployed. These measures reduce exposure but do not correct the pending-command lifetime flaw.

Remediation

Patch, then assume compromise.

Upgrade to a supported kernel release containing the fix. Upstream fixes are included in Linux 6.16.10 and 6.17; use the latest supported stable release rather than cherry-picking individual commits. The fix introduces mgmt_pending_valid checks and atomically validates and removes pending commands while holding mgmt_pending_lock, preventing concurrent access and freeing. For distribution kernels, install the vendor-provided security update rather than relying solely on upstream version comparisons. Fixed Red Hat builds include 4.18.0-553.126.1.el8_10 for RHEL 8, 5.14.0-284.166.1.el9_2 for applicable RHEL 9.2 channels, 5.14.0-427.121.1.el9_4 for applicable RHEL 9.4 channels, 5.14.0-570.77.1.el9_6 for applicable RHEL 9.6 channels, and 6.12.0-55.52.1.el10_0 for RHEL 10.0 Extended Update Support. Reboot into the updated kernel.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-39981 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2025-39981 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-39981?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-39981.
Is there a patch for CVE-2025-39981?
Upgrade to a supported kernel release containing the fix. Upstream fixes are included in Linux 6.16.10 and 6.17; use the latest supported stable release rather than cherry-picking individual commits.
What products are affected by CVE-2025-39981?
Linux Kernel.
How severe is CVE-2025-39981?
CVE-2025-39981 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.23% (8th percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.