LiveActive security incident?Get immediate response
CVE Record

CVE-2024-36012: Bluetooth: msft: fix slab-use-after-free in msft_do_close()

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

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux Bluetooth component can access memory after it has been freed during device shutdown. This can crash the system and may permit broader compromise when triggered by a local, low-privileged user. The supplied evidence demonstrates the memory-safety failure, but does not establish successful exploitation.

Executive priority

Treat as a high-priority kernel maintenance issue, especially on Bluetooth-enabled endpoints shared with untrusted local users. Accelerate supported kernel updates, but avoid declaring an emergency solely from the severity score: the supplied sources show a local memory-safety flaw without evidence of active exploitation.

Technical view

A lifetime race allows msft_do_close() to retain hdev->msft_data while msft_unregister() clears and frees it. The close path then accesses the freed filter_lock, producing a KASAN slab-use-after-free report. The kernel fix ties msft_data lifetime to the HCI device and defers freeing until hci_release_dev().

Likely exposure

Exposure is limited to Linux systems using affected kernel code and the relevant Bluetooth Microsoft-extension path. The record lists affected Linux versions beginning at 5.12, but its supplied version data is insufficient for reliable distribution-specific conclusions. Vendor kernels may contain backports despite reporting older version numbers.

Exploitation context

The CVSS vector describes local access, low complexity, low privileges, and no user interaction, with potentially high confidentiality, integrity, and availability impact. CISA KEV status is false in the supplied bundle, and no cited source establishes active exploitation or a public weaponized exploit.

Researcher notes

The demonstrated failure is an eight-byte read from a freed slab object during mutex acquisition. The source describes a specific lifetime correction, but does not provide evidence that the condition reliably yields code execution or information disclosure. Distribution-specific affected and fixed build mappings require vendor confirmation.

Mitigation direction

  • Update to a vendor-supported kernel containing the applicable referenced stable fix or an equivalent backport.
  • Check distribution security guidance because kernel version numbers alone may not reveal backported fixes.
  • Prioritize Bluetooth-capable multi-user systems where untrusted local users can execute code.
  • Use normal change controls and reboot into the corrected kernel after installation.

Validation and detection

  • Inventory running kernel builds on systems with Bluetooth hardware or Bluetooth services enabled.
  • Confirm the applicable stable commit or documented vendor backport is included in each running kernel.
  • Review kernel and KASAN logs for use-after-free reports involving msft_do_close or mutex locking.
  • After remediation, verify systems booted the corrected kernel rather than only installing it.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-36012 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-36012Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxbf6a4e30ffbd9e9ef8934582feb937f6532f8b68, bf6a4e30ffbd9e9ef8934582feb937f6532f8b68, bf6a4e30ffbd9e9ef8934582feb937f6532f8b68, bf6a4e30ffbd9e9ef8934582feb937f6532f8b68unaffected
LinuxLinux5.12, 0, 6.1.91, 6.6.31, 6.8.10, 6.9affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.