staging: rtl8723bs: fix RX buffer OOB write from device-reported length
Summary
| CVE | CVE-2026-138932 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:52 UTC |
| Updated | 2026-11-30 14:17:52 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 9350d13427d0a4474eaccfb210e410579f8e5813 git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 47d002350caf3fcfb12e4555782fd78ccfcc5105 git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 61d254aebdd5971b32a94bbd08388112615f7e86 git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b a57be7f9545d68fba5f1958692a7a8356e7d67c3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 5ce411b4b92ff923fbb956f63052665cf1b3d7ef git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b 07a1b080c5a514449406f4c5842e6dd0d7b8b0df git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b ced1565397ddc42cb324d4d616698f494049eafc git |
Not specified |
| CNA |
Linux |
Linux |
affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b c52929073fccbc149267a2fd7458626a7e9abcfc git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.12 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.12 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/5ce411b4b92ff923fbb956f63052665cf1b3d7ef |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/47d002350caf3fcfb12e4555782fd78ccfcc5105 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9350d13427d0a4474eaccfb210e410579f8e5813 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ced1565397ddc42cb324d4d616698f494049eafc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/07a1b080c5a514449406f4c5842e6dd0d7b8b0df |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a57be7f9545d68fba5f1958692a7a8356e7d67c3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c52929073fccbc149267a2fd7458626a7e9abcfc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/61d254aebdd5971b32a94bbd08388112615f7e86 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.