Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5184C3CCFC3 for ; Wed, 6 May 2026 07:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053315; cv=none; b=AsZnkec66T7Tp42ZsIxAId8gH5ZhBJPTCDB+3NCO9hVAy3VTI0rnqbSULnb3o20abdWhw2mdNtgZ/vXaU4dov6Fdgg7X3Cs53bak3WW+QoRxbrS7F/0GDxFEvBDfwzgPHUOHkOiKtqTORyX4Ek1UPrCkC8GElc59tE0ZDExhHbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053315; c=relaxed/simple; bh=fVfVJ/Kxh33QadQ9beRY7E2Mw9UPnP1qZH7eAZAfkAQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WTK124dWsJhkY5I8iMNtl9Q0o9owcVAU+fydyV0Y+BCFkeahM0R3vohxnnUClIx6NYXsN68qJiTeJC8yp7ti5oMZ7e3UPyXwaHZLsKbhzYpZiciT9ND248q/Ygr6nK5lJdEGSE7bzc0nCBSkcxNJ8MD39ytPsl6Io1fGOxW5HhI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QZKujLam; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QZKujLam" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE622C2BCB8; Wed, 6 May 2026 07:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778053315; bh=fVfVJ/Kxh33QadQ9beRY7E2Mw9UPnP1qZH7eAZAfkAQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=QZKujLamuj8wStpbLirtAHpj1gUziDxRFCySVBln+ZXNdLd9CZX9u+0EDiao4Q/wF Xrpk77Fxb2YW3PbSKcYSnKM9vkYXDowE4Sx1ANC7HrC8BxlxkViQPt3SBpkvaTsUc8 0EiwjIq6djb9Gib2d3DnQEnv7eyx0ctPfVbbRWHg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43091: xfrm: Wait for RCU readers during policy netns exit Date: Wed, 6 May 2026 09:41:25 +0200 Message-ID: <2026050617-CVE-2026-43091-fa39@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=2944; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mHSKgm5gjOs/TXftEsLbN7VusELF8f/Nd96n8eaNSQo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/PsxLC/B+8mrbCcUyA5Wy9tP7//+P7LNcaJVZ1+uYy TfPnyezI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyYi/D/BB5w6dTkm5Puqg2 l/WDTGnsrsfrYxjme90Q441eZvu9JnbXlDUH95is2vblIgA= 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: xfrm: Wait for RCU readers during policy netns exit xfrm_policy_fini() frees the policy_bydst hash tables after flushing the policy work items and deleting all policies, but it does not wait for concurrent RCU readers to leave their read-side critical sections first. The policy_bydst tables are published via rcu_assign_pointer() and are looked up through rcu_dereference_check(), so netns teardown must also wait for an RCU grace period before freeing the table memory. Fix this by adding synchronize_rcu() before freeing the policy hash tables. The Linux kernel CVE team has assigned CVE-2026-43091 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit e1e551bc56302b80ff930c966f9985095fb1b70d and fixed in 6.6.136 with commit b66920a3348c0f63ba18365248fa21fbf0b3a937 Issue introduced in 4.9 with commit e1e551bc56302b80ff930c966f9985095fb1b70d and fixed in 6.12.83 with commit 438b1f668ad58f46ce699bb48e4698a7839e3f9e Issue introduced in 4.9 with commit e1e551bc56302b80ff930c966f9985095fb1b70d and fixed in 6.18.24 with commit 3733fce2871c9bca9dd18a1a23b1432ea215a094 Issue introduced in 4.9 with commit e1e551bc56302b80ff930c966f9985095fb1b70d and fixed in 6.19.14 with commit 33a3149dd81a1e2f52b80ee1e0fc380b39f3d028 Issue introduced in 4.9 with commit e1e551bc56302b80ff930c966f9985095fb1b70d and fixed in 7.0 with commit 069daad4f2ae9c5c108131995529d5f02392c446 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-43091 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/xfrm/xfrm_policy.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/b66920a3348c0f63ba18365248fa21fbf0b3a937 https://git.kernel.org/stable/c/438b1f668ad58f46ce699bb48e4698a7839e3f9e https://git.kernel.org/stable/c/3733fce2871c9bca9dd18a1a23b1432ea215a094 https://git.kernel.org/stable/c/33a3149dd81a1e2f52b80ee1e0fc380b39f3d028 https://git.kernel.org/stable/c/069daad4f2ae9c5c108131995529d5f02392c446