wifi: mac80211: set up the TX info early to fix failure paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Original description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: set up the TX info early to fix failure paths
The previous commit 2c51457d930f ("wifi: mac80211: free ack status frame on TX header build failure") cleaned up the leak, but still left the code a bit messy and the failed SKB didn't get reported to userspace.
Fix this up by initialising skb->cb[] earlier, which allows using ieee80211_free_txskb() and therefore reports it for the failure in ieee80211_build_hdr(), and unifies the ieee80211_skb_resize() failure path with it.
From the CVE record · Linux
References
- git.kernel.org/stable/c/df711e9fa20d7e996711c7f43a11a71805bef78d
- git.kernel.org/stable/c/420fcc2fdeae6ecd682d2b1605a0a54c88aed4aa
- git.kernel.org/stable/c/36e6f0a5e6d7238f4023e77f423c1c1414374309
- git.kernel.org/stable/c/0fb37d2b6cb829cebdaea80f39011469f474bdcc
- git.kernel.org/stable/c/03d67414bd05b86029afc14535238a9393eac1c6
- git.kernel.org/stable/c/50d3d79dc0743b616afb00d01a626c76758721f7
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98325.json
- nvd.nist.gov/vuln/detail/CVE-2026-98325
- git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git