8.8high
wifi: mac80211: capture fast-RX rate before mesh reuses skb->cb
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: capture fast-RX rate before mesh reuses skb->cb ieee80211_invoke_fast_rx() reads RX status through IEEE80211_SKB_RXCB(skb), which aliases the same skb->cb storage that ieee80211_rx_mesh_data() reuses as IEEE80211_TX_INFO. In the unicast forward path, mesh_data does: info = IEEE80211_SKB_CB(fwd_skb); memset(info, 0, sizeof(*info)); on the same skb the caller still names via rx->skb, then either queues the skb for TX (success) or kfree_skb()'s it (no-route) before returning RX_QUEUED. The caller's RX_QUEUED arm then calls sta_stats_encode_rate(status) on memory that is either zeroed (success path) or freed (no-route path). The latter is KASAN slab-use-after-free in ieee80211_prepare_and_rx_handle. Fix by encoding the rate from status before invoking ieee80211_rx_mesh_data(), so the RX_QUEUED arm consumes a value captured while status was still backed by valid memory.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3468e1e0c639032a603450f0830ccabfa76f5806 before 5fe97797412aa8bc0184f78379fafb594bcb7f66, from 3468e1e0c639032a603450f0830ccabfa76f5806 before 0cd37e746e98ab0baa6d8b812955220775b080d6, from 3468e1e0c639032a603450f0830ccabfa76f5806 before a2650f8461cd8ba287fee2992b36abe733c2bd5e, from 3468e1e0c639032a603450f0830ccabfa76f5806 before 2fb64f94f9afb774f2fa0c7835727d7a67f89f07, from 3468e1e0c639032a603450f0830ccabfa76f5806 before d71c841be5d9e586ee7f36c0dc8ed4db0d9a1349, 6.4 Not affected: before 6.4, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.57 up to 6.18.*, from 7.0.11 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.4 before 7.0.11, 7.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-64117 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2026-64117 changed 2026-10-21 | Public domain |