Vulnerability in Linux
CVE-2025-40213
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.
EPSS: 0.001 (3.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions d71b98f253b079cbadc83266383f26fe7e9e103b, 302a1f674c00dd5581ab8e493ef44767c5101aab, 6.17
References
Frequently asked questions
- What is CVE-2025-40213?
- CVE-2025-40213 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-11-24.
- How severe is CVE-2025-40213?
- High severity. CVSS v3 base score is 7.8 out of 10.