CVE-2026-12999
Received Received - Intake

Memory Leak in Infineon Airoc Wi-Fi Driver

Vulnerability report for CVE-2026-12999, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-22

Last updated on: 2026-08-22

Assigner: Zephyr Project

Description

The Infineon Airoc Wi-Fi driver's transmit callback airoc_mgmt_send() in drivers/wifi/infineon/airoc_wifi.c allocates a net_buf from the fixed airoc_pool for every outbound packet. When whd_network_send_ethernet_data() returns a synchronous failure, the underlying WHD library does not take ownership of the buffer, but the pre-fix driver returned -EIO without releasing it. Each failed transmit therefore permanently leaks one buffer from the pool. airoc_pool is small and fixed (AIROC_WIFI_TX_PACKET_POOL_COUNT + AIROC_WIFI_RX_PACKET_POOL_COUNT, default 20 buffers) and is shared by WHD's whd_host_buffer_get callback for both transmit and receive. Once enough send failures have leaked the pool dry, airoc_wifi_host_buffer_get() returns WHD_BUFFER_ALLOC_FAIL for all subsequent allocations, so both transmit and the WHD-driven receive path fail and Wi-Fi connectivity is lost until the device is rebooted. The leak occurs only on the transmit error path. A Wi-Fi-adjacent attacker can influence the conditions that cause synchronous send failures (for example by deauthenticating/disassociating the station while the local stack continues to attempt transmits), and ordinary transient failures over the device's lifetime accumulate toward the same state. Reliable on-demand triggering is of high complexity and the impact is availability-only, but the resulting denial of service is permanent and non-recoverable without a reboot. The fix releases the buffer with airoc_wifi_buffer_release() on the failure branch, returning it to the pool. The commit also removes a redundant k_sem_give() in airoc_mgmt_disconnect(); because data->sema_common is a binary semaphore (limit 1) the duplicate give merely saturated at 1 and had no security impact.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-22
Last Modified
2026-08-22
Generated
2026-08-23
AI Q&A
2026-08-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
infineon airoc_wifi *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the Infineon Airoc Wi-Fi driver where a buffer leak occurs during failed transmit operations. When a packet transmission fails synchronously, the driver does not release the allocated buffer back to the pool, causing a permanent loss of one buffer. Since the buffer pool is small and shared for both transmit and receive operations, repeated failures eventually exhaust the pool, leading to a complete loss of Wi-Fi connectivity until the device is rebooted.

Detection Guidance

This vulnerability causes Wi-Fi connectivity loss due to buffer leaks. Monitor for sudden Wi-Fi disconnections or failed transmit attempts. Check system logs for WHD_BUFFER_ALLOC_FAIL errors or repeated -EIO failures in Wi-Fi operations.

Impact Analysis

The vulnerability can cause your device to lose Wi-Fi connectivity permanently until rebooted. An attacker nearby could exploit this by causing transmission failures, such as deauthenticating your device, which would eventually exhaust the buffer pool and disrupt all Wi-Fi functions, including both sending and receiving data.

Compliance Impact

This vulnerability primarily impacts availability by causing permanent Wi-Fi connectivity loss due to buffer exhaustion, which could disrupt systems handling sensitive data. For GDPR, this may affect data processing continuity and availability requirements. For HIPAA, it could interfere with systems requiring reliable network access for protected health information. However, the vulnerability does not directly expose or leak data, so confidentiality is not compromised.

Mitigation Strategies

Apply the official patch that adds airoc_wifi_buffer_release() on transmit failures. Reboot the device if connectivity is already lost. Avoid triggering synchronous send failures by preventing deauthentication attacks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12999. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart