CVE-2026-138932
Description
In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8723bs: fix RX buffer OOB write from device-reported length
sd_recv_rxfifo() trusts the device-reported RX0_REQ_LEN value (hal->SdioRxFIFOSize, a u16 read from the card via CMD52) as the size of the next RX packet and passes it to sdio_read_port(), which copies that many bytes into the recvbuf skb whose data area is only MAX_RECVBUF_SZ (10240) bytes. A bogus device on SDIO can report up to 65535 bytes, causing a heap overflow of up to ~55KB past the skb buffer.
Bail out when the RX0_REQ_LEN exceeds MAX_RECVBUF_SZ. This is expected to keep behavior unchanged on normal devices.
Discovered by Atuin - Automated Vulnerability Discovery Engine.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/07a1b080c5a514449406f4c5842e6dd0d7b8b0dfnvd
- git.kernel.org/stable/c/47d002350caf3fcfb12e4555782fd78ccfcc5105nvd
- git.kernel.org/stable/c/5ce411b4b92ff923fbb956f63052665cf1b3d7efnvd
- git.kernel.org/stable/c/61d254aebdd5971b32a94bbd08388112615f7e86nvd
- git.kernel.org/stable/c/9350d13427d0a4474eaccfb210e410579f8e5813nvd
- git.kernel.org/stable/c/a57be7f9545d68fba5f1958692a7a8356e7d67c3nvd
- git.kernel.org/stable/c/c52929073fccbc149267a2fd7458626a7e9abcfcnvd
- git.kernel.org/stable/c/ced1565397ddc42cb324d4d616698f494049eafcnvd
News mentions
0No linked articles in our index yet.