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 F32683F4100 for ; Wed, 5 Aug 2026 08:08: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=1785917315; cv=none; b=ppyj/wiGlhMnjMOsW3HgJgZPDhB6iEhMMqYorQwX+V9Kdo68OgYbUlYSL/8aiTOZpV1FnKdv9aukiDVwOvg5WH2qzIExWqLU2lzwJ8Y1UAWxXxsiMpEokV1F3gVZwMGVQJtmSadJ9e5NufA9YkdknTCQ2mVnidOTY7pBpm/RKsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785917315; c=relaxed/simple; bh=YE5yMHj8jz2Aax5zcdVRkXmWcFT1M7nXZ5q9vbfZisc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UvKxQU8+8d3Uyk4Q4c21CMRMK9/e991poLcvYUUSOLjDMlwA33IxduE/JWA8jPfNaegVV/iIP3N6UqTYg6yGR5fxxVcGJYHcD7dM1XrlSYRNnPAiKB2KEDgaHZDtEy/BHF+wPRc478BelT5vJI6eubUfcSKNrbD76EZ3v33jFWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XJZMTg2h; 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="XJZMTg2h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 652CF1F00A3A; Wed, 5 Aug 2026 08:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785917308; bh=lIk2AWXR6aA0WUozzoldXF0TE/GZ55ewhetd1Y3fDrc=; h=From:To:Cc:Subject:Date:Reply-To; b=XJZMTg2hpcw5Oyu1Bes/W2apRy/se+rtVMrDORd6qCXjWfv7QFEVdvJ7qbcDRwYkr PTNg0l7L8Q3lT/1nGOCvBJkkdIodeVW8rpOtw0SiKoYBuSCUcEUkXtbfeAlW2fZLLr 0toSCgeJjegQvT18wR+/HRuismhz0DZ04F1q/zvk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64570: wifi: mac80211: fix fils_discovery double free on alloc failure Date: Wed, 5 Aug 2026 10:08:02 +0200 Message-ID: <2026080559-CVE-2026-64570-8771@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=3168; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6jKerwsygfQVEs++QYi4Lf3/DH0BEzCwotAgB4dr0xI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlF7+P3cB9iqvxw+Hvo9fLyXQxbFpSdOPpD986fO1MXH p/eEW+9qSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8tWcYcG+XUmaK9Vm3Fv/ rOPN32f8gfFL5l1iWDDpqrrzjh1ht0OfzbQwOXzA7c3npw0A 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: fix fils_discovery double free on alloc failure ieee80211_set_fils_discovery() calls kfree_rcu() on the old template before allocating the replacement. If the kzalloc() then fails, it returns -ENOMEM while link->u.ap.fils_discovery still points at the object already queued for freeing. A later update or AP teardown (ieee80211_stop_ap()) re-queues that same rcu_head; the second free is caught by KASAN when the RCU sheaf is processed in softirq: BUG: KASAN: double-free in rcu_free_sheaf (mm/slub.c:5850) Free of addr ffff88800c065280 by task swapper/0/0 ... __rcu_free_sheaf_prepare (mm/slub.c:2634 mm/slub.c:2940) rcu_free_sheaf (mm/slub.c:5850) rcu_core (kernel/rcu/tree.c:2617 kernel/rcu/tree.c:2869) handle_softirqs (kernel/softirq.c:622) The buggy address belongs to the cache kmalloc-96 of size 96 Queue the old object for kfree_rcu() only after the new one is published, matching ieee80211_set_probe_resp() and ieee80211_set_s1g_short_beacon(). The Linux kernel CVE team has assigned CVE-2026-64570 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 3b1c256eb4aedfc71dd97d5951ccff824b41d628 and fixed in 6.12.101 with commit e2c55079155a953db669ca1986a985fa286bad95 Issue introduced in 6.7 with commit 3b1c256eb4aedfc71dd97d5951ccff824b41d628 and fixed in 6.18.42 with commit 5baaa1042f71dd4b8e418f2cdd516808702d229b Issue introduced in 6.7 with commit 3b1c256eb4aedfc71dd97d5951ccff824b41d628 and fixed in 7.1.6 with commit 1981fba71797ec95e6755fb882cad88899a2a84f Issue introduced in 6.7 with commit 3b1c256eb4aedfc71dd97d5951ccff824b41d628 and fixed in 7.2-rc4 with commit 286e52a799fa158bdbd77da1426c4d93f9a6e7ad 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-64570 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: net/mac80211/cfg.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/e2c55079155a953db669ca1986a985fa286bad95 https://git.kernel.org/stable/c/5baaa1042f71dd4b8e418f2cdd516808702d229b https://git.kernel.org/stable/c/1981fba71797ec95e6755fb882cad88899a2a84f https://git.kernel.org/stable/c/286e52a799fa158bdbd77da1426c4d93f9a6e7ad