# CVE-2025-71234: wifi: rtl8xxxu: fix slab-out-of-bounds in rtl8xxxu\_sta\_add

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-02-18T14:53:18.893Z
- **Modified:** 2026-10-19T19:17:17.357Z

## Who should check

- Anyone running Linux \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 5d810ba377eddee95d30766d360a14efbb3d1872; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 86c946bcc00f6390ef65e9614ae60a9377e454f8
- Anyone running Linux 6.9

## Description

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

wifi: rtl8xxxu: fix slab-out-of-bounds in rtl8xxxu\_sta\_add

The driver does not set hw-\>sta\_data\_size, which causes mac80211 to
allocate insufficient space for driver private station data in
\_\_sta\_info\_alloc(). When rtl8xxxu\_sta\_add() accesses members of
struct rtl8xxxu\_sta\_info through sta-\>drv\_priv, this results in a
slab-out-of-bounds write.

KASAN report on RISC-V (VisionFive 2) with RTL8192EU adapter:

  BUG: KASAN: slab-out-of-bounds in rtl8xxxu\_sta\_add+0x31c/0x346
  Write of size 8 at addr ffffffd6d3e9ae88 by task kworker/u16:0/12

Set hw-\>sta\_data\_size to sizeof(struct rtl8xxxu\_sta\_info) during
probe, similar to how hw-\>vif\_data\_size is configured. This ensures
mac80211 allocates sufficient space for the driver's per-station
private data.

Tested on StarFive VisionFive 2 v1.2A board.

## Affected and fixed versions

- Linux: \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 5d810ba377eddee95d30766d360a14efbb3d1872; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 86c946bcc00f6390ef65e9614ae60a9377e454f8 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 86c946bcc00f6390ef65e9614ae60a9377e454f8 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-71234.md
Affected: Linux >= eef55f1545c92c7181d5083453dee1296298ad3e, < 5d810ba377eddee95d30766d360a14efbb3d1872; >= eef55f1545c92c7181d5083453dee1296298ad3e, < 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5; >= eef55f1545c92c7181d5083453dee1296298ad3e, < 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf; >= eef55f1545c92c7181d5083…
Fixed in: Linux 5d810ba377eddee95d30766d360a14efbb3d1872, Linux 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5, Linux 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf, Linux 86c946bcc00f6390ef65e9614ae60a9377e454f8

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-2025-71234 being exploited?

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

### How serious is CVE-2025-71234?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71234?

Linux \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 5d810ba377eddee95d30766d360a14efbb3d1872; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf; \>= eef55f1545c92c7181d5083453dee1296298ad3e, \< 86c946bcc00f6390ef65e9614ae60a9377e454f8; Linux 6.9.

### Is there a fix for CVE-2025-71234?

Yes. Fixed in Linux 5d810ba377eddee95d30766d360a14efbb3d1872, Linux 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5, Linux 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf, Linux 86c946bcc00f6390ef65e9614ae60a9377e454f8. Upgrade Linux to 86c946bcc00f6390ef65e9614ae60a9377e454f8 or later.

### How do I check if I'm affected by CVE-2025-71234?

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/5d810ba377eddee95d30766d360a14efbb3d1872>
- patch: <https://git.kernel.org/stable/c/116f7bd8160c6b37d1c6939385abf90f6f6ed2f5>
- patch: <https://git.kernel.org/stable/c/9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf>
- patch: <https://git.kernel.org/stable/c/86c946bcc00f6390ef65e9614ae60a9377e454f8>

## 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-2025-71234>

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