Bluetooth: MGMT: validate Add Extended Advertising Data length
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.
CVE-2026-64126
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-64126
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "0d5104390b445e7bd664ad583837e4c04d892c9d",
"versionType": "git"
},
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "14b01b9cba04e6ce82825f68fc4c4322fa4ffa43",
"versionType": "git"
},
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "a143ce77a5292f2c9285137433d879ce71d190a7",
"versionType": "git"
},
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "a6c75a3fad226ccbd8ef9110dee87c92c299f2ab",
"versionType": "git"
},
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "f1febe93ef075314615f970a87681d9ab86691d1",
"versionType": "git"
},
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "0bc1a5a69f541859293d79db72bd7854ac48df51",
"versionType": "git"
},
{
"status": "affected",
"version": "12410572833a283ce92fcf9679ca8a2f372097ee",
"lessThan": "d3f7d17960ed50df3a6709c5158caff989c8c905",
"versionType": "git"
}
],
"programFiles": [
"net/bluetooth/mgmt.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.142",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.92",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.34",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.11",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/bluetooth/mgmt.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-64126
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #40962 · Revision 1
- Added to Heist Feed
- Publisher date