staging: rtl8723bs: fix RX buffer OOB write from device-reported length

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 9350d13427d0a4474eaccfb210e410579f8e5813 Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 47d002350caf3fcfb12e4555782fd78ccfcc5105 Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 61d254aebdd5971b32a94bbd08388112615f7e86 Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before a57be7f9545d68fba5f1958692a7a8356e7d67c3 Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 5ce411b4b92ff923fbb956f63052665cf1b3d7ef Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before 07a1b080c5a514449406f4c5842e6dd0d7b8b0df Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before ced1565397ddc42cb324d4d616698f494049eafc Affected554c0a3abf216c991c5ebddcdb2c08689ecd290b to before c52929073fccbc149267a2fd7458626a7e9abcfc Affected
Linux Linux4.12 Affectedbefore 4.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.