CVE-2024-56605: Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
bt_sock_alloc() allocates the sk object and attaches it to the provided
sock object. On error l2cap_sock_alloc() frees the sk object, but the
dangling pointer is still attached to the sock object, which may create
use-after-free in other code.
Security readout for executives and security teams
Plain-English summary
A Linux Bluetooth flaw can leave software pointing to memory that has already been freed when L2CAP socket creation fails. A low-privileged local user may be able to trigger memory corruption, potentially affecting system confidentiality, integrity, and availability. The supplied CVSS score is 7.8.
Executive priority
Prioritize normal high-severity patching, accelerating internet-facing, shared, kiosk, or multi-user Linux systems where untrusted users obtain local access. This is not evidenced as actively exploited, but kernel memory corruption and the stated confidentiality, integrity, and availability impacts justify timely remediation.
Technical view
bt_sock_alloc() allocates a kernel socket object and attaches it to a sock structure. If l2cap_sock_alloc() later fails, it frees that object without clearing the attached pointer. Subsequent code may dereference the stale pointer, creating a CWE-416 use-after-free condition.
Likely exposure
Exposure is most relevant to systems running an affected Linux kernel with Bluetooth L2CAP functionality reachable by low-privileged local users. The supplied version data is ambiguous and includes commit identifiers, so determine exposure using distribution package advisories and fix inclusion rather than version strings alone.
Exploitation context
The CVSS vector describes local, low-complexity exploitation requiring low privileges and no user interaction, with potentially high impact. The source bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or a public exploit. Practical exploitability is therefore not established here.
Researcher notes
The flaw occurs on an error path in l2cap_sock_create() and concerns ownership consistency between the sock structure and its freed sk object. The references show multiple stable-branch fixes. The bundle does not establish trigger reliability, exploit primitives, affected configurations, or exploitation in the wild.
Mitigation direction
Install a vendor-supported kernel package containing the applicable Linux stable fix.
Review the referenced Debian advisories when operating affected Debian LTS systems.
Reboot into the updated kernel after package installation.
If updates are delayed, restrict untrusted local access and review vendor-recommended temporary mitigations.
Validation and detection
Record the running kernel and distribution package versions across Linux assets.
Confirm the installed package includes the applicable referenced stable-kernel commit.
Verify systems rebooted into the corrected kernel rather than retaining the vulnerable kernel.
Check distribution security advisories for backported fixes and affected-package status.
Monitor vendor guidance because the supplied affected-version list is not sufficiently precise alone.
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.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
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.
2CVSS vectors
3Timeline events
2ADP providers
10Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.