Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A76C033E368 for ; Wed, 18 Feb 2026 14:55:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426505; cv=none; b=pmOwtIg0ZNfw6Z3DTBmBIfhrxICRemoESkCFjoTGRCQezb2fRDgfJLIV0r/KpgL/RWGU1Vfafm0cGwcdZKuBnB3N3coYBqT4otpkK6M8kaDEbvNQthdnD588RrNYnTV4pGS1uHhTr20LWJJpV0yO23w+YloPjk1qXroTZJVOiKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426505; c=relaxed/simple; bh=P4kGIQNacRQzxLLrfNOf4DO9d4ID2nB3zbeL9ePpChA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m6n7SsiOCRvrslVMYa638MoJCnN8KHryEQS4JsV3GpaD/0entZ6zUX7cN8wVmDsSsT19Lo787el2iPPXMiu/+HLLhuKhH9F5aBysQeZlTOjj5IsHLh8R5DtvNNyawhkI3ASMXmzarbiZzOIQ/mAaHZ2Hme2njSduwGZDT9STA1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RGPPHs3Y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RGPPHs3Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3E41C116D0; Wed, 18 Feb 2026 14:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426505; bh=P4kGIQNacRQzxLLrfNOf4DO9d4ID2nB3zbeL9ePpChA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RGPPHs3Yt9aJxxiHhld/dJM6540wZ+0HSNaioy6Wzvi3GWTjo3U7MvuNBdNcbnLF4 b39cXFbNfS3r/uVVGSmgIDMY7bpc47V8e6DNWhMqYoIPAUTg1lmcX8wR+1VHhqVVbP mWw+M64VnMiQAHb7GiNgOpXHAxCEs9/rBUnEytQk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71234: wifi: rtl8xxxu: fix slab-out-of-bounds in rtl8xxxu_sta_add Date: Wed, 18 Feb 2026 15:54:05 +0100 Message-ID: <2026021805-CVE-2025-71234-3bb7@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2605; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Dmp7SG9WjgcF2XIXtPsPuj3FT5Ck2i2KjgG9HfxtXnc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/XKCVy6Zlf96YBc/NagvOVKdXrxky4YaXfHnNUUL brxsl+zI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZStohhfq7rpHoVveig5fuf L62S3B7dHrDLjmHB1NRKdq9UtcOmf6695j/8jMVI5IEzAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2025-71234 to this issue. Affected and fixed versions =========================== Fixed in 6.12.72 with commit 5d810ba377eddee95d30766d360a14efbb3d1872 Fixed in 6.18.11 with commit 116f7bd8160c6b37d1c6939385abf90f6f6ed2f5 Fixed in 6.19.1 with commit 9a0f3fa6ecd0c9c32dbc367a57482bbf7c7d25bf Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-71234 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/realtek/rtl8xxxu/core.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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