CVE-2026-64126

Source
https://cve.org/CVERecord?id=CVE-2026-64126
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64126.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64126
Downstream
Published
2026-07-19T15:40:23.276Z
Modified
2026-07-21T03:47:57.056968257Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Bluetooth: MGMT: validate Add Extended Advertising Data length
Details

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

Bluetooth: MGMT: validate Add Extended Advertising Data length

MGMTOPADDEXTADVDATA is registered as a variable-length command, with MGMTADDEXTADVDATASIZE as the fixed header size. The handler then uses cp->advdatalen and cp->scanrsplen 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 addextadvdata() pass an out-of-bounds pointer into tlvdataisvalid(). 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 MGMTOPGETADVINSTANCE. The trigger requires CAPNETADMIN 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64126.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
12410572833a283ce92fcf9679ca8a2f372097ee
Fixed
0d5104390b445e7bd664ad583837e4c04d892c9d
Fixed
14b01b9cba04e6ce82825f68fc4c4322fa4ffa43
Fixed
a143ce77a5292f2c9285137433d879ce71d190a7
Fixed
a6c75a3fad226ccbd8ef9110dee87c92c299f2ab
Fixed
f1febe93ef075314615f970a87681d9ab86691d1
Fixed
0bc1a5a69f541859293d79db72bd7854ac48df51
Fixed
d3f7d17960ed50df3a6709c5158caff989c8c905

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64126.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.142
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.92
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64126.json"