Katalog CVE

CVE-2026-98827

Niskie ryzyko· EPSS 9%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.20%

Percentyl 9 - wyżej niż 9% wszystkich znanych CVE

Streszczenie

W jądrze Linux funkcja __hif_usb_tx() w ath9k_htc ogranicza liczbę agregowanych ramek, ale nie ich łączny rozmiar w bajtach. Przy dużych ramkach (MTU 2304) 20 zagregowanych ramek przekracza rozmiar bufora tx_buf, powodując zapis poza jego granicami w memcpy().

Ocena ryzyka

Może prowadzić do uszkodzenia pamięci jądra, awarii systemu lub potencjalnego wykonania kodu na urządzeniach z kartami Wi-Fi ath9k_htc.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę ograniczającą agregację TX do MAX_TX_BUF_SIZE i prawidłowo aktualizującą tx_buf->len.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k_htc: bound TX aggregation to MAX_TX_BUF_SIZE __hif_usb_tx() dequeues up to MAX_TX_AGGR_NUM (20) frames into a single tx_buf of MAX_TX_BUF_SIZE (32768) bytes, limiting the batch by record count but never by cumulative byte length. With large frames (MTU 2304), 20 aggregated frames of 2292 bytes each exceed the allocation (20 * 2296 = 45920 bytes), so the memcpy() in the loop writes up to 13152 bytes past tx_buf->buf before usb_submit_urb(). Peek the queue head and stop before copying any record that would cross MAX_TX_BUF_SIZE, then dispatch the current batch. Leftover skbs remain queued and are drained on the next URB completion. The byte bound changes the loop's exit semantics: it can now exit before i == tx_skb_cnt - 1. Stock only finalized tx_buf->len on that last index (len += offset), so an early break would submit a URB holding only the last record's length while every dequeued skb is freed on completion, silently dropping frames. Make tx_buf->len a running total and advance tx_buf->offset per record instead; the stride round_up(nskb->len + 4, 4) is identical to the stock stride when the loop runs to completion. Tested on hardware with an MTU 2304 flood: the loop stops at record 15 (len = 32144, offset = 32144, within 32768), no oversized URB is submitted, and MTU 1500 pings pass 20/20.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS