In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix RX buffer OOB write from device-reported length sd_recv_...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12linux |
All versions→ Not listed |
Not listed |
| Debian:13linux |
< 6.12.117-1→ 6.12.117-1 |
6.12.117-1 |
| Debian:14linux |
< 7.3.4-1→ 7.3.4-1 |
7.3.4-1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org