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

Bluetooth: MGMT: validate Add Extended Advertising Data length

MGMT_OP_ADD_EXT_ADV_DATA is registered as a variable-length command,
with MGMT_ADD_EXT_ADV_DATA_SIZE as the fixed header size. The handler
then uses cp->adv_data_len and cp->scan_rsp_len to validate and copy
cp->data, but it never checks that those bytes are part of the mgmt
command payload.

A short command can therefore make add_ext_adv_data() pass an
out-of-bounds pointer into tlv_data_is_valid(). If the bytes beyond
the command buffer are addressable, they can also be copied into the
advertising instance as scan response data, where the caller can read
them back via MGMT_OP_GET_ADV_INSTANCE. The trigger requires
CAP_NET_ADMIN in the initial user namespace; KASAN reports an 8-byte
slab-out-of-bounds read.

Reject commands whose length does not match the fixed header plus both
advertising data lengths before parsing cp->data.
Published: 2026-07-19
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s Bluetooth Management (MGMT) layer exposes a bug in the handling of the Add Extended Advertising Data command. The size of the command is not fully validated, allowing a specially crafted request to cause an out‑of‑bounds read of the mgmt command buffer. The fault occurs in tlv_data_is_valid, which results in a kernel read of memory that is not part of the command payload, as confirmed by the KASAN output. This read can be exfiltrated back to the attacker through the GET_ADV_INSTANCE operation, providing a channel for information disclosure. The flaw requires the sender to possess CAP_NET_ADMIN in the initial user namespace, so it is a local privileged threat but could be leveraged by an attacker who gains local administrative privileges.

Affected Systems

Affected systems are all Linux kernel distributions that have shipped the unpatched code. The kernel is identified as Linux:Linux, and the numbers are not listed in the data, but the commit series that introduced the patch is referenced in the advisory links.

Risk and Exploitability

Risk and exploitability assessment: The CVSS score of 7.3 indicates a moderate to high severity impact. The EPSS score of < 1% suggests, and the vulnerability is not currently listed in CISA’s KEV catalog. Nonetheless, because the bug can leak kernel memory and requires only local privilege escalation, organizations running Bluetooth services should prioritize applying the fix before a potential exploit is discovered.

Generated by OpenCVE AI on July 30, 2026 at 20:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest patched release that includes the commit fixing this issue
  • If updating the kernel immediately is not possible, disable the Bluetooth MGMT interface or block the Add Extended Advertising Data command via firewall or administration policies
  • After applying the patch or workaround, monitor kernel logs for any anomalous access patterns or memory corruption events, and verify that the operation no longer causes out‑of‑bounds reads

Generated by OpenCVE AI on July 30, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-805
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: validate Add Extended Advertising Data length MGMT_OP_ADD_EXT_ADV_DATA is registered as a variable-length command, with MGMT_ADD_EXT_ADV_DATA_SIZE as the fixed header size. The handler then uses cp->adv_data_len and cp->scan_rsp_len to validate and copy cp->data, but it never checks that those bytes are part of the mgmt command payload. A short command can therefore make add_ext_adv_data() pass an out-of-bounds pointer into tlv_data_is_valid(). If the bytes beyond the command buffer are addressable, they can also be copied into the advertising instance as scan response data, where the caller can read them back via MGMT_OP_GET_ADV_INSTANCE. The trigger requires CAP_NET_ADMIN in the initial user namespace; KASAN reports an 8-byte slab-out-of-bounds read. Reject commands whose length does not match the fixed header plus both advertising data lengths before parsing cp->data.
Title Bluetooth: MGMT: validate Add Extended Advertising Data length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:39:32.975Z

Reserved: 2026-07-19T07:54:57.036Z

Link: CVE-2026-64126

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64126 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:30:04Z

Weaknesses
  • CWE-805

    Buffer Access with Incorrect Length Value