CVE-2024-36012

HIGH

Linux Kernel 5.12-6.1.90, 6.2-6.6.30, 6.7-6.8.9 - Use-After-Free in Bluetooth MSFT Filter Lock

Title source: llm
STIX 2.1

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

Scores

CVSS v3 7.8
EPSS 0.0021
EPSS Percentile 11.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (15)
linux/Kernel 5.12.0 - 6.1.91linux
linux/Kernel 6.2.0 - 6.6.31linux
linux/Kernel 6.7.0 - 6.8.10linux
Linux/Linux < 5.12
Linux/Linux 5.12
Linux/Linux 6.1.91 - 6.1.*
Linux/Linux 6.6.31 - 6.6.*
Linux/Linux 6.8.10 - 6.8.*
Linux/Linux 6.9
Linux/Linux bf6a4e30ffbd9e9ef8934582feb937f6532f8b68 - 10f9f426ac6e752c8d87bf4346930ba347aaabac
... and 5 more
Published May 23, 2024
Tracked Since Feb 18, 2026