Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 4 min 122 bronnen 1 kritiek 6 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-12999

MEDIUM · 5.3 CVSS Gepubliceerd: CWE-401

Beschrijving NL

De zend-callback airoc_mgmt_send() van het Infineon Airoc Wi-Fi-stuurprogramma in drivers/wifi/infineon/airoc_wifi.c wijst een net_buf toe uit de vaste airoc_pool voor elk uitgaand pakket. Wanneer whd_network_send_ethernet_data() een synchrone fout retourneert, neemt de onderliggende WHD-bibliotheek geen eigendom van de buffer, maar keerde het voorfix-stuurprogramma -EIO terug zonder deze vrij te geven. Elke mislukte transmissie lekt daarom permanent één buffer uit het zwembad. airoc_pool is klein en vast (AIROC_WIFI_TX_PACKET_POOL_COUNT + AIROC_WIFI_RX_PACKET_POOL_COUNT, standaard 20 buffers) en wordt gedeeld door WHD's whd_host_buffer_get callback voor zowel verzenden als ontvangen. Zodra voldoende verzendfouten de pool droog hebben gelekt, retourneert airoc_wifi_host_buffer_get() WHD_BUFFER_ALLOC_FAIL voor alle volgende toewijzingen, zodat zowel het verzend- als het WHD-gestuurde ontvangstpad mislukken en de wifi-connectiviteit verloren gaat totdat het apparaat opnieuw wordt opgestart. Het lek treedt alleen op op het verzendfoutpad. Een wifi-aanpalende aanvaller kan de omstandigheden beïnvloeden die synchrone verzendfouten veroorzaken (bijvoorbeeld door het station te de-authenticeren/ontkoppelen terwijl de lokale stack blijft proberen te verzenden), en gewone tijdelijke storingen tijdens de levensduur van het apparaat stapelen zich op in dezelfde toestand. Betrouwbare on-demand triggering is van hoge complexiteit en de impact is alleen beschikbaar, maar de resulterende denial of service is permanent en niet herstelbaar zonder opnieuw op te starten. De fix geeft de buffer vrij met airoc_wifi_buffer_release() op de storingstak en brengt deze terug naar het zwembad. De commit verwijdert ook een redundante k_sem_give() in airoc_mgmt_disconnect(); omdat data->sema_common een binaire semafoor is (limiet 1) die het duplicaat slechts verzadigd op 1 geeft en geen beveiligingsimpact had.

Origineel (Engels) tonen

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.

References