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 3B3FC3783A0 for ; Sat, 15 Aug 2026 06:28:59 +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=1786775340; cv=none; b=qCQWNbPyeGH1dAUZE5KL4oTr58zO0z56UYwkGChcrOvc3AmGoLYXElKpCUsoRKEzDcdtqZQmIMFDTMxAzmeCUTowvRu3iRKeT1oa9DAnHAK50TL3vxjmjxMqzVWPrkkY6QFCAUhLY2sl1uxhRmAJilM1Sy4+TAavDPKFFfHXzqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775340; c=relaxed/simple; bh=rlU3xOvPwrwRpNBWsbxTK2o5fIhZ1wwDkovPWcuvzJ4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Un59k2n5NtNp9F3rm7KnH0POiCgnTWPaRChSB3zrCCOEP/zEBdKlFRXgRKLJe8SzYGUTjuYppIj189a42InXKxZV6Nw0W9W7qUGsSLtdc/qy0tIcfzfnmEmg49LUUeqRHa37ybDo43TAGJQj6GT0MiyRbqmfE9sfLMGybYqrOb8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bstFGonh; 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="bstFGonh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C2621F000E9; Sat, 15 Aug 2026 06:28:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775339; bh=5mBGdin+Xo7ItSgRtj6iZaKkE8iy2ix0AFTKENN+Vak=; h=From:To:Cc:Subject:Date:Reply-To; b=bstFGonhvIBFsXzCDv5wXuCxJd9l/akUMOvmzzrocF0cQr00tFoJi/dlYn3vBlI8R ki0NvJzaRkM6SgpdZpn24Arsp5HuhJFcdOSOSi9UE88o+Pt0yxwum0quJzcGjQwtIk TN72rAX57814a3BhWR7Gft1H+Enkw4sjvt2gOyPo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72451: xfrm: Fix xfrm state cache insertion race Date: Sat, 15 Aug 2026 15:08:50 +0900 Message-ID: <2026081531-CVE-2026-72451-afe9@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=2898; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TeVoTJZlIGJH3aLk5qCbYb2/xcjGceSnSeLRF2GqfQs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDN//ndmVrvzhj5K940GuHZv1pznc/2GY55ZxSPrn2 fyVPydLdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEnqsxzFMyb657K9SWuTDi jxiLgvbkBd2cPgwLNq588HChxtSrmhsYKvJ9rucUlJ1/AwA= 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: Fix xfrm state cache insertion race The xfrm input state cache insertion code checks the validity of the state before acquiring the global xfrm_state_lock. Thus it's possible for someone else to kill the state after it passed the validity check, and then the insertion will add the dead state to the cache. Fix this by moving the validity check inside the lock. This entire function is called on the input path, where BH must be off (e.g., the caller of this function xfrm_input acquires its spinlocks without disabling BH). So there is no need to disable BH here or take the RCU read lock. Remove both and replace them with an assertion that trips if BH is accidentally enabled on some future calling path. The Linux kernel CVE team has assigned CVE-2026-72451 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.13 with commit 5e4334dc39443645415450163ff5ff1ee7e79784 and fixed in 6.12.97 with commit 6dab4dec9a49121d079981ac913569f232c06b06 Issue introduced in 6.13 with commit 81a331a0e72ddc2f75092603d9577bd1a0ca23ad and fixed in 6.18.40 with commit a1a3360a0c44b8b5c134db2a9d0667b61c9cf523 Issue introduced in 6.13 with commit 81a331a0e72ddc2f75092603d9577bd1a0ca23ad and fixed in 7.1.5 with commit 041859fd55c81ea55e76d051e39b7b79975b8c7d Issue introduced in 6.13 with commit 81a331a0e72ddc2f75092603d9577bd1a0ca23ad and fixed in 7.2-rc1 with commit ddd3d0132920319ac426e12456013eadbae67e15 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-72451 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_state.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/6dab4dec9a49121d079981ac913569f232c06b06 https://git.kernel.org/stable/c/a1a3360a0c44b8b5c134db2a9d0667b61c9cf523 https://git.kernel.org/stable/c/041859fd55c81ea55e76d051e39b7b79975b8c7d https://git.kernel.org/stable/c/ddd3d0132920319ac426e12456013eadbae67e15