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 6581C5187D1 for ; Thu, 17 Sep 2026 16:39:25 +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=1789663167; cv=none; b=trCjoPhW4dxdUTTtVrjqou02aJHwbull1TY4IbaCVI7U/UyqKajLqSh5+RiZceEq5JdhglSydUJNTF6ZHQgvyhohkxC0lgDKKSVcekAWApZjpbg9itQqZ1DFVT6CsrPwd0DM0OBNimZPfghp44ykmCECUVrGQLKy08rS7KebWXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663167; c=relaxed/simple; bh=iQO/vqHjFp6sQhfcoD8lB6xSJ+drYxBn9bLHj97/Ry0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b4jLlo+l/P96smPjEd0WgzmCy/cAXSIn0seOol6S0/Q4XXQoIRaYdzI0IHU0yKVxRJzhAAGk3W47jBZu/7O5i0UiXUwSc+fwowlVOaiiqSEPE87/Io3CT5pOIF+p0jQKwD/Av9k2+UnreGJTuYzUkJ6nmcO6IOyUcUfBZ9y7Myg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c3RpTYuf; 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="c3RpTYuf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B08A31F0089A; Thu, 17 Sep 2026 16:39:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663165; bh=furbMxhYpHmhnLRoF5Vt1K1LOED9wbuSzQD2ChPFAmE=; h=From:To:Cc:Subject:Date:Reply-To; b=c3RpTYuf+E18kD5cGl0TW9ncaaFAj2qv2yx7/xocfscWNPtbe0iJ6wcDe8gXmryPl jk8/CrM6CoJ5lp/t2PjSpQcWt0GZgCGeTnnCh4dWoem7bQ07q3sKuK9qnyxjm3tHpd bOaGiMynK+KZH+pL9MIcDGh0PmUS6s4tLwOo1/AQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93149: wifi: mac80211_hwsim: avoid NULL skb in stop queue drain Date: Thu, 17 Sep 2026 17:17:06 +0100 Message-ID: <2026091755-CVE-2026-93149-8909@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=3548; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hlZRFKpkjtpguP37zCxW542FHNMmubSkGT6Ne6njGIg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBC7n3lFgXbUmfkaamtM/Eb77xt0zNc7w75Zq/S68m +WRMWNORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkpCDDPOtJq5hSL66PNAzz TE8IPnf06wa1/QwLZjd6/96x7eyO66y3T7xO9PO2kKjPAgA= 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: mac80211_hwsim: avoid NULL skb in stop queue drain mac80211_hwsim_stop() drops any frames left in data->pending. The loop currently checks skb_queue_empty() and then dequeues separately. That split is racy with TX status handling, which can remove a pending frame under the queue lock. If the last entry is removed after the empty check, skb_dequeue() returns NULL and the stop path passes that NULL skb to ieee80211_free_txskb(). Use skb_dequeue() as the loop condition instead. The dequeue result is the object that stop owns and frees, and a concurrent status completion that empties the queue simply makes the loop terminate. The Linux kernel CVE team has assigned CVE-2026-93149 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit bd18de517923903a177508fc8813f44e717b1c00 and fixed in 6.1.188 with commit d131027054a8dd922dda01fe8d381abe5af4970b Issue introduced in 5.13 with commit bd18de517923903a177508fc8813f44e717b1c00 and fixed in 6.6.157 with commit c40ba47f2ba1951cb32ea048667ed014d36a5749 Issue introduced in 5.13 with commit bd18de517923903a177508fc8813f44e717b1c00 and fixed in 6.12.110 with commit 2817431a61557f46dc63077b7cc126bc906c242e Issue introduced in 5.13 with commit bd18de517923903a177508fc8813f44e717b1c00 and fixed in 6.18.52 with commit e7fccad2c8e6ef6bbafe509c95869d161d0f466b Issue introduced in 5.13 with commit bd18de517923903a177508fc8813f44e717b1c00 and fixed in 7.2.6 with commit 1c2a4ab6efa26415dd131b8c222e7893fda03435 Issue introduced in 5.13 with commit bd18de517923903a177508fc8813f44e717b1c00 and fixed in 7.3-rc1 with commit 158438cd6ad69d6dd7d871582c38baf22169fede Issue introduced in 5.4.129 with commit 78bf3c6131488b00386acd9aff1ea4e6c44fa38e Issue introduced in 5.10.47 with commit a9028333001f793b2724e8be42fce3336de2cf1c Issue introduced in 5.12.14 with commit 7019c9f385b264a2d6f685028268422d55087e37 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-93149 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/virtual/mac80211_hwsim_main.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/d131027054a8dd922dda01fe8d381abe5af4970b https://git.kernel.org/stable/c/c40ba47f2ba1951cb32ea048667ed014d36a5749 https://git.kernel.org/stable/c/2817431a61557f46dc63077b7cc126bc906c242e https://git.kernel.org/stable/c/e7fccad2c8e6ef6bbafe509c95869d161d0f466b https://git.kernel.org/stable/c/1c2a4ab6efa26415dd131b8c222e7893fda03435 https://git.kernel.org/stable/c/158438cd6ad69d6dd7d871582c38baf22169fede