Skip to main content

Linux Kernel CVE-2026-64539

| EUVDEUVD-2026-49590 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-27 Linux GHSA-rxg5-jr9r-8pc7
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local CAP_NET_ADMIN on BLE host
  2. Delivery
    Register advertising instance with flags=0, max data
  3. Exploit
    Kernel schedules legacy advertisement
  4. Execution
    Flags AD prepended, memcpy overflows stack buffer
  5. Impact
    Corrupt kernel stack / crash or escalate

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access with the CAP_NET_ADMIN capability, ownership of an LE-only Bluetooth controller, and use of the legacy (non-extended) advertising path. The specific trigger is registering an advertising instance whose flags field is 0 (so no managed-flags reservation is made) with adv_data_len set near the 31-byte maximum; the kernel then unconditionally prepends the 3-byte LE_AD_NO_BREDR Flags structure and overflows. Limiting factors: it is not remotely reachable (AV:L), it needs an elevated capability rather than an unprivileged user, it depends on LE-only controller hardware and the legacy advertising code path, and there is no user-interaction or network component - meaning a hostile actor must already be local and privileged on a Bluetooth-enabled host.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) rates this High, but the vector understates the privilege requirement: the description states exploitation requires a local user with CAP_NET_ADMIN owning an LE-only controller, which is closer to PR:H than PR:L. EPSS is very low (0.16%, 6th percentile), it is not in CISA KEV, and no public exploit is identified - all consistent with a bug that is real but not broadly weaponized. There is no SSVC decision data provided. The net picture is a legitimate local kernel memory-corruption issue whose practical risk is bounded by needing an already-privileged local actor and specific Bluetooth hardware/configuration, so it is a routine-to-important patch priority rather than an emergency. Note the tension between the network-agnostic High CVSS and the clearly local, capability-gated reachability described - defenders should weight the description's constraints over the raw score.

Exploit ScenarioDerived

A local user or container process that holds CAP_NET_ADMIN and controls an LE-only Bluetooth controller registers a legacy advertising instance with flags set to 0 and advertising data filling the full 31-byte buffer. When the kernel schedules the advertisement, it prepends the 3-byte Flags AD element and the memcpy overflows the stack buffer, corrupting adjacent kernel stack memory and potentially crashing the system or enabling further privilege manipulation. No public proof-of-concept is identified at time of analysis; the KASAN trace in the advisory demonstrates the overflow but is not a weaponized exploit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Stack out-of-bounds write in the Linux kernel Bluetooth subsystem (net/bluetooth/eir.c) lets a local privileged user corrupt kernel stack memory when an LE-only controller assembles legacy advertising data. eir_create_adv_data() prepends a 3-byte 'Flags' AD structure to a fixed 31-byte buffer without accounting for it in the length check, so an advertising instance created with flags == 0 and a maximal adv_data_len causes a 3-byte overflow past the buffer during hci_update_adv_data_sync(). There is no public exploit identified at time of analysis and EPSS is low (0.16%), consistent with a local, capability-gated memory-corruption bug rather than a mass-exploitation target.

RemediationAI

Vendor-released patch: update to a fixed Linux kernel build - 6.1.178, 6.12.97, 6.18.40, or 7.1.5 (fix also in 7.2-rc1) or later on the corresponding stable branch - via your distribution's kernel package updates, then reboot. The fix commits are available at git.kernel.org (e.g. https://git.kernel.org/stable/c/09301f1fdf2aef8cce34d0c4650c30e7edb1ced9); track the CVE at https://nvd.nist.gov/vuln/detail/CVE-2026-64539. Where immediate patching is not possible, reduce exposure by removing CAP_NET_ADMIN from untrusted local users and containers (the capability is required to add advertising instances), unloading or blacklisting the Bluetooth stack (rmmod/modprobe blacklist of bluetooth and btusb) on servers that do not need BLE, or disabling/removing the LE-only Bluetooth controller so the vulnerable legacy advertising path is never exercised; the trade-off of these controls is loss of all Bluetooth/BLE advertising functionality on the host.

Affected VersionsENISA

Linux patch: 6.12.97
Linux patch: 7.2-rc1
Linux b44133ff03be30b55f23036e62f403a3f7784fce <09301f1fdf2aef8cce34d0c4650c30e7edb1ced9
Linux patch: 6.18.40
Linux patch: 7.1.5
Linux patch: 6.1.178
Linux b44133ff03be30b55f23036e62f403a3f7784fce <f1b4df9c260c51726da2e86e19322825fddeefd0
Linux b44133ff03be30b55f23036e62f403a3f7784fce <6f5fb689fdf80bdd143f22a502f9eb1f3c85e286
Linux b44133ff03be30b55f23036e62f403a3f7784fce <0f0b6232af56441d0a2dcb173cc4f8d8aab39014
Linux b44133ff03be30b55f23036e62f403a3f7784fce <57077eeb586c42f124bc09e018449362223067b3
Linux patch: 0
Linux 4.1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the Bluetooth Low Energy advertising path of the Linux kernel. eir_create_adv_data() builds Extended Inquiry Response / advertising data into a fixed-size buffer (31 bytes on the legacy path). tlv_data_max_len() only reserves 3 bytes for the managed 'Flags' AD element when the user-supplied flags actually carry a managed-flags bit; an instance registered with flags == 0 therefore passes validation with adv_data_len up to the full 31 bytes. At advertise time the kernel still unconditionally prepends the LE_AD_NO_BREDR Flags element on an LE-only controller, and the subsequent memcpy(ptr, adv->adv_data, adv->adv_data_len) writes 3 + adv_data_len bytes into the size-byte stack buffer, overflowing the 'cp' stack object. This is a classic off-by-reservation stack buffer overflow (CWE-787 Out-of-bounds Write / CWE-121 stack-based buffer overflow), even though the CVE record lists CWE as N/A. The fix only prepends the Flags element when it fits alongside the instance data, dropping the kernel-added flags rather than truncating user data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.0 MEDIUM

Requires local CAP_NET_ADMIN and specific BLE hardware, so AV:L/PR:H; a 3-byte kernel stack overwrite yields integrity/availability impact but no direct information disclosure (C:N).

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.0 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch available
Jul 27, 2026 - 21:17 EUVD
CVE Published
Jul 27, 2026 - 20:10 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 27, 2026 - 20:10 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A stack buffer overflow in the Linux kernel Bluetooth subsystem (CVE-2026-64539, CVSS 7.8) enables kernel memory corruption on systems where local privileged users have access; no public exploit identified at time of analysis, and EPSS data (0.2%) indicates minimal real-world exploitation risk, reducing immediate organizational urgency despite the technical severity of kernel-level memory corruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel Bluetooth subsystem, present across nearly all Linux deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy