Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-64539

published high CVSS 3.1 · 7.8

Bluetooth: eir: Fix stack OOB write when prepending the Flags AD

Published
27 Jul 2026, 20:10:33 UTC
Updated
21 Oct 2026, 12:43:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb44133ff03be30b55f23036e62f403a3f7784fce to < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014 · b44133ff03be30b55f23036e62f403a3f7784fce to < 9174992ee1045c9c96e53eecda64f49dd7e8fbba · b44133ff03be30b55f23036e62f403a3f7784fce to < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9 · b44133ff03be30b55f23036e62f403a3f7784fce to < f1b4df9c260c51726da2e86e19322825fddeefd0 · b44133ff03be30b55f23036e62f403a3f7784fce to < 57077eeb586c42f124bc09e018449362223067b3 · b44133ff03be30b55f23036e62f403a3f7784fce to < 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.1 (affected) · 0 to < 4.1 (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.180-1 DLA-4720-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Debian bookworm linux-6.12 Advisory build 6.12.100-1~deb12u1 DLA-4724-1
Debian bullseye linux-6.1 Advisory build 6.1.180-1~deb11u1 DLA-4723-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian trixie linux Advisory build 6.12.100-1 DSA-6405-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: eir: Fix stack OOB write when prepending the Flags AD eir_create_adv_data() builds the advertising data into a fixed-size buffer ("size", 31 for the legacy path). It may prepend a 3-byte "Flags" AD structure (LE_AD_NO_BREDR on an LE-only controller) and then copies the per-instance data without checking that it still fits: memcpy(ptr, adv->adv_data, adv->adv_data_len); tlv_data_max_len() only reserves those 3 bytes when the user-supplied flags carry a managed-flags bit, so an instance added with flags == 0 is accepted with adv_data_len up to the full buffer. At advertise time the flags are still prepended, and the memcpy() writes 3 + adv_data_len bytes into the size-byte buffer: BUG: KASAN: stack-out-of-bounds in eir_create_adv_data (net/bluetooth/eir.c:301) Write of size 31 at addr ffff88800a547bdc by task kworker/u9:0/65 Workqueue: hci0 hci_cmd_sync_work __asan_memcpy (mm/kasan/shadow.c:106) eir_create_adv_data (net/bluetooth/eir.c:301) hci_update_adv_data_sync (net/bluetooth/hci_sync.c:1310) hci_schedule_adv_instance_sync (net/bluetooth/hci_sync.c:1817) hci_cmd_sync_work (net/bluetooth/hci_sync.c:332) This frame has 1 object: [32, 64) 'cp' The "Flags" structure is added by the kernel, not requested by userspace, so only prepend it when it fits together with the instance advertising data; when there is no room for both, drop the flags rather than the user-provided data. Reachable by a local user with CAP_NET_ADMIN owning an LE-only controller on the legacy advertising path.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

35

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The overflow is driven entirely by locally supplied advertising data written to an AF_BLUETOOTH HCI control socket (MGMT_OP_ADD_ADVERTISING / ADD_EXT_ADV_DATA / MESH_SEND); no remote or adjacent Bluetooth peer can influence the length or contents. Consistent with the same-class CVE-2026-53209 and CVE-2026-64126, this is a local-only trigger. AC:L - The attacker fully controls both preconditions — submit an instance with flags==0 and adv_data_len at the maximum, containing no EIR_FLAGS element — and the kernel then deterministically prepends the 3-byte Flags AD on any LE-only controller. No race, no memory-layout luck, no retry needed. PR:L - Reaching the mgmt handler requires HCI_SOCK_TRUSTED, granted by CAP_NET_ADMIN, which is a delegated capability routinely held by the Bluetooth stack daemon rather than full system root, and this CNA scores the identical CAP_NET_ADMIN-gated Bluetooth mgmt paths (CVE-2026-64126, CVE-2026-53209, CVE-2026-31511) as PR:L. Choosing the higher-severity option where the privilege boundary is arguable. UI:N - The attacker issues the mgmt commands itself and the overflow fires from hci_cmd_sync_work when the instance is scheduled for advertising. No victim action of any kind is involved. S:U - The corruption is confined to the kernel's own stack within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - On the extended-advertising path the inflated length (254 > 251) makes struct_size() copy 3 bytes of adjacent kernel stack past the DEFINE_FLEX pdu into the HCI command skb, which is exposed via the HCI monitor channel and handed to the controller for broadcast, and the stack corruption is generally leverageable for further disclosure. I:H - This is an out-of-bounds write of fully attacker-controlled bytes (the tail of the user-supplied adv_data) past a local stack object, and it additionally leaves hdev->adv_data_len set to a value larger than the data actually stored. An attacker-controlled linear stack overflow is treated as high integrity impact. A:H - Overwriting bytes immediately past the stack object corrupts adjacent frame state and, with CONFIG_STACKPROTECTOR, will trip __stack_chk_fail leading to a kernel panic; the reported KASAN stack-out-of-bounds confirms real memory corruption in hci_cmd_sync_work.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b44133ff03be30b55f23036e62f403a3f7784fce to < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014 (affected · git)b44133ff03be30b55f23036e62f403a3f7784fce to < 9174992ee1045c9c96e53eecda64f49dd7e8fbba (affected · git)b44133ff03be30b55f23036e62f403a3f7784fce to < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9 (affected · git)b44133ff03be30b55f23036e62f403a3f7784fce to < f1b4df9c260c51726da2e86e19322825fddeefd0 (affected · git)b44133ff03be30b55f23036e62f403a3f7784fce to < 57077eeb586c42f124bc09e018449362223067b3 (affected · git)b44133ff03be30b55f23036e62f403a3f7784fce to < 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.1 (affected)0 to < 4.1 (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-121 CWE-121 Stack-based Buffer Overflow (CISA-ADP · adp)

References

6

Provider assertions

2

Linux · cna

Bluetooth: eir: Fix stack OOB write when prepending the Flags AD

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8d41111112d0a67413ddf632d6097653cb0febfeac0d25c6caeaa660d0018dfc
Ingested
21 Oct 2026, 12:48:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected