Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-40213
VULNERABILITY

CVE-2025-40213

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.8
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Nov 24, 2025 16:15
Modified
Oct 21, 2026 13:18
Last observed
Oct 21, 2026 20:24

References