# CVE-2023-52611: wifi: rtw88: sdio: Honor the host max\_req\_size in the RX path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2024-03-18T10:07:46.633Z
- **Modified:** 2026-06-17T06:43:09.423Z

## Who should check

- Anyone running Linux \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7; \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 0e9ffff72a0674cd6656314dbd99cdd2123a3030; \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 00384f565a91c08c4bedae167f749b093d10e3fe
- Anyone running Linux 6.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: rtw88: sdio: Honor the host max\_req\_size in the RX path

Lukas reports skb\_over\_panic errors on his Banana Pi BPI-CM4 which comes
with an Amlogic A311D (G12B) SoC and a RTL8822CS SDIO wifi/Bluetooth
combo card. The error he observed is identical to what has been fixed
in commit e967229ead0e ("wifi: rtw88: sdio: Check the HISR RX\_REQUEST
bit in rtw\_sdio\_rx\_isr()") but that commit didn't fix Lukas' problem.

Lukas found that disabling or limiting RX aggregation works around the
problem for some time (but does not fully fix it). In the following
discussion a few key topics have been discussed which have an impact on
this problem:
- The Amlogic A311D (G12B) SoC has a hardware bug in the SDIO controller
  which prevents DMA transfers. Instead all transfers need to go through
  the controller SRAM which limits transfers to 1536 bytes
- rtw88 chips don't split incoming (RX) packets, so if a big packet is
  received this is forwarded to the host in it's original form
- rtw88 chips can do RX aggregation, meaning more multiple incoming
  packets can be pulled by the host from the card with one MMC/SDIO
  transfer. This Depends on settings in the REG\_RXDMA\_AGG\_PG\_TH
  register (BIT\_RXDMA\_AGG\_PG\_TH limits the number of packets that will
  be aggregated, BIT\_DMA\_AGG\_TO\_V1 configures a timeout for aggregation
  and BIT\_EN\_PRE\_CALC makes the chip honor the limits more effectively)

Use multiple consecutive reads in rtw\_sdio\_read\_port() and limit the
number of bytes which are copied by the host from the card in one
MMC/SDIO transfer. This allows receiving a buffer that's larger than
the hosts max\_req\_size (number of bytes which can be transferred in
one MMC/SDIO transfer). As a result of this the skb\_over\_panic error
is gone as the rtw88 driver is now able to receive more than 1536 bytes
from the card (either because the incoming packet is larger than that
or because multiple packets have been aggregated).

In case of an receive errors (-EILSEQ has been observed by Lukas) we
need to drain the remaining data from the card's buffer, otherwise the
card will return corrupt data for the next rtw\_sdio\_read\_port() call.

## Affected and fixed versions

- Linux: \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7; \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 0e9ffff72a0674cd6656314dbd99cdd2123a3030; \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 00384f565a91c08c4bedae167f749b093d10e3fe (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 00384f565a91c08c4bedae167f749b093d10e3fe or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52611. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52611.md
Affected: Linux >= 65371a3f14e73979958aea0db1e3bb456a296149, < 5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7; >= 65371a3f14e73979958aea0db1e3bb456a296149, < 0e9ffff72a0674cd6656314dbd99cdd2123a3030; >= 65371a3f14e73979958aea0db1e3bb456a296149, < 00384f565a91c08c4bedae167f749b093d10e3fe; Linux 6.4
Fixed in: Linux 5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7, Linux 0e9ffff72a0674cd6656314dbd99cdd2123a3030, Linux 00384f565a91c08c4bedae167f749b093d10e3fe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52611 being exploited?

There is no confirmed exploitation: CVE-2023-52611 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52611?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52611?

Linux \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7; \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 0e9ffff72a0674cd6656314dbd99cdd2123a3030; \>= 65371a3f14e73979958aea0db1e3bb456a296149, \< 00384f565a91c08c4bedae167f749b093d10e3fe; Linux 6.4.

### Is there a fix for CVE-2023-52611?

Yes. Fixed in Linux 5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7, Linux 0e9ffff72a0674cd6656314dbd99cdd2123a3030, Linux 00384f565a91c08c4bedae167f749b093d10e3fe. Upgrade Linux to 00384f565a91c08c4bedae167f749b093d10e3fe or later.

### How do I check if I'm affected by CVE-2023-52611?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5b5ddf21b978ec315cab9d9e7e6ac7374791a8c7>
- patch: <https://git.kernel.org/stable/c/0e9ffff72a0674cd6656314dbd99cdd2123a3030>
- patch: <https://git.kernel.org/stable/c/00384f565a91c08c4bedae167f749b093d10e3fe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52611>

HTML: <https://flawdb.com/CVE-2023-52611> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52611>
