CVE-2026-64126

Bluetooth: MGMT: validate Add Extended Advertising Data length

State
Published
Severity
7.3 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before 0d5104390b445e7bd664ad583837e4c04d892c9dAffected
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before 14b01b9cba04e6ce82825f68fc4c4322fa4ffa43Affected
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before a143ce77a5292f2c9285137433d879ce71d190a7Affected
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before a6c75a3fad226ccbd8ef9110dee87c92c299f2abAffected
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before f1febe93ef075314615f970a87681d9ab86691d1Affected
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before 0bc1a5a69f541859293d79db72bd7854ac48df51Affected
  • 12410572833a283ce92fcf9679ca8a2f372097ee to before d3f7d17960ed50df3a6709c5158caff989c8c905Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.