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.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 9350d13427d0a4474eaccfb210e410579f8e5813; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 47d002350caf3fcfb12e4555782fd78ccfcc5105; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 61d254aebdd5971b32a94bbd08388112615f7e86; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < a57be7f9545d68fba5f1958692a7a8356e7d67c3; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 5ce411b4b92ff923fbb956f63052665cf1b3d7ef; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < 07a1b080c5a514449406f4c5842e6dd0d7b8b0df; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < ced1565397ddc42cb324d4d616698f494049eafc; >= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, < c52929073fccbc149267a2fd7458626a7e9abcfc |
| Linux | Linux | 4.12 |
References
- https://git.kernel.org/stable/c/07a1b080c5a514449406f4c5842e6dd0d7b8b0df
- https://git.kernel.org/stable/c/47d002350caf3fcfb12e4555782fd78ccfcc5105
- https://git.kernel.org/stable/c/5ce411b4b92ff923fbb956f63052665cf1b3d7ef
- https://git.kernel.org/stable/c/61d254aebdd5971b32a94bbd08388112615f7e86
- https://git.kernel.org/stable/c/9350d13427d0a4474eaccfb210e410579f8e5813
- https://git.kernel.org/stable/c/a57be7f9545d68fba5f1958692a7a8356e7d67c3
- https://git.kernel.org/stable/c/c52929073fccbc149267a2fd7458626a7e9abcfc
- https://git.kernel.org/stable/c/ced1565397ddc42cb324d4d616698f494049eafc
Timeline
- Published
- Nov 30, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Received