# CVE-2026-138932: staging: rtl8723bs: fix RX buffer OOB write from device-reported length

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:19.459Z
- Modified: 2026-11-30T14:17:52.400Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 9350d13427d0a4474eaccfb210e410579f8e5813; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 47d002350caf3fcfb12e4555782fd78ccfcc5105; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 61d254aebdd5971b32a94bbd08388112615f7e86; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before a57be7f9545d68fba5f1958692a7a8356e7d67c3; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 5ce411b4b92ff923fbb956f63052665cf1b3d7ef; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 07a1b080c5a514449406f4c5842e6dd0d7b8b0df; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before ced1565397ddc42cb324d4d616698f494049eafc; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c52929073fccbc149267a2fd7458626a7e9abcfc; 4.12 (not affected: before 4.12; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/9350d13427d0a4474eaccfb210e410579f8e5813>
- <https://git.kernel.org/stable/c/47d002350caf3fcfb12e4555782fd78ccfcc5105>
- <https://git.kernel.org/stable/c/61d254aebdd5971b32a94bbd08388112615f7e86>
- <https://git.kernel.org/stable/c/a57be7f9545d68fba5f1958692a7a8356e7d67c3>
- <https://git.kernel.org/stable/c/5ce411b4b92ff923fbb956f63052665cf1b3d7ef>
- <https://git.kernel.org/stable/c/07a1b080c5a514449406f4c5842e6dd0d7b8b0df>
- <https://git.kernel.org/stable/c/ced1565397ddc42cb324d4d616698f494049eafc>
- <https://git.kernel.org/stable/c/c52929073fccbc149267a2fd7458626a7e9abcfc>

## Sources

- CVE List: [CVE-2026-138932](https://www.cve.org/CVERecord?id=CVE-2026-138932), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138932](https://nvd.nist.gov/vuln/detail/CVE-2026-138932), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138932 · Whole record: https://cve.day/CVE-2026-138932.json · Rebuilt by cve.day 2026-11-30T14:33:04.294Z
