# CVE-2026-12999: Infineon Airoc Wi-Fi driver leaks TX buffers on send failure, leading to permanent pool exhaustion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-28)
- **CWE:** CWE-401
- **Published:** 2026-08-22T20:35:40.445Z
- **Modified:** 2026-11-04T05:18:41.007Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.6.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2

## 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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.6.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-12999. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-12999.md
Affected: zephyrproject zephyr >= 3.6.0, < 4.3.2; >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: 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.
```

## FAQ

### Is CVE-2026-12999 being exploited?

There is no confirmed exploitation: CVE-2026-12999 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-12999?

Medium: CVSS 5.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-12999?

zephyrproject zephyr \>= 3.6.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2.

### Is there a fix for CVE-2026-12999?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-12999?

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.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8w97-ghfm-5wjp>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/4e6f624292ed153a762e98c7a297998c8d0b52c4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-12999>

HTML: <https://flawdb.com/CVE-2026-12999> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-12999>
