CVE-2024-36012
Last modified
CVE-2024-36012 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: Bluetooth: msft: fix slab-use-after-free in msft_do_close() Tying the msft->data lifetime to hdev by freeing it in hci_release_dev() to fix the following case: [use] msft_do_close() msft = hdev->msft_data; if (!msft) ...(1) <- passed. return; mutex_lock(&msft->filter_lock); ...(4) <- used after freed. [free] msft_unregister() msft = hdev->msft_data; hdev->msft_data = NULL; ...(2) kfree(msft); ...(3) <- msft is freed. ================================================================== BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/mutex.c:587 [inline] BUG: KASAN: slab-use-after-free in __mutex_lock+0x8f/0xc30 kernel/locking/mutex.c:752 Read of size 8 at addr ffff888106cbbca8 by task kworker/u5:2/309. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: msft: fix slab-use-after-free in msft_do_close() Tying the msft->data lifetime to hdev by freeing it in hci_release_dev() to fix the following case: [use] msft_do_close() msft = hdev->msft_data; if (!msft) ...(1) <- passed. return; mutex_lock(&msft->filter_lock); ...(4) <- used after freed. [free] msft_unregister() msft = hdev->msft_data; hdev->msft_data = NULL; ...(2) kfree(msft); ...(3) <- msft is freed. ================================================================== BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/mutex.c:587 [inline] BUG: KASAN: slab-use-after-free in __mutex_lock+0x8f/0xc30 kernel/locking/mutex.c:752 Read of size 8 at addr ffff888106cbbca8 by task kworker/u5:2/309
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.12, < 6.1.91 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.31 | — |
| Linux | Linux Kernel | >= 6.7, < 6.8.10 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-36012?
How severe is CVE-2024-36012?
How do I fix CVE-2024-36012?
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 2024
- CVE-2024-36007In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36008In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36009In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-3601The Poll Maker – Best WordPress Poll Plugin plugin for WordP…5.3
- CVE-2024-36010In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36011In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36013In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2024-36014In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36015In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-36016In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-36017In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-36018In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-36012?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
