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 B2476377550 for ; Sun, 19 Jul 2026 14:07:29 +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=1784470050; cv=none; b=I+Uqr9cycstUaizgXWvYQrx2MjVI6mV3WwM7FY3lFjSd0CJhFhE7NhImZZYZBGvHKC1++R2bl7Uyt3Z41kjQggxuW/oJ7/j4yEs8GKD6HdvavC/O1WbNlEDKahhGRWzfb+QwOUWgiGL1Qa5ArqWSKO4v6ltiHJhd4kSWtYR87pA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470050; c=relaxed/simple; bh=x1ARvRMPaXOWV+fuCLVLVpZXbfV5Yuw3yrfBit5svng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZlgBQWxBKWKweSrVFHpUMpeKlPBVkzpS+loMyZZ9xBu2ySNFtpkxBiH/0ZkMJ7MwuF7pCIHUH9nuG09Vm1XCRslP6mXe6Yo8dnteY6zZsisChRyCzV2637RpL6M190phcYudkL5DxihYXEubhTy3fYdaS/qJEAPTBZ2O1gJ2DaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l8tJmraX; 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="l8tJmraX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D66981F000E9; Sun, 19 Jul 2026 14:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470049; bh=EF2c/MdScbBh7q/pFEvRIULISHvFje/jQjIZtBMsEnM=; h=From:To:Cc:Subject:Date:Reply-To; b=l8tJmraX/KWAPh8reyMyv+VoiNRgWMloArdOtCbiber33FqxWssMfwMHG3Ys/uuaS VWPe//C1vkGvDrVUDCeVW9mO6xQwMG2JDyu4CKy3LGx80X0b1P/nJ9zjKfzB4Hgtrq hPJihxUGFlfiCeMOCc35p1cAgJJyd7clza3aNtls= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63858: netfilter: nf_tables: add hook transactions for device deletions Date: Sun, 19 Jul 2026 16:03:48 +0200 Message-ID: <2026071933-CVE-2026-63858-618e@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=3153; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8Uhgpz+QP7cy1VE1+2alLDU0cTWe/MC9ogKPHe063+U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxN03TjzTod82R2NZf/T6yaEWr1cM/9uf9/7P1xCc85 J/XIVvQEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMRbGeYHzH9WNbhKytbdp3z 3PFGcbvN4R+M0xgWXJDRENnLEF4lzXPeof1k2SKnKhEhAA== 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: nf_tables: add hook transactions for device deletions Restore the flag that indicates that the hook is going away, ie. NFT_HOOK_REMOVE, but add a new transaction object to track deletion of hooks without altering the basechain/flowtable hook_list during the preparation phase. The existing approach that moves the hook from the basechain/flowtable hook_list to transaction hook_list breaks netlink dump path readers of this RCU-protected list. It should be possible use an array for nft_trans_hook to store the deleted hooks to compact the representation but I am not expecting many hook object, specially now that wildcard support for devices is in place. Note that the nft_trans_chain_hooks() list contains a list of struct nft_trans_hook objects for DELCHAIN and DELFLOWTABLE commands, while this list stores struct nft_hook objects for NEWCHAIN and NEWFLOWTABLE. Note that new commands can be updated to use nft_trans_hook for consistency. This patch also adapts the event notification path to deal with the list of hook transactions. The Linux kernel CVE team has assigned CVE-2026-63858 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit b6d9014a3335194590abdd2a2471ef5147a67645 and fixed in 7.0.10 with commit 4e69bfb32b2db323d9205fdb30e284481b37817c Issue introduced in 5.19 with commit b6d9014a3335194590abdd2a2471ef5147a67645 and fixed in 7.1 with commit 10f79dbd7719d1da9f5884d13060322d8729f091 Issue introduced in 5.10.122 with commit 7a248f9c74f9f62799718c12efd9e9e391d60b6f Issue introduced in 5.15.47 with commit f275989ad04159dbfc62cefb65ba9c5ba1d7c34f Issue introduced in 5.17.15 with commit 62d91062058b42bf70b2c3446aec397bb0ce15ee Issue introduced in 5.18.4 with commit 99180dec5ae582227219d1fdd0dd5ccf53ec7491 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-63858 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: include/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.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/4e69bfb32b2db323d9205fdb30e284481b37817c https://git.kernel.org/stable/c/10f79dbd7719d1da9f5884d13060322d8729f091