CVE-2026-139688
publishedwifi: rtw88: sdio: zero the padding added to a TX transfer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux65371a3f14e73979958aea0db1e3bb456a296149 to < 8146f118b6d3f573d946dca012a2d666e8b3ddae · 65371a3f14e73979958aea0db1e3bb456a296149 to < fba1a6719db6452493578728a07bb42b1f64b44e · 65371a3f14e73979958aea0db1e3bb456a296149 to < 12564b689ddec554135833e2627691571d326007 · 65371a3f14e73979958aea0db1e3bb456a296149 to < 3c4b0c3f8cb95dff1366a215172670623e2e60e4 · 65371a3f14e73979958aea0db1e3bb456a296149 to < b81ead28aeb1fd9bc3b0de4e20342b6b538ac658 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw88: sdio: zero the padding added to a TX transfer rtw_sdio_write_port() rounds the transfer up with sdio_align_size() and then hands that length to sdio_memcpy_toio() while the skb still only holds skb->len bytes. The difference, between one and 511 bytes, is read from beyond the end of the frame and transmitted. Whether it stays inside the skb's allocation depends on how much tailroom the skb happens to have, so this is at best sending uninitialised memory over the air. Pad the skb up to the transfer size first. __skb_pad() zeroes the added bytes, reallocates a cloned skb rather than writing into a buffer a clone still shares, and leaves skb->len alone, so nothing else in the transmit path has to change. It must not free the skb on failure: rtw_sdio_write_data() frees the skb itself and rtw_sdio_process_tx_queue() requeues it, so both callers still own it and would double free. Found while reworking this path for the RTL8723BS. Measured on RTL8723BS hardware, padding the transfer costs about 2% observable over transfer: uplink is 19.5 to 19.8 Mbit/s padded against 20.9 to 21.1 Mbit/s unpadded in an interleaved A/B, with scans, reconnection and a UDP flood clean in both. The other SDIO parts sharing this path are untested; I have only the RTL8723BS.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 65371a3f14e73979958aea0db1e3bb456a296149 to < 8146f118b6d3f573d946dca012a2d666e8b3ddae (affected · git)65371a3f14e73979958aea0db1e3bb456a296149 to < fba1a6719db6452493578728a07bb42b1f64b44e (affected · git)65371a3f14e73979958aea0db1e3bb456a296149 to < 12564b689ddec554135833e2627691571d326007 (affected · git)65371a3f14e73979958aea0db1e3bb456a296149 to < 3c4b0c3f8cb95dff1366a215172670623e2e60e4 (affected · git)65371a3f14e73979958aea0db1e3bb456a296149 to < b81ead28aeb1fd9bc3b0de4e20342b6b538ac658 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/12564b689ddec554135833e2627691571d326007
- https://git.kernel.org/stable/c/3c4b0c3f8cb95dff1366a215172670623e2e60e4
- https://git.kernel.org/stable/c/8146f118b6d3f573d946dca012a2d666e8b3ddae
- https://git.kernel.org/stable/c/b81ead28aeb1fd9bc3b0de4e20342b6b538ac658
- https://git.kernel.org/stable/c/fba1a6719db6452493578728a07bb42b1f64b44e
Provider assertions
1Linux · cna
wifi: rtw88: sdio: zero the padding added to a TX transfer
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e22672ac2552b3a49e48923458db00719951af38d1b7adef37143b9044ecffc9
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record