CVE-2026-98827: wifi: ath9k_htc: bound TX aggregation to MAX_TX_BUF_SIZE

Published Oct 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath9khtc: bound TX aggregation to MAXTXBUFSIZE

hifusbtx() dequeues up to MAXTXAGGRNUM (20) frames into a single txbuf of MAXTXBUFSIZE (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 txbuf->buf before usbsubmiturb().

Peek the queue head and stop before copying any record that would cross MAXTXBUFSIZE, 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 == txskbcnt - 1. Stock only finalized txbuf->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 txbuf->len a running total and advance txbuf->offset per record instead; the stride roundup(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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 18, 2026
CVE Published
via MITRE·03:49 PM
Data Sourced
via MITRE·03:49 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203