CVE-2025-40284
Last modified
CVE-2025-40284 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: cancel mesh send timer when hdev removed mesh_send_done timer is not canceled when hdev is removed, which causes crash if the timer triggers after hdev is gone. Cancel the timer when MGMT removes the hdev, like other MGMT timers. Should fix the BUG: sporadically seen by BlueZ test bot (in "Mesh - Send cancel - 1" test). Log: ------ BUG: KASAN: slab-use-after-free in run_timer_softirq+0x76b/0x7d0 ... Freed by task 36: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 __kasan_save_free_info+0x3a/0x60 __kasan_slab_free+0x43/0x70 kfree+0x103/0x500 device_release+0x9a/0x210 kobject_put+0x100/0x1e0 vhci_release+0x18b/0x240 ------. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: cancel mesh send timer when hdev removed mesh_send_done timer is not canceled when hdev is removed, which causes crash if the timer triggers after hdev is gone. Cancel the timer when MGMT removes the hdev, like other MGMT timers. Should fix the BUG: sporadically seen by BlueZ test bot (in "Mesh - Send cancel - 1" test). Log: ------ BUG: KASAN: slab-use-after-free in run_timer_softirq+0x76b/0x7d0 ... Freed by task 36: kasan_save_stack+0x24/0x50 kasan_save_track+0x14/0x30 __kasan_save_free_info+0x3a/0x60 __kasan_slab_free+0x43/0x70 kfree+0x103/0x500 device_release+0x9a/0x210 kobject_put+0x100/0x1e0 vhci_release+0x18b/0x240 ------
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 990e6143b0ca0c66f099d67d00c112bf59b30d76; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 2927ff643607eddf4f03d10ef80fe10d977154aa; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < fd62ca5ad136dcf6f5aa308423b299a6be6f54ea; >= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, < 55fb52ffdd62850d667ebed842815e072d3c9961 |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40284?
How severe is CVE-2025-40284?
How do I fix CVE-2025-40284?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40279In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4028A vulnerability has been found in PHPGurukul COVID19 Testing…9.8
- CVE-2025-40280In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40281In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40282In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2025-40283In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40285In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-40286In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40287In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40288In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40289In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4029A vulnerability was found in code-projects Personal Diary Ma…7.8
Are you affected by CVE-2025-40284?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
