CVE-2026-139688

high

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.

References

https://git.kernel.org/stable/c/fba1a6719db6452493578728a07bb42b1f64b44e

https://git.kernel.org/stable/c/b81ead28aeb1fd9bc3b0de4e20342b6b538ac658

https://git.kernel.org/stable/c/8146f118b6d3f573d946dca012a2d666e8b3ddae

https://git.kernel.org/stable/c/3c4b0c3f8cb95dff1366a215172670623e2e60e4

https://git.kernel.org/stable/c/12564b689ddec554135833e2627691571d326007

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139394

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 7.1

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High