Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 434A149F111 for ; Fri, 25 Sep 2026 13:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790341654; cv=none; b=lkK078yDBbJ8AOGCVX27+lpX2Lg8ula54xXDp8AU1s1FmMByospYyS1eTylq5H3tYX0YYRm+Ghd3h9P7WOyzsIqs/uNdHPLMckQ6GGjKu3NPZCtgNHq79ojYd4CLSgKcsLto5Xni//HuXsTeDH4B1rnfogh5owGDygOctcrbPO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790341654; c=relaxed/simple; bh=fPrKHaajAP9WzPNMd03aWaikN4sdVtPXaKDhSnNI9Ig=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FlGEDI0Rtvne1Mv9+9X1ktpp0tYyZLx9zXgNZPY0+iyCIHQdvGkcVveJq1MMsNbxivxqJP8eRMG8bB64Qww8eq/fC/hL0geB5gMTHnGbWkFJZOuZIzT8zfi4xAKm+w+yP6Ln1rBb14zarehKkOkQ1t316B/6RZ2ao+WT0Lmkkdo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0vfEpKQE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0vfEpKQE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40D931F00893; Fri, 25 Sep 2026 13:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790341652; bh=R7sJFlRF2DjPpNgvdXLHXY4CDjP5luESPMWcJpo6KEc=; h=From:To:Cc:Subject:Date:Reply-To; b=0vfEpKQEqwFgfkPhw2GVA8uRYjf6BiTWGGjQmlz2XY/V0XE/B8a3UDItg8U2A9XkP 0p2zIlqw9p/BrCBdRb8Gah4eArv5AyfO+Ej+6NOvRdd9C+NU2Te9oEC+MrMQiP7+TL /o7TOehOTjEVAJj5FLn5J0dSymtvHJq2uT9id28A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-100076: staging: rtl8723bs: fix xmit_frame/xmit_buf leaks on mgnt-frame error paths Date: Fri, 25 Sep 2026 15:07:01 +0200 Message-ID: <2026092557-CVE-2026-100076-a55c@gregkh> X-Mailer: git-send-email 2.55.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=3428; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nEraYWx7Cpv5ISDZH8pyrUx6slpqhGaqIcLj9PK0dj8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbCj8+vseku2BRlHXUsrdXeQ8yV5z/tLOsIG9z+G277 DNzFKMtO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAitbMZFpxVjenVzFjD87v+ ewx/qsXaYwaXVBnmF6QLMi/N+tC0h3Nx3Y215UnHAqeZAQA= 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 xmit_frame/xmit_buf leaks on mgnt-frame error paths issue_beacon(), issue_probersp() and issue_asocrsp() obtain a management xmit_frame together with its xmit_buf from the driver's fixed-size management-TX pools via alloc_mgtxmitframe(). On the normal path the frame is handed to dump_mgntframe(), which transfers ownership and eventually returns both objects to their pools (the frame and, for beacons, the buf in rtl8723bs_mgnt_xmit(); other bufs via the pending-xmitbuf/TX-completion path). Several error/edge paths return early after a successful alloc_mgtxmitframe() but before dump_mgntframe(), so ownership is never transferred and neither object is freed: - issue_beacon(): beacon larger than 512 bytes - issue_probersp(): cur_network->ie_length > MAX_IE_SZ - issue_probersp(): kzalloc() of the SSID scratch buffer fails - issue_asocrsp(): pkt_type is neither ASSOCRSP nor REASSOCRSP Because alloc_mgtxmitframe() removes the frame and buf from their free lists (list_del_init) without placing them on any pending list, an orphaned pair is on no list and referenced by nobody, so it is only reclaimed at driver teardown. Repeated hits progressively exhaust the management-TX pools until alloc_mgtxmitframe() returns NULL and the interface can no longer send beacons or probe/assoc responses. Free the frame and buffer on these paths, matching the existing correct error handling in issue_assocreq(). The Linux kernel CVE team has assigned CVE-2026-100076 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 6.18.52 with commit 6c9f6a3b9fdd31a0836b681053155b5997c0156e Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.2.6 with commit c48e5aa01525577d6b6e782962a5bfb0e1535cb5 Issue introduced in 4.12 with commit 554c0a3abf216c991c5ebddcdb2c08689ecd290b and fixed in 7.3-rc1 with commit 41b8209376dffbd7b0b85c8bc4697d9166ac62ef 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-100076 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/core/rtw_mlme_ext.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/6c9f6a3b9fdd31a0836b681053155b5997c0156e https://git.kernel.org/stable/c/c48e5aa01525577d6b6e782962a5bfb0e1535cb5 https://git.kernel.org/stable/c/41b8209376dffbd7b0b85c8bc4697d9166ac62ef