CVE-2025-40213 in Bluetooth products
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: fix crash in set_mesh_sync and set_mesh_complete There is a BUG: KASAN: stack-out-of-bounds in set_mesh_sync due to memcpy from badly declared on-stack flexible array. Another crash is in set_mesh_complete() due to double list_de...
Affects 1 product from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bluetooth | — | — |
| Kernel | — | — |
| Linux | Linux | 6.17 ≥ 6.6.140, < 6.7 ≥ 6.16.10, < 6.17 |
| Status | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: fix crash in set_mesh_sync and set_mesh_complete There is a BUG: KASAN: stack-out-of-bounds in set_mesh_sync due to memcpy from badly declared on-stack flexible array. Another crash is in set_mesh_complete() due to double list_del via mgmt_pending_valid + mgmt_pending_remove. Use DEFINE_FLEX to declare the flexible array right, and don't memcpy outside bounds. As mgmt_pending_valid removes the cmd from list, use mgmt_pending_free, and also report status on error.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40213 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258956-I |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-11-24 |
| Last modified | 2026-10-18 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's Bluetooth Management Interface (MGMT) can lead to a stack-out-of-bounds crash in the set_mesh_sync function and a double list_del crash in the set_mesh_complete function due to improper handling of flexible arrays and list operations.
An attacker with access to the Bluetooth Management Interface could potentially exploit this vulnerability to cause a kernel crash, leading to a denial of service. The vulnerability is related to improper memory handling and list operations in the Bluetooth MGMT code.
Questions
What is CVE-2025-40213?
A vulnerability in the Linux kernel's Bluetooth Management Interface (MGMT) can lead to a stack-out-of-bounds crash in the set_mesh_sync function and a double list_del crash in the set_mesh_complete function due to improper handling of flexible arrays and list operations.
What is the CVSS score for CVE-2025-40213?
CVE-2025-40213 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2025-40213 actively exploited?
No confirmed active exploitation of CVE-2025-40213 as of 2026-10-24.
How do I remediate CVE-2025-40213?
Priority: MEDIUM.
What systems are affected by CVE-2025-40213?
CVE-2025-40213 affects Bluetooth; Kernel; Linux Linux; Status.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bluetooth","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-18.