PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71234 Linux CVE debrief

A slab-out-of-bounds write vulnerability exists in the Linux kernel's rtl8xxxu driver. The driver fails to set hw->sta_data_size, leading to insufficient space allocation for driver private station data. This can result in a slab-out-of-bounds write when rtl8xxxu_sta_add() accesses members of struct rtl8xxxu_sta_info through sta->drv_priv. The vulnerability was addressed by setting hw->sta_data_size to sizeof(struct rtl8xxxu_sta_info) during probe, similar to how hw->vif_data_size is configured. The fix was tested on StarFive VisionFive 2 v1.2A board with RTL8192EU adapter.

Vendor
Linux
Product
Unknown
CVSS
HIGH 8.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-02-18
Original CVE updated
2026-10-19
Advisory published
2026-02-18
Advisory updated
2026-10-19

Who should care

Linux kernel developers and maintainers, Linux distribution vendors, and users of Linux-based systems with the rtl8xxxu driver should verify and apply patches or updates to fixed versions. They should also review the vulnerability details to understand the potential impact and take necessary actions to mitigate the vulnerability.

Why it matters

The vulnerability in the Linux kernel's rtl8xxxu driver can lead to a slab-out-of-bounds write, potentially causing denial of service or elevation of privileges. Linux kernel developers, maintainers, and users of Linux-based systems with the rtl8xxxu driver should verify and apply patches or updates to fixed versions.

  • Potential denial of service due to slab-out-of-bounds write
  • Possible elevation of privileges through exploitation
  • Required verification of Linux kernel version and patch application
  • Potential impact on system stability and security

Technical summary

The Linux kernel's rtl8xxxu driver does not set hw->sta_data_size, causing mac80211 to allocate insufficient space for driver private station data. This leads to a slab-out-of-bounds write when rtl8xxxu_sta_add() accesses members of struct rtl8xxxu_sta_info through sta->drv_priv. The fix involves setting hw->sta_data_size to sizeof(struct rtl8xxxu_sta_info) during probe to ensure sufficient space allocation for driver private station data. This change prevents slab-out-of-bounds writes and was tested on StarFive VisionFive 2 v1.2A board with RTL8192EU adapter.

Defensive priority

Apply patch or update to fixed version

Recommended defensive actions

  • Apply patch or update to fixed version
  • Verify and apply Linux kernel updates
  • Monitor for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability was resolved by setting hw->sta_data_size to sizeof(struct rtl8xxxu_sta_info) during probe. The fix was tested on StarFive VisionFive 2 v1.2A board. This change ensures mac80211 allocates sufficient space for the driver's per-station private data, preventing slab-out-of-bounds writes. The fix was applied to the Linux kernel to address this issue.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71234 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71234

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71234 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71234

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • wifi: rtl8xxxu: fix slab-out-of-bounds in rtl8xxxu_sta_add

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/71xxx/CVE-2025-71234.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5d810ba377eddee95d30766d360a14efbb3d1872

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/116f7bd8160c6b37d1c6939385abf90f6f6ed2f5

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/86c946bcc00f6390ef65e9614ae60a9377e454f8

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.