CVE-2026-74488

wifi: mwifiex: use the subframe length when parsing A-MSDU TDLS frames

State
Published
Severity
8.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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

wifi: mwifiex: use the subframe length when parsing A-MSDU TDLS frames

mwifiex_11n_dispatch_amsdu_pkt() splits an A-MSDU with ieee80211_amsdu_to_8023s() and walks the resulting subframes. For each subframe it passes the subframe data pointer to mwifiex_process_tdls_action_frame(), but pairs it with skb->len, the length of the A-MSDU parent, instead of rx_skb->len:

rx_skb = __skb_dequeue(&list); rx_hdr = (struct rx_packet_hdr *)rx_skb->data; if (ISSUPP_TDLS_ENABLED(priv->adapter->fw_cap_info) && ntohs(rx_hdr->eth803_hdr.h_proto) == ETH_P_TDLS) { mwifiex_process_tdls_action_frame(priv, (u8 *)rx_hdr, skb->len); }

The parent is not a valid description of that buffer, and may not be valid memory at all. ieee80211_amsdu_to_8023s() ends with

if (!reuse_skb) dev_kfree_skb(skb);

and it only sets reuse_skb when the parent is linear, is not a head_frag, and is being consumed as the *last* subframe. So when the parent does not qualify for reuse it has already been freed, and the read of skb->len is a use-after-free. When it is reused, skb->len is the length of the last subframe, applied to every earlier subframe, which over-states the buffer whenever an earlier subframe is shorter.

The callee cannot absorb a wrong length, because it derives its own ceiling from the value it is given. Each frame type computes

ies_len = len - sizeof(struct ethhdr) - TDLS_*_FIX_LEN;

and the element walk is then bounded entirely against that ceiling,

for (end = pos + ies_len; pos + 1 < end; pos += 2 + pos[1]) { u8 ie_len = pos[1];

if (pos + 2 + ie_len > end) break;

so a too-large len moves end past the end of the subframe and the walk reads and copies beyond it. The A-MSDU layout is chosen by the sender, which makes the difference between the last subframe and a shorter earlier one remotely selectable. Reaching this requires TDLS support in firmware and the TDLS ethertype on the subframe.

The other caller, mwifiex_process_rx_packet(), is correct: it passes a pointer and a length that describe the same region of the RX buffer.

Pass rx_skb->len, the length of the subframe actually being parsed.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before 707664027bb9307f7268eda403af7c4ccd9b8644Affected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before 3b02275833a0d3e6583627995d614fa99bdf364fAffected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before a1f0f7dc7eb15754e6931b433edb7beb754c996aAffected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before 25e5a3fe4f15e30f74eca42cbf3bcc3a3fbeda79Affected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before ece2ebb34247d573142617dfc534a9dc11ba59beAffected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before c9dcfe6b8b71369e1d732e2ff622c3696a2f032cAffected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before 5a21ab03829cb6d2682c127f22e2b9cd63b4393fAffected
  • 776f742040ca5eb6242c60f29ac73d5752a5b621 to before 99a948382af8a225e2d5e54a7052158cd6281cc6Affected
LinuxLinux
  • 4.5Affected
  • before 4.5Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.151 through 6.6.*Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.