CVE-2025-40284
Bluetooth: MGMT: cancel mesh send timer when hdev removed
Mitigation
- Upgrade Linux to 55fb52ffdd62850d667ebed842815e072d3c9961 or later.
Who should check
- Anyone running Linux >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 990e6143b0ca0c66f099d67d00c112bf59b30d76; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 2927ff643607eddf4f03d10ef80fe10d977154aa; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 55fb52ffdd62850d667ebed842815e072d3c9961
- Anyone running Linux 6.1
Vulnerability facts
- Affected
- Linux >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 990e6143b0ca0c66f099d67d00c112bf59b30d76; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 2927ff643607eddf4f03d10ef80fe10d977154aa; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 55fb52ffdd62850d667ebed842815e072d3c9961; Linux 6.1
- Fixed in
- Linux 990e6143b0ca0c66f099d67d00c112bf59b30d76, Linux 2927ff643607eddf4f03d10ef80fe10d977154aa, Linux 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b, Linux 55fb52ffdd62850d667ebed842815e072d3c9961
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 990e6143b0ca0c66f099d67d00c112bf59b30d76; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 2927ff643607eddf4f03d10ef80fe10d977154aa; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 55fb52ffdd62850d667ebed842815e072d3c9961 | — | cvelist |
| Linux | 6.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- https://git.kernel.org/stable/c/990e6143b0ca0c66f099d67d00c112bf59b30d76
- https://git.kernel.org/stable/c/2927ff643607eddf4f03d10ef80fe10d977154aa
- https://git.kernel.org/stable/c/7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b
- https://git.kernel.org/stable/c/fd62ca5ad136dcf6f5aa308423b299a6be6f54ea
- https://git.kernel.org/stable/c/55fb52ffdd62850d667ebed842815e072d3c9961
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.