Security mailing lists by PureSourceCode

CVE-2026-139688

not scored yet

wifi: rtw88: sdio: zero the padding added to a TX transfer

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 65371a3f14e73979958aea0db1e3bb456a296149, < 8146f118b6d3f573d946dca012a2d666e8b3ddae; >= 65371a3f14e73979958aea0db1e3bb456a296149, < fba1a6719db6452493578728a07bb42b1f64b44e; >= 65371a3f14e73979958aea0db1e3bb456a296149, < 12564b689ddec554135833e2627691571d326007; >= 65371a3f14e73979958aea0db1e3bb456a296149, < 3c4b0c3f8cb95dff1366a215172670623e2e60e4; >= 65371a3f14e73979958aea0db1e3bb456a296149, < b81ead28aeb1fd9bc3b0de4e20342b6b538ac658 8146f118b6d3f573d946dca012a2d666e8b3ddae, fba1a6719db6452493578728a07bb42b1f64b44e, 12564b689ddec554135833e2627691571d326007, 3c4b0c3f8cb95dff1366a215172670623e2e60e4, b81ead28aeb1fd9bc3b0de4e20342b6b538ac658
CVE List Linux Linux = 6.4

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.