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 5064543635A for ; Wed, 6 May 2026 11:33:35 +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=1778067215; cv=none; b=jK8tVYN9zoGc8s2r003cP1Vuhqo7wa+scR8zqHU47dOEmr/X2Audo2tddDJzB7CWQ80EMD5rlXWHkWhal1a+WT0botHhh54W9IvG0sNui3vObTzKgZAWNHzJ3Cci11PWBiX8WyhCNy93w0rTf9m6USyashPZN4OMqglrHZgtIGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067215; c=relaxed/simple; bh=d8lkdXtnlbMaPx90H7OrW2+DPzUPNdxPzeEtTl8QLqA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kpba4jUXBWyekkEkTCZc+U6x7V2tkKJ+xLrx9vd/9XsAKgxLeJCnEkRE+Kb9F/KdhzeRTWeF4zF0XlHOYEQmB9JxQl7V1Mt0NEPUBIqm5R8QgSzqz35PO+U1elngkJokxnXv6WZUBNkPeM6ROhCp++eZSHW5IGgSR4YuhhltzU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MYnx/sYf; 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="MYnx/sYf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5ABCC2BCB8; Wed, 6 May 2026 11:33:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067215; bh=d8lkdXtnlbMaPx90H7OrW2+DPzUPNdxPzeEtTl8QLqA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=MYnx/sYf20DdtmgKnB9ZlSZfUZ2B+rSsTfWx/GkpQkfXjsq7SnMl18mUiOp4lYEVP 5lilx5tIdH2CvY5jJjPuTIHUWcjXXloMDWeZkMQuWJjdxF4huNf2BVbR8dXnrrvioy Uu7ufUAsTFnI43Trp8BEwgvx9tNTfrmfxLfQW+qQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43225: staging: rtl8723bs: fix memory leak on failure path Date: Wed, 6 May 2026 13:29:01 +0200 Message-ID: <2026050654-CVE-2026-43225-f99b@gregkh> X-Mailer: git-send-email 2.54.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=2609; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sEm6MMOesKXztdnbObg52lWqls6w9bCAP6ugeZsvCDE=; b=kA0DAAIRMUfUDdst+ykByyZiAGn7JbqgApZEr6Et1V8KTp3ttx6DjWxl/j65uqR2a1kRAdd0u ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmn7JboACgkQMUfUDdst+ynHLwCgli9H i+EtakALM51acI7HgYaTlo0AoI/mhMxKUTymwyJ54e4ra0GCtouS 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: staging: rtl8723bs: fix memory leak on failure path cfg80211_inform_bss_frame() may return NULL on failure. In that case, the allocated buffer 'buf' is not freed and the function returns early, leading to potential memory leak. Fix this by ensuring that 'buf' is freed on both success and failure paths. The Linux kernel CVE team has assigned CVE-2026-43225 to this issue. Affected and fixed versions =========================== Fixed in 5.15.202 with commit 9874e33ce52ba449ab0ade78752a2d37a2294617 Fixed in 6.1.165 with commit a968c6a39607c129b8ac2c3c2a5e8923574e90d0 Fixed in 6.6.128 with commit 8311bb40698ba027649d5d1ca84ad4bf25270546 Fixed in 6.12.75 with commit 9f70f78e22b321429afc77befecedf05543d4e2c Fixed in 6.18.16 with commit af48c1a0abe849e167fc754b6c260b6d8350b6fd Fixed in 6.19.6 with commit 017295b17bf1f477246c95bd253a7ef0cb4684c9 Fixed in 7.0 with commit abe850d82c8cb72d28700673678724e779b1826e 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-2026-43225 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/staging/rtl8723bs/os_dep/ioctl_cfg80211.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/9874e33ce52ba449ab0ade78752a2d37a2294617 https://git.kernel.org/stable/c/a968c6a39607c129b8ac2c3c2a5e8923574e90d0 https://git.kernel.org/stable/c/8311bb40698ba027649d5d1ca84ad4bf25270546 https://git.kernel.org/stable/c/9f70f78e22b321429afc77befecedf05543d4e2c https://git.kernel.org/stable/c/af48c1a0abe849e167fc754b6c260b6d8350b6fd https://git.kernel.org/stable/c/017295b17bf1f477246c95bd253a7ef0cb4684c9 https://git.kernel.org/stable/c/abe850d82c8cb72d28700673678724e779b1826e