In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: cancel mesh send timer when hdev removed mesh_send_done timer… (CVE-2025-40284)
A use-after-free vulnerability in the Linux kernel Bluetooth mesh management code was resolved by ensuring the mesh send timer is canceled when the Bluetooth device (hdev) is removed. Failure to cancel this timer could cause a kernel crash if the timer triggers after the device is gone. This issue was observed sporadically in testing and is associated with a KASAN slab-use-after-free bug.
AI Analysis
Technical Summary
CVE-2025-40284 addresses a vulnerability in the Linux kernel's Bluetooth mesh management where the mesh_send_done timer was not canceled upon removal of the Bluetooth device (hdev). This oversight could lead to a use-after-free condition causing kernel crashes when the timer triggers after the device is freed. The fix involves canceling the timer during device removal, aligning with the handling of other MGMT timers. The issue was detected by the BlueZ test bot and is evidenced by KASAN slab-use-after-free errors in kernel logs.
Potential Impact
The vulnerability can cause a kernel crash (denial of service) due to a use-after-free condition in the Bluetooth mesh management subsystem. This affects system stability and could potentially be leveraged to escalate privileges or disrupt Bluetooth functionality. The CVSS vector indicates local attack complexity with low privileges required and no user interaction, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to cancel the mesh send timer when the Bluetooth device is removed. Users should update to a kernel version that includes this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply them accordingly.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: cancel mesh send timer when hdev removed mesh_send_done timer… (CVE-2025-40284)
Description
A use-after-free vulnerability in the Linux kernel Bluetooth mesh management code was resolved by ensuring the mesh send timer is canceled when the Bluetooth device (hdev) is removed. Failure to cancel this timer could cause a kernel crash if the timer triggers after the device is gone. This issue was observed sporadically in testing and is associated with a KASAN slab-use-after-free bug.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-40284 addresses a vulnerability in the Linux kernel's Bluetooth mesh management where the mesh_send_done timer was not canceled upon removal of the Bluetooth device (hdev). This oversight could lead to a use-after-free condition causing kernel crashes when the timer triggers after the device is freed. The fix involves canceling the timer during device removal, aligning with the handling of other MGMT timers. The issue was detected by the BlueZ test bot and is evidenced by KASAN slab-use-after-free errors in kernel logs.
Potential Impact
The vulnerability can cause a kernel crash (denial of service) due to a use-after-free condition in the Bluetooth mesh management subsystem. This affects system stability and could potentially be leveraged to escalate privileges or disrupt Bluetooth functionality. The CVSS vector indicates local attack complexity with low privileges required and no user interaction, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to cancel the mesh send timer when the Bluetooth device is removed. Users should update to a kernel version that includes this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply them accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5w6m-vxmj-7w4c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40284"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d49c2644c7f8479550
Added to database: 07/30/2026, 15:50:44 UTC
Last enriched: 07/30/2026, 17:39:07 UTC
Last updated: 09/10/2026, 19:38:49 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.