Skip to main content

Linux Kernel EUVDEUVD-2026-45812

| CVE-2026-64127 MEDIUM
2026-07-19 Linux GHSA-w532-m3j8-f99h
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user access with BT socket privileges
  2. Delivery
    Pair and connect to Bluetooth peer in EXT_FLOWCTL mode
  3. Exploit
    Call setsockopt BT_RCVMTU on connected L2CAP socket
  4. Execution
    Kernel transmits 8-byte stack pointer value in ECRED_RECONF_REQ body
  5. Persist
    Peer captures frame and extracts kernel virtual address
  6. Impact
    Use leaked address to defeat KASLR for follow-on exploit

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) A local user account with the ability to create and use Bluetooth sockets - on most Linux distributions this means membership in the 'bluetooth' group or possession of CAP_NET_RAW; (2) Bluetooth hardware present and enabled on the host system; (3) An established BT_CONNECTED L2CAP socket operating in L2CAP_MODE_EXT_FLOWCTL (Extended Flow Control) mode - this is not the default mode and must be negotiated with a peer; (4) A Bluetooth peer within radio range capable of receiving the malformed ECRED_RECONF_REQ frame and capturing the leaked bytes. The trigger is a setsockopt(SOL_BLUETOOTH, BT_RCVMTU) call, which is an unprivileged socket operation once the connection exists. Limiting factors: not remotely exploitable over the internet; requires physical Bluetooth proximity; requires local code execution on the initiating host; requires L2CAP EXT_FLOWCTL mode which is non-default and not universally supported. The ECRED reconfigure feature has also been functionally broken since the introducing commit, so the leak occurs only during the (failed) reconfigure attempt.

Impact

The NVD-assigned CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) rates this as a local availability issue scoring 5.5, but the confidentiality impact is arguably misassigned. The CVE description explicitly demonstrates kernel virtual address leakage to the Bluetooth peer across three reproducible captures, which constitutes a concrete C:H impact enabling KASLR defeat - not C:N. The A:H assignment likely reflects the broken ECRED reconfigure functionality rather than a traditional crash or service disruption. This discrepancy between the assigned vector and the described behavior should be verified with the NVD or kernel security team. EPSS at 0.18% (7th percentile) indicates low automated exploitation probability, consistent with the local trigger requirement and narrow Bluetooth attack surface. No KEV listing and no public POC confirm this is not currently being exploited at scale. Real-world risk is moderate for environments using Bluetooth with L2CAP EXT_FLOWCTL sockets (e.g., audio management daemons, IoT gateways): a local user can passively leak a kernel address on every reconfigure attempt without any crash, making this a covert information disclosure. For hardened environments relying on KASLR as a mitigating control, this is a meaningful signal to patch promptly.

Exploit ScenarioDerived

A local user with access to Bluetooth sockets on a system with an active Bluetooth connection calls setsockopt(SOL_BLUETOOTH, BT_RCVMTU, ...) on a BT_CONNECTED L2CAP_MODE_EXT_FLOWCTL socket. The kernel responds by sending a malformed L2CAP_ECRED_RECONF_REQ whose body contains the 8-byte value of the kernel stack pointer (a KASLR-randomized virtual address) rather than the intended MTU/MPS/SCID fields. A cooperating or compromised Bluetooth peer within radio range captures this frame and extracts the kernel virtual address, using it to defeat KASLR and inform a follow-on kernel exploitation attempt. No public POC is identified at time of analysis, but the author validated the leak on a stock 7.0-based kernel using hciemu with three reproducible captures.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Kernel stack address disclosure in the Linux kernel's Bluetooth L2CAP subsystem leaks 8 bytes of kernel virtual address space to a paired Bluetooth peer whenever a local user triggers an L2CAP Enhanced Credit-Based Reconfigure (ECRED) request. The flaw was introduced by commit 1c08108f3014 when DEFINE_RAW_FLEX() converted the on-stack PDU struct but left l2cap_send_cmd() receiving the local pointer's stack storage address and sizeof(pointer) instead of the struct address and struct size. As a result, the ECRED reconfigure feature has been functionally broken for local initiators since that commit, and every reconfigure attempt passively leaks a KASLR-randomized kernel stack address to the Bluetooth peer, potentially aiding ASLR/KASLR bypass. No public exploit is identified at time of analysis, and the EPSS score of 0.18% (7th percentile) reflects low automated exploitation probability.

RemediationAI

Upgrade to a patched kernel release: Linux 6.12.92, 6.18.34, 7.0.11, or 7.1 (mainline). Upstream fix commits are available at the kernel stable tree (links above). Ubuntu users should apply the update referenced in USN-8593-1 (https://ubuntu.com/security/notices/USN-8593-1). For systems where immediate kernel upgrade is not feasible, the primary compensating control is to disable Bluetooth entirely (rfkill block bluetooth or blacklist btusb/bluetooth kernel modules), which prevents any L2CAP connection from being established and eliminates the attack surface entirely - trade-off is loss of all Bluetooth functionality. A narrower control is restricting access to Bluetooth socket creation by removing non-privileged users from the 'bluetooth' group and ensuring CAP_NET_RAW is not granted to untrusted processes; this does not eliminate the vulnerability but reduces the population of local users who can trigger the leak. Restricting Bluetooth to known-paired, trusted peers via the system's Bluetooth controller policy (e.g., bluetoothctl trust) limits the population of peers that can receive the leaked address, but does not prevent the leak itself.

Affected VersionsENISA

Linux 1c08108f3014881ad5f4c35a2abaf9c65475035d <3374ef8cf99368a40f7efd51a2a375a4c5dc6f0d
Linux 6.10
Linux patch: 0
Linux 1c08108f3014881ad5f4c35a2abaf9c65475035d <356c9d1a1cbacd2a1640fff3c050e1c3472e924f
Linux patch: 6.18.34
Linux patch: 6.12.92
Linux 1c08108f3014881ad5f4c35a2abaf9c65475035d <051922ab709c0a6917eae765c22481dfc68379e5
Linux 1c08108f3014881ad5f4c35a2abaf9c65475035d <ed5fcd2a26f0c16fc289c8cd6b03328a0582a687
Linux patch: 7.0.11
Linux patch: 7.1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Bluetooth L2CAP subsystem of the Linux kernel, specifically in l2cap_ecred_reconfigure() (net/bluetooth/l2cap_core.c). The DEFINE_RAW_FLEX() macro, introduced to suppress -Wflex-array-member-not-at-end compiler warnings (commit 1c08108f3014), expands to an anonymous union plus a typed local pointer named 'pdu'. The sibling function l2cap_ecred_conn_req() was converted correctly using sizeof(*pdu) and the dereferenced pointer, but l2cap_ecred_reconfigure() retained sizeof(pdu) - which evaluates to sizeof(pointer), 8 bytes on 64-bit and 4 on 32-bit - and &pdu, which is the address of the local pointer variable on the kernel stack rather than the address of the PDU payload. l2cap_send_cmd() forwards these directly to l2cap_build_cmd() and skb_put_data(), so the on-wire L2CAP_ECRED_RECONF_REQ body carries those raw stack bytes (containing the pointer's own value, a KASLR-randomized kernel virtual address) rather than the intended (mtu, mps, scid) fields. CWE classification is not assigned, but the root cause is a classic C pointer/size confusion bug - analogous to CWE-466 (Return of Pointer Value Address of Local Variable) combined with an out-of-bounds read relative to the intended PDU boundary. CPE: cpe:2.3:a:linux:linux.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.1 MEDIUM

Local trigger via setsockopt (AV:L, PR:L); leaks kernel VA defeating KASLR (C:H); ECRED feature broken but no crash or availability denial beyond that feature (A:L).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 13, 2026 - 15:22 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:40 nvd
MEDIUM 5.5
CVE Published
Jul 19, 2026 - 15:40 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: ecred_reconfigure: send packed pdu, not stack pointer

Commit 1c08108f3014 ("Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings") converted the on-stack request PDU in l2cap_ecred_reconfigure() from an explicit packed struct to DEFINE_RAW_FLEX(), but did not adjust the size and source-pointer arguments to l2cap_send_cmd():

  • struct {
  • struct l2cap_ecred_reconf_req req;
  • __le16 scid;
  • } pdu;

+ DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); ... l2cap_send_cmd(conn, chan->ident, L2CAP_ECRED_RECONF_REQ, sizeof(pdu), &pdu);

After the conversion, DEFINE_RAW_FLEX() expands to declare an anonymous union pdu_u plus a local pointer "pdu" pointing at it. Therefore:

  • sizeof(pdu) is now sizeof(struct l2cap_ecred_reconf_req *) = 8 on

64-bit (4 on 32-bit), not the 6 bytes of (mtu, mps, scid[1]).

  • &pdu is the address of the local pointer's stack storage, not the

address of the request payload.

l2cap_send_cmd() forwards (data, count) to l2cap_build_cmd(), which calls skb_put_data(skb, data, count). The L2CAP_ECRED_RECONFIGURE_REQ packet body therefore contains 8 bytes copied from the kernel stack starting at &pdu -- the 8 bytes overlap the pdu pointer's value, leaking a kernel stack address to the paired Bluetooth peer. The intended (mtu, mps, scid) fields are not transmitted at all, so the peer rejects the request as malformed and the L2CAP_ECRED_RECONFIGURE feature itself has been broken for the local-side initiator since the introducing commit landed.

The sibling site l2cap_ecred_conn_req() in the same commit was converted correctly (sizeof(*pdu) + len, pdu); only this site was missed.

Restore the original semantics: pass the full flex-struct size via struct_size(pdu, scid, 1) and the pdu pointer (the struct address) as the source.

Validated on a stock 7.0-based host kernel via the real call path: setsockopt(SOL_BLUETOOTH, BT_RCVMTU, ...) on a BT_CONNECTED L2CAP_MODE_EXT_FLOWCTL socket emits an L2CAP_ECRED_RECONFIGURE_REQ whose body is 8 bytes (the on-stack pdu local's value) rather than the expected 6. Three captures from fresh socket / fresh hciemu peer on the same host -- low bytes vary per call, high 0xffff confirms a kernel virtual address (KASLR-randomised stack slot, not a fixed string):

RECONF_REQ body (ident=0x02 len=8): 42 fb 54 af 0e ca ff ff RECONF_REQ body (ident=0x02 len=8): 52 3d 2e af 0e ca ff ff RECONF_REQ body (ident=0x02 len=8): b2 fc 5b af 0e ca ff ff

After this patch the body is 6 bytes carrying the expected little-endian (mtu, mps, scid).

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel runs the majority of servers, cloud, IoT, and Android deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy