In the Linux kernel, the following vulnerability has been resolved: Bluetooth: eir: Fix stack OOB write when prepending the Flags AD… (CVE-2026-64539)
A stack out-of-bounds write vulnerability in the Linux kernel's Bluetooth EIR advertising data handling was resolved. The issue occurs when the kernel prepends a 3-byte Flags AD structure to advertising data without properly checking buffer boundaries, leading to a potential overflow. This vulnerability is reachable by a local user with CAP_NET_ADMIN privileges on an LE-only controller using the legacy advertising path.
AI Analysis
Technical Summary
The Linux kernel's eir_create_adv_data() function constructs Bluetooth advertising data in a fixed-size buffer of 31 bytes for the legacy path. It prepends a 3-byte Flags AD structure but does not verify if the combined size of the Flags and the user-supplied advertising data fits within the buffer. This results in a stack out-of-bounds write when memcpy copies adv_data_len bytes plus the 3-byte Flags into the fixed buffer. The flaw is triggered locally by users with CAP_NET_ADMIN privileges on LE-only controllers. The fix involves only prepending the Flags structure when it fits alongside the advertising data, dropping the Flags if insufficient space exists rather than the user data.
Potential Impact
Exploitation of this vulnerability can lead to memory corruption on the kernel stack, potentially causing system instability, crashes, or privilege escalation. The vulnerability affects confidentiality, integrity, and availability (C:H/I:H/A:H) of the system. However, exploitation requires local access with CAP_NET_ADMIN privileges and an LE-only Bluetooth controller on the legacy advertising path.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability has been resolved in the Linux kernel source, so applying the latest kernel updates when available is recommended. Until then, restrict CAP_NET_ADMIN privileges to trusted users and avoid using LE-only controllers with legacy advertising paths if possible.
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: eir: Fix stack OOB write when prepending the Flags AD… (CVE-2026-64539)
Description
A stack out-of-bounds write vulnerability in the Linux kernel's Bluetooth EIR advertising data handling was resolved. The issue occurs when the kernel prepends a 3-byte Flags AD structure to advertising data without properly checking buffer boundaries, leading to a potential overflow. This vulnerability is reachable by a local user with CAP_NET_ADMIN privileges on an LE-only controller using the legacy advertising path.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's eir_create_adv_data() function constructs Bluetooth advertising data in a fixed-size buffer of 31 bytes for the legacy path. It prepends a 3-byte Flags AD structure but does not verify if the combined size of the Flags and the user-supplied advertising data fits within the buffer. This results in a stack out-of-bounds write when memcpy copies adv_data_len bytes plus the 3-byte Flags into the fixed buffer. The flaw is triggered locally by users with CAP_NET_ADMIN privileges on LE-only controllers. The fix involves only prepending the Flags structure when it fits alongside the advertising data, dropping the Flags if insufficient space exists rather than the user data.
Potential Impact
Exploitation of this vulnerability can lead to memory corruption on the kernel stack, potentially causing system instability, crashes, or privilege escalation. The vulnerability affects confidentiality, integrity, and availability (C:H/I:H/A:H) of the system. However, exploitation requires local access with CAP_NET_ADMIN privileges and an LE-only Bluetooth controller on the legacy advertising path.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability has been resolved in the Linux kernel source, so applying the latest kernel updates when available is recommended. Until then, restrict CAP_NET_ADMIN privileges to trusted users and avoid using LE-only controllers with legacy advertising paths if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rxg5-jr9r-8pc7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64539"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d09c2644c7f8476abf
Added to database: 07/30/2026, 15:50:40 UTC
Last enriched: 07/30/2026, 19:25:00 UTC
Last updated: 07/31/2026, 21:17:47 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.