# CVE-2025-40284: Bluetooth: MGMT: cancel mesh send timer when hdev removed

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-06T21:51:08.488Z
- **Modified:** 2026-10-15T22:19:06.983Z

## Who should check

- Anyone running Linux \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 990e6143b0ca0c66f099d67d00c112bf59b30d76; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 2927ff643607eddf4f03d10ef80fe10d977154aa; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 55fb52ffdd62850d667ebed842815e072d3c9961
- Anyone running Linux 6.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: MGMT: cancel mesh send timer when hdev removed

mesh\_send\_done timer is not canceled when hdev is removed, which causes
crash if the timer triggers after hdev is gone.

Cancel the timer when MGMT removes the hdev, like other MGMT timers.

Should fix the BUG: sporadically seen by BlueZ test bot
(in "Mesh - Send cancel - 1" test).

Log:
------
BUG: KASAN: slab-use-after-free in run\_timer\_softirq+0x76b/0x7d0
...
Freed by task 36:
 kasan\_save\_stack+0x24/0x50
 kasan\_save\_track+0x14/0x30
 \_\_kasan\_save\_free\_info+0x3a/0x60
 \_\_kasan\_slab\_free+0x43/0x70
 kfree+0x103/0x500
 device\_release+0x9a/0x210
 kobject\_put+0x100/0x1e0
 vhci\_release+0x18b/0x240
------

## Affected and fixed versions

- Linux: \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 990e6143b0ca0c66f099d67d00c112bf59b30d76; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 2927ff643607eddf4f03d10ef80fe10d977154aa; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 55fb52ffdd62850d667ebed842815e072d3c9961 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 55fb52ffdd62850d667ebed842815e072d3c9961 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40284. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40284.md
Affected: Linux >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 990e6143b0ca0c66f099d67d00c112bf59b30d76; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 2927ff643607eddf4f03d10ef80fe10d977154aa; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; >= b338d91703fae6f6afd67f3…
Fixed in: Linux 990e6143b0ca0c66f099d67d00c112bf59b30d76, Linux 2927ff643607eddf4f03d10ef80fe10d977154aa, Linux 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b, Linux 55fb52ffdd62850d667ebed842815e072d3c9961

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40284 being exploited?

There is no confirmed exploitation: CVE-2025-40284 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40284?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-40284?

Linux \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 990e6143b0ca0c66f099d67d00c112bf59b30d76; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 2927ff643607eddf4f03d10ef80fe10d977154aa; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; \>= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \< 55fb52ffdd62850d667ebed842815e072d3c9961; Linux 6.1.

### Is there a fix for CVE-2025-40284?

Yes. Fixed in Linux 990e6143b0ca0c66f099d67d00c112bf59b30d76, Linux 2927ff643607eddf4f03d10ef80fe10d977154aa, Linux 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b, Linux 55fb52ffdd62850d667ebed842815e072d3c9961. Upgrade Linux to 55fb52ffdd62850d667ebed842815e072d3c9961 or later.

### How do I check if I'm affected by CVE-2025-40284?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/990e6143b0ca0c66f099d67d00c112bf59b30d76>
- other: <https://git.kernel.org/stable/c/2927ff643607eddf4f03d10ef80fe10d977154aa>
- other: <https://git.kernel.org/stable/c/7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b>
- other: <https://git.kernel.org/stable/c/fd62ca5ad136dcf6f5aa308423b299a6be6f54ea>
- other: <https://git.kernel.org/stable/c/55fb52ffdd62850d667ebed842815e072d3c9961>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40284>

HTML: <https://flawdb.com/CVE-2025-40284> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40284>
