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 7D667383C9F for ; Thu, 25 Jun 2026 08:46:39 +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=1782377200; cv=none; b=hHJ6FLzOB+CkNHF8iJ/6t6Wq0X9CcmD2bXvDvnAPeopIWcITuS6jA0ePMXL4qmbWrSzSL5r0xjohDh3LusonVnAarMdVm8ejEFQuwrJ3d0MgnEFwRfbP34jaEZkmSRIfbtTvEQkl2CVeRqCtJ9Sxuy9a5aUp9OF08bZFZr2RWAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377200; c=relaxed/simple; bh=M1vh8/Hx3zfD1cxl7WpMJEAC+MZ8UTdl6+YSYpVxdKQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Dg8TpcHAPho/N0YaV1EVz+sHJph9Wg36FIttE0o3RgI/pxEQAuL3FtIwef1ESfhtKXPx9H44i0wd6exm8QM1+opnsjG+GadicRyawFdbXJfedJrYHXuyX4jyfUyxTMeZG2NWLwcbjSTxkmDrmscdlc9WI/vS/AMdn90NtbFE7JQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=td/JLoLf; 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="td/JLoLf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C216E1F000E9; Thu, 25 Jun 2026 08:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377199; bh=eTp76HBgsePg6DP2ae3cpvkFZDIOoXiXgWb39lqK6zY=; h=From:To:Cc:Subject:Date:Reply-To; b=td/JLoLfwWJZU8mCZnsVe/Cn+KEJxd+b7Q7jCD36pbTUfjH1Wpk2eiItp97YiXsN5 I9joXoRgjQVRrjKmJkVTMlYhajkWFY/RgaWyyFonJr2KtIQxNZgP2wAwdZ/fhY49nu bwHk/TMpJsdsjrZRMPMbKkb+uJPDER1ikd/Pm6Jc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53211: netfilter: nft_meta_bridge: fix stale stack leak via IIFHWADDR register Date: Thu, 25 Jun 2026 09:40:59 +0100 Message-ID: <2026062503-CVE-2026-53211-844b@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=2547; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SpwnUa2tD7lViIFbU58lW44Vu+EhwQxLXLBbogxe4L0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L5NlP86ZrvZsilWFw+/SSeUtlsc9nj06VqrvwjVdo 3Jd9EXOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI9HyGOXxx3z3d/P/dLrb9 7xCZdr3v0Z9DzQwLZm9/+/LhJe55eiX2vE1bLGrmzeqKBwA= 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: netfilter: nft_meta_bridge: fix stale stack leak via IIFHWADDR register NFT_META_BRI_IIFHWADDR declares its destination register with len = ETH_ALEN (6 bytes), which the register-init tracking rounds up to two 32-bit registers (8 bytes). nft_meta_bridge_get_eval() then does memcpy(dest, br_dev->dev_addr, ETH_ALEN), writing only 6 bytes and leaving the upper 2 bytes of the second register as uninitialised nft_do_chain() stack. A downstream load of that register span leaks those stale bytes to userspace. Zero the second register before the memcpy so the full declared span is written. The Linux kernel CVE team has assigned CVE-2026-53211 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit cbd2257dc96e3e46217540fcb095a757ffa20d96 and fixed in 6.18.36 with commit 07acb9798477535933bd658ac9fa85b6cb10d995 Issue introduced in 6.18 with commit cbd2257dc96e3e46217540fcb095a757ffa20d96 and fixed in 7.0.13 with commit f1e81d571e375d10e50e852223593493d98c1bac Issue introduced in 6.18 with commit cbd2257dc96e3e46217540fcb095a757ffa20d96 and fixed in 7.1 with commit c7d573551f9286100a055ef696cde6af54549677 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-53211 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/bridge/netfilter/nft_meta_bridge.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/07acb9798477535933bd658ac9fa85b6cb10d995 https://git.kernel.org/stable/c/f1e81d571e375d10e50e852223593493d98c1bac https://git.kernel.org/stable/c/c7d573551f9286100a055ef696cde6af54549677