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 7910E3A873E for ; Sun, 19 Jul 2026 15:44:41 +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=1784475882; cv=none; b=Dax6BPQmWM4FYNXLIX84m/X6eb2s4ZdEr9Q22tLzYkgwbicnQqHrAs4JFbeivPcGfKXd3u6bD5+1Zk9myC8Vte7+PySBjK74XHtYFFOvNHBhCgPG9K3BIjJJXSBN4Jc1b82lXJDIjta150a3Wsd1bJ/4RTvwaOoLZeVtA8faxHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475882; c=relaxed/simple; bh=6DMIrFQu9OjGcqGgkBEneCoeCA9kHgWfzlFRTfo5Ijw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aLGHt6//ddleYAMgami2K5hsceelzShKwollUJFy+TWd8i0ZY/3EhJZZ0hlz7uSpD/30PsOTWNgGEmh5gFbY6NtiVne4TNlfj4tQ0+5oWfQvG03PQrd3VcjP+RVndqsj+KULGJCpT/y0JzotJIHVdTQnW0rDepJZOTV89KOFkxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2Yk/IcB1; 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="2Yk/IcB1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC0AD1F000E9; Sun, 19 Jul 2026 15:44:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475881; bh=GCwuVuNSUD/LBwloJD+MQ/my56xgX+CBE6QiAoJE67Q=; h=From:To:Cc:Subject:Date:Reply-To; b=2Yk/IcB1kbL22xlEoHqyKuEfJSzS8f/LMgV217ualiqMNvbIpOVG6shkoWyM3zoay Cz8i7PT1oDj0QkdszZqhobtVCASH5FHLwoZJ8fEMcRZuqlxymGgl+NcfojGtqvmlDn DfgtxRKd2gaKjamOv+axnfkqX7QV+72XrXvA1Y2s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64117: wifi: mac80211: capture fast-RX rate before mesh reuses skb->cb Date: Sun, 19 Jul 2026 17:39:39 +0200 Message-ID: <2026071923-CVE-2026-64117-34d1@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=2615; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JehyiA0rayj7xNSosIqmhfJq+a8VDq2cfQwSuJximUU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7/PjY5NypJjKvZ7dZpLlyVuzc4uGRHiAsOT83n1T3 9XocjzqiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlkZTLM4d1plPtlDff+9/pX bFaclZV0K2b4x7Cg0esc5+U0YZ4cn3WiJawHp/uzCQkAAA== 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: capture fast-RX rate before mesh reuses skb->cb ieee80211_invoke_fast_rx() reads RX status through IEEE80211_SKB_RXCB(skb), which aliases the same skb->cb storage that ieee80211_rx_mesh_data() reuses as IEEE80211_TX_INFO. In the unicast forward path, mesh_data does: info = IEEE80211_SKB_CB(fwd_skb); memset(info, 0, sizeof(*info)); on the same skb the caller still names via rx->skb, then either queues the skb for TX (success) or kfree_skb()'s it (no-route) before returning RX_QUEUED. The caller's RX_QUEUED arm then calls sta_stats_encode_rate(status) on memory that is either zeroed (success path) or freed (no-route path). The latter is KASAN slab-use-after-free in ieee80211_prepare_and_rx_handle. Fix by encoding the rate from status before invoking ieee80211_rx_mesh_data(), so the RX_QUEUED arm consumes a value captured while status was still backed by valid memory. The Linux kernel CVE team has assigned CVE-2026-64117 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 7.0.11 with commit 2fb64f94f9afb774f2fa0c7835727d7a67f89f07 Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 7.1 with commit d71c841be5d9e586ee7f36c0dc8ed4db0d9a1349 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-64117 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/rx.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/2fb64f94f9afb774f2fa0c7835727d7a67f89f07 https://git.kernel.org/stable/c/d71c841be5d9e586ee7f36c0dc8ed4db0d9a1349