Impact
A stack out‑of‑bounds write occurs in the kernel’s eir_create_adv_data routine when a 3‑byte Flags AD structure is prepended to advertising data that already occupies the full 31‑byte buffer. The copy operation does not check that the combined length fits, causing a 3‑byte overflow that corrupts stack memory. A local user who can configure Bluetooth LE advertising and has CAP_NET_ADMIN can trigger this condition, potentially leading to arbitrary code execution with kernel privileges. The vulnerability manifests only during the preparation of advertising data and does not involve any remote trigger.
Affected Systems
All Linux kernels that have not yet incorporated the commit adding bounds checking on the Flags AD are affected. This includes any distribution that ships the upstream kernel and exposes the legacy advertising path for Bluetooth LE controllers. The issue is triggered only if the system enables Bluetooth LE advertising and a process with CAP_NET_ADMIN configures advertising data.
Risk and Exploitability
The vulnerability is a local memory corruption bug with potential for kernel privilege escalation. The EPSS score is < 1% (indicating a low probability of exploitation), and the entry is not listed in CISA KEV. Because the flaw requires local administrative privileges (CAP_NET_ADMIN) and is limited to the Bluetooth legacy advertising path, exploitation is feasible only in environments where that capability is present. Given the severity of kernel stack corruption, the risk level is high and immediate remediation is recommended.
OpenCVE Enrichment
Debian DLA
Debian DSA