CVE-2026-64539
Bluetooth: eir: Fix stack OOB write when prepending the Flags AD
Mitigation
- Upgrade Linux to 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286 or later.
Who should check
- Anyone running Linux >= b44133ff03be30b55f23036e62f403a3f7784fce, < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 9174992ee1045c9c96e53eecda64f49dd7e8fbba; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9; >= b44133ff03be30b55f23036e62f403a3f7784fce, < f1b4df9c260c51726da2e86e19322825fddeefd0; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 57077eeb586c42f124bc09e018449362223067b3; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286
- Anyone running Linux 4.1
Vulnerability facts
- Affected
- Linux >= b44133ff03be30b55f23036e62f403a3f7784fce, < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 9174992ee1045c9c96e53eecda64f49dd7e8fbba; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9; >= b44133ff03be30b55f23036e62f403a3f7784fce, < f1b4df9c260c51726da2e86e19322825fddeefd0; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 57077eeb586c42f124bc09e018449362223067b3; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286; Linux 4.1
- Fixed in
- Linux 0f0b6232af56441d0a2dcb173cc4f8d8aab39014, Linux 9174992ee1045c9c96e53eecda64f49dd7e8fbba, Linux 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9, Linux 57077eeb586c42f124bc09e018449362223067b3, Linux 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-121
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b44133ff03be30b55f23036e62f403a3f7784fce, < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 9174992ee1045c9c96e53eecda64f49dd7e8fbba; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9; >= b44133ff03be30b55f23036e62f403a3f7784fce, < f1b4df9c260c51726da2e86e19322825fddeefd0; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 57077eeb586c42f124bc09e018449362223067b3; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286 | — | cvelist |
| Linux | 4.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64539. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64539.md Affected: Linux >= b44133ff03be30b55f23036e62f403a3f7784fce, < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 9174992ee1045c9c96e53eecda64f49dd7e8fbba; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9; >= b44133ff03be30b55f23036… Fixed in: Linux 0f0b6232af56441d0a2dcb173cc4f8d8aab39014, Linux 9174992ee1045c9c96e53eecda64f49dd7e8fbba, Linux 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9, Linux 57077eeb586c42f124bc09e018449362223067b3, Linux 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/0f0b6232af56441d0a2dcb173cc4f8d8aab39014
- https://git.kernel.org/stable/c/9174992ee1045c9c96e53eecda64f49dd7e8fbba
- https://git.kernel.org/stable/c/09301f1fdf2aef8cce34d0c4650c30e7edb1ced9
- https://git.kernel.org/stable/c/f1b4df9c260c51726da2e86e19322825fddeefd0
- https://git.kernel.org/stable/c/57077eeb586c42f124bc09e018449362223067b3
- https://git.kernel.org/stable/c/6f5fb689fdf80bdd143f22a502f9eb1f3c85e286
FAQ
Is CVE-2026-64539 being exploited?
There is no confirmed exploitation: CVE-2026-64539 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64539?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-64539?
Linux >= b44133ff03be30b55f23036e62f403a3f7784fce, < 0f0b6232af56441d0a2dcb173cc4f8d8aab39014; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 9174992ee1045c9c96e53eecda64f49dd7e8fbba; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9; >= b44133ff03be30b55f23036e62f403a3f7784fce, < f1b4df9c260c51726da2e86e19322825fddeefd0; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 57077eeb586c42f124bc09e018449362223067b3; >= b44133ff03be30b55f23036e62f403a3f7784fce, < 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286; Linux 4.1.
Is there a fix for CVE-2026-64539?
Yes. Fixed in Linux 0f0b6232af56441d0a2dcb173cc4f8d8aab39014, Linux 9174992ee1045c9c96e53eecda64f49dd7e8fbba, Linux 09301f1fdf2aef8cce34d0c4650c30e7edb1ced9, Linux 57077eeb586c42f124bc09e018449362223067b3, Linux 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286. Upgrade Linux to 6f5fb689fdf80bdd143f22a502f9eb1f3c85e286 or later.
How do I check if I'm affected by CVE-2026-64539?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.