Skip to main content

Linux Kernel CVE-2025-40213

HIGH
2025-11-24 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local CAP_NET_ADMIN access
  2. Delivery
    Open Bluetooth MGMT socket
  3. Exploit
    Send crafted SET_MESH_RECEIVER command
  4. Execution
    Overrun on-stack flexible array via memcpy
  5. Persist
    Trigger double list_del corruption
  6. Impact
    Kernel panic / denial of service

Vulnerability Assessment

Exploitation Conditions

Requires local access to the target and the ability to send commands over the Bluetooth Management (MGMT) socket - in practice CAP_NET_ADMIN - targeting the mesh receiver configuration path (SET_MESH_RECEIVER), so the Bluetooth subsystem must be present and the mesh management code reachable. Limiting factors: PR:L means the attacker must already hold elevated networking privileges (not an arbitrary unprivileged user in a locked-down config), the vector is local (AV:L, no remote/network trigger), no user interaction is needed (UI:N), and hosts without the Bluetooth stack loaded or with mesh disabled are not exposed. This is not remotely exploitable and does not affect default configurations lacking Bluetooth.

Impact

Signals are mostly consistent for a local denial-of-service class bug rather than a remote emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N) scores 7.8 HIGH and rates C:H/I:H/A:H, but the description, KASAN crash signature, and the vendor 'Denial Of Service' tag point to kernel crash/instability as the dominant real-world impact - so the full C:H/I:H rating likely overstates confidentiality/integrity for typical exploitation; verify against any downstream security advisory. EPSS is very low (0.03%, 9th percentile), there is no KEV listing and no public POC, indicating this is not being opportunistically exploited. Exploitation requires local access plus the privilege to drive the MGMT socket (effectively CAP_NET_ADMIN), which meaningfully limits the attacker population. Net priority: routine patch as part of normal kernel maintenance, elevated only for multi-tenant hosts or systems where untrusted local users can reach Bluetooth management.

Exploit ScenarioDerived

A local user or compromised low-privilege service holding CAP_NET_ADMIN opens the Bluetooth MGMT socket and issues a crafted SET_MESH_RECEIVER command with a length that overruns the mis-declared on-stack flexible array, triggering the out-of-bounds memcpy and/or the double list_del. The result is kernel memory corruption and a panic/crash, denying service to the host. No public POC is currently identified, and the local, privileged attack surface keeps practical risk modest.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 30, 2026

Local privilege-holders can crash the Linux kernel through the Bluetooth Management (MGMT) interface, where the set_mesh_sync handler performs a memcpy against an improperly declared on-stack flexible array, triggering a KASAN-detected stack-out-of-bounds access. A companion defect in set_mesh_complete() causes a double list_del (via mgmt_pending_valid followed by mgmt_pending_remove), corrupting kernel list state. There is no public exploit identified at time of analysis, EPSS is negligible (0.03%), and the flaw is not on CISA KEV; it is fixed in the mainline/stable Bluetooth mesh code.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:23

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. No vendor patch available.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel update that includes the three stable commits (1c9aca1787e8, 5c19daa93d9a, e8785404de06) from git.kernel.org, or the corresponding fixed package from your distribution once it ships. Until patched, reduce exposure by limiting who can issue Bluetooth MGMT commands: restrict CAP_NET_ADMIN, unload/blacklist the Bluetooth stack (modprobe blacklist bluetooth / rmmod) on systems that do not need it, and disable the experimental Bluetooth mesh feature if enabled - trade-off being loss of all Bluetooth or mesh functionality on that host. On servers and appliances with no Bluetooth requirement, disabling the subsystem entirely is the lowest-risk compensating control.

Affected ProductsAI

The affected product is the Linux kernel Bluetooth subsystem (net/bluetooth/mgmt.c) mesh handling, on kernel versions that introduced the MGMT set-mesh-receiver code prior to the fix commits. Exact vulnerable version ranges are not enumerated in the provided NVD data (no CPE strings supplied); affected builds should be identified by the presence of the pre-fix set_mesh_sync/set_mesh_complete code. Fix commits are published in the kernel stable tree: git.kernel.org/stable/c/1c9aca1787e8395a2c59fef20e914467958969c5, .../5c19daa93d9af29f1f46251b47e1ea66bcc8d679, and .../e8785404de06a69d89dcdd1e9a0b6ea42dc6d327.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the Bluetooth subsystem's userspace-facing Management (MGMT) protocol, specifically the mesh receiver configuration path (MGMT_OP_SET_MESH_RECEIVER handling in net/bluetooth/mgmt.c). The root cause is a mis-declared on-stack flexible array member combined with an unchecked memcpy, so attacker-controlled length/data drives a read/write past the intended stack buffer - a classic out-of-bounds (CWE-787/CWE-125 family, though the NVD CWE is marked N/A). A second issue is a use-after-removal/double-free-style list corruption: set_mesh_complete() calls mgmt_pending_valid (which already unlinks the command) and then mgmt_pending_remove, performing list_del twice on the same node. The fix uses DEFINE_FLEX to size the flexible array correctly, bounds the memcpy, and switches to mgmt_pending_free plus proper error-status reporting.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

Local MGMT socket needs CAP_NET_ADMIN (PR:L, AV:L); primary impact is kernel crash (A:H) with limited stack OOB read/corruption (C:L/I:L), no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Jul 30, 2026 - 08:15 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
CVE Published
Nov 24, 2025 - 16:15 nvd
N/A

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2025-40213 in the Linux kernel's Bluetooth Management (MGMT) interface allows local privilege-holders to crash the kernel through improper memory handling in mesh synchronization routines. While the CVSS score of 7.8 indicates high severity, no public exploit identified at time of analysis and the vulnerability requires local system access.

Business Impact: High
Compensating Controls

Restrict local user access to Bluetooth MGMT interface via SELinux or AppArmor policies; disable Bluetooth mesh functionality if not operationally required. Fix exists in Linux mainline kernel code-confirm stable-release backport timelines with your Linux distributor.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel runs everywhere, though vulnerable path needs Bluetooth mesh enabled
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Image SL-Micro Affected
Container suse/sl-micro/6.0/toolbox:latest Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy