CVE-2025-40213: Linux hwe edge · 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
Affects linux-hwe-edgeSource GCVE Database
Not known to be exploited · CVSS 7.8 Medium · fixed in 6.17.0-1011.11 : update linux-hwe-edge when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade linux-hwe-edge to 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 or 6.17.0-1007.7~24.04.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-hwe-edge | Affected
| Fixed in
|
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by correcting the flexible array declaration and list management in the Bluetooth MGMT code. Users should apply the official Linux kernel updates that include this fix. Since no specific patch links or vendor advisories are provided, check the Linux kernel official repositories or vendor advisories for the relevant fixed kernel versions and apply updates accordingly.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40213 (opens in a new tab)
- git.kernel.org/stable/c/1c9aca1787e8395a2c59fef20e914467958969c5 (opens in a new tab)
- git.kernel.org/stable/c/5c19daa93d9af29f1f46251b47e1ea66bcc8d679 (opens in a new tab)
- git.kernel.org/stable/c/e8785404de06a69d89dcdd1e9a0b6ea42dc6d327 (opens in a new tab)
- ubuntu.com/security/CVE-2025-40213 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40213 (opens in a new tab)
- git.kernel.org/linus/e8785404de06a69d89dcdd1e9a0b6ea42dc6d327 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)