Kernel compromise via Bluetooth management memory corruption
Published Nov 24, 2025 · Updated Nov 24, 2025
Memory corruption in the Linux kernel allows local users with CAP_NET_ADMIN to disclose memory, corrupt control data, or crash the kernel. set_mesh_sync copies excess bytes from a misdeclared on-stack flexible array, while set_mesh_complete deletes a pending command twice and can reuse a freed socket. Exploitation requires a local trusted Bluetooth management socket; no over-the-air interaction or victim action is required.
Summary
What happened
Memory corruption in the Linux kernel allows local users with CAP_NET_ADMIN to disclose memory, corrupt control data, or crash the kernel. set_mesh_sync copies excess bytes from a misdeclared on-stack flexible array, while set_mesh_complete deletes a pending command twice and can reuse a freed socket. Exploitation requires a local trusted Bluetooth management socket; no over-the-air interaction or victim action is required.
The record
- CVE
- CVE-2025-40213
- Published
- Nov 24, 2025
- Updated
- Nov 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 24, 2025CVE publishedPublication date reported by the CVE source.
- Nov 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=302a1f674c00dd5581ab8e493ef44767c5101aab <1c9aca1787e8395a2c59fef20e914467958969c5
- Affected versionversion=302a1f674c00dd5581ab8e493ef44767c5101aab <e8785404de06a69d89dcdd1e9a0b6ea42dc6d327
- Affected versionversion=6.17
- Affected versionversion=87a1f16f07c6c43771754075e08f45b41d237421
- Affected versionversion=d71b98f253b079cbadc83266383f26fe7e9e103b <5c19daa93d9af29f1f46251b47e1ea66bcc8d679
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo