In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: validate Add Extended Advertising Data length… (CVE-2026-64126)
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.
AI Analysis
Technical Summary
The Linux kernel's Bluetooth MGMT_OP_ADD_EXT_ADV_DATA command handler did not properly validate that the lengths of advertising and scan response data were within the bounds of the command payload. This allowed a short command to cause an out-of-bounds read in add_ext_adv_data(), passing an invalid pointer to tlv_data_is_valid(). If the out-of-bounds memory is accessible, it could be copied into the advertising instance and later read back by the caller. The vulnerability requires CAP_NET_ADMIN privileges and was detected by KASAN as an 8-byte slab-out-of-bounds read. The fix involves rejecting commands whose length does not match the fixed header plus both advertising data lengths before processing the data.
Potential Impact
An attacker with CAP_NET_ADMIN privileges in the initial user namespace could exploit this vulnerability to cause an out-of-bounds read in kernel memory. This could lead to information disclosure of kernel memory contents via Bluetooth advertising data. There is no indication of code execution or privilege escalation from the provided data. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reject malformed Bluetooth MGMT_OP_ADD_EXT_ADV_DATA commands with invalid length fields before parsing the data. Users should apply the official Linux kernel updates that include this fix. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. No additional mitigations are indicated by the vendor advisory.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: validate Add Extended Advertising Data length… (CVE-2026-64126)
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.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's Bluetooth MGMT_OP_ADD_EXT_ADV_DATA command handler did not properly validate that the lengths of advertising and scan response data were within the bounds of the command payload. This allowed a short command to cause an out-of-bounds read in add_ext_adv_data(), passing an invalid pointer to tlv_data_is_valid(). If the out-of-bounds memory is accessible, it could be copied into the advertising instance and later read back by the caller. The vulnerability requires CAP_NET_ADMIN privileges and was detected by KASAN as an 8-byte slab-out-of-bounds read. The fix involves rejecting commands whose length does not match the fixed header plus both advertising data lengths before processing the data.
Potential Impact
An attacker with CAP_NET_ADMIN privileges in the initial user namespace could exploit this vulnerability to cause an out-of-bounds read in kernel memory. This could lead to information disclosure of kernel memory contents via Bluetooth advertising data. There is no indication of code execution or privilege escalation from the provided data. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reject malformed Bluetooth MGMT_OP_ADD_EXT_ADV_DATA commands with invalid length fields before parsing the data. Users should apply the official Linux kernel updates that include this fix. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-ffq8-9j34-f4r6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64126"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a82a4a8d598912aeec
Added to database: 07/19/2026, 19:38:16 UTC
Last enriched: 07/19/2026, 19:45:12 UTC
Last updated: 07/20/2026, 19:41:21 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.