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 9C2663955E8 for ; Sun, 19 Jul 2026 15:00:50 +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=1784473251; cv=none; b=pkujUIh2hmDw8RO4qBwwcjpjWofjmoEhueNehRLnfS8+SKg06R4LPl8AOx/ElZKQcQYd5HJ2NslmZmTVv0Mi4yKmokYUf5PY9cSa8RkulCfQm6kvAs7MA8JGpKlKd5fEPlTqfjsbCZxUqcqNkte2UrG26cXI9n7NgFluITBTR3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473251; c=relaxed/simple; bh=PXgmWbuNuWoHdC7pTHb6u9wIhzSbcEiEX+jlesI96xQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a2gZjwS++CIwzLvEmd6ie9b3VRV1gF/mGrP8T9I3L0tr/cOFHH9ItnzITpSea1rTIHExyR1kYhQZ6npmY5kJpFMXuPKedkHa982/N/r9hyx5nOxmGePFmCf1ujB6/7DpKOllofsYSltQuTQ8ga+dCjDSlc5Z2eaDn0HyqRTqYUQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=g2Eu28eP; 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="g2Eu28eP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BD271F00A3A; Sun, 19 Jul 2026 15:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473250; bh=fdPN66L81HJHCG9RKDSSBHcdaR5NnuVIuy8TdA2FJQk=; h=From:To:Cc:Subject:Date:Reply-To; b=g2Eu28ePbY/Al4OElt6mrHZD3R/nPGbkfwVRAzfkU+drL6zznyH3Vs1TaUvu5VAM+ NH87cEP3H3SmpHcPbKb76m7RxBeWrSqwSvT5Vlx/GmUQzzsMDyyX/Y6hz3VMGpk/ou I0f3KR3HYbjbuoNrrYx665aZmx3NSHswsvYw8efM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63911: xfrm: iptfs: reset runtime state when cloning SAs Date: Sun, 19 Jul 2026 16:56:11 +0200 Message-ID: <2026071946-CVE-2026-63911-be2c@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=2947; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o6tWr6cq/kavWqGcA2nEjZWKmvHHCz5YNe84CD37e8k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT4t0C9K3XV8rsPbIsZ2Pg5WFHYLFPs8yZIpZ07/48 fn3P3awdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE/pQyLFjiaS3KsFhB57bx /snHbt/TmLGSwYthJuPpEx2pN7a4Zu9hdb3SX2gmbBS/BgA= 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: iptfs: reset runtime state when cloning SAs iptfs_clone_state() clones the IPTFS mode data with kmemdup(). This copies runtime objects which must not be shared with the original SA, including the embedded sk_buff_head, hrtimers, spinlock, and in-flight reassembly/reorder state. If xfrm_state_migrate() fails after clone_state() but before the later init_state() call has reinitialized those fields, the cloned state can be destroyed by xfrm_state_gc_task() with list and timer state copied from the original SA. With queued packets this lets the clone splice and free skbs owned by the original IPTFS queue, leading to use-after-free and double-free reports in iptfs_destroy_state() and skb release paths. Reinitialize the clone's runtime state before publishing it through x->mode_data. Because clone_state() now publishes a destroyable mode_data object before init_state(), take the mode callback module reference there. Avoid taking it again from __iptfs_init_state() for the same object. The Linux kernel CVE team has assigned CVE-2026-63911 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 and fixed in 6.18.35 with commit 9327252e04626d4bb02ca8c0c108fbe8eabf0c5a Issue introduced in 6.14 with commit 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 and fixed in 7.0.12 with commit dfb9f6cbfa9826655a49698cf90eb800fce2178e Issue introduced in 6.14 with commit 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 and fixed in 7.1 with commit 7f83d174073234839aea176f265e517e0d50a1d2 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-63911 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_iptfs.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/9327252e04626d4bb02ca8c0c108fbe8eabf0c5a https://git.kernel.org/stable/c/dfb9f6cbfa9826655a49698cf90eb800fce2178e https://git.kernel.org/stable/c/7f83d174073234839aea176f265e517e0d50a1d2