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 D3CDC35BDA8 for ; Sat, 15 Aug 2026 06:13:04 +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=1786774385; cv=none; b=q1zFO86gxTELDc5TdXmPq67aknVV7QlPDJXUpjUtwRoOrINoPd7gYrCWhf4Ng4R7+L+pEGsJmr2pOCynHxa8Yltjp7D4jtnFH1j+Kqqd/NxKxyjU16Sf6HyctsUyuNlzL1l1uZLOgFnBvXVIKE1XED29PUdHcwU0Xd7tZmI3S/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774385; c=relaxed/simple; bh=WdR2LFsXIqPJoff/gRq9LDJyPJR4G3lZqZ/Jf+znIcw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ryIW17y/UF2jU1LfNsyQUuP5tGoN6VV6UP/Qz+rG7QR/Gq08Tr68CDMF0dv39SrKR3WPjz+B0DQ5ZpmKdV+ZNUax7Kq/tW90DqAFDzvHe3kuLxavjdVtipJNp9wsBeIWxDM7eYGEzUsjMneuCzEr8ag0VuI+O+77ilaEuBdvOIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dbs+Q3fd; 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="dbs+Q3fd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35C311F000E9; Sat, 15 Aug 2026 06:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774384; bh=lr/+jSJazIMRAIRHLnNnzsWtIy7Ri/Nl/3Of21/cFHA=; h=From:To:Cc:Subject:Date:Reply-To; b=dbs+Q3fduBpSuaTC2QWcqlrKO058TKAThhrTdAuoDdgrShiZbYJCmjVnWV9kxcQLV HRXTQ4CHOOYvrvL4KHXT+IQTFwViptbEGtSL4+ZkOBoyL9nTqhefZW89zhJhSPY57M EFbFvSWzCveMkLFUuCCYY/riY1/Lq/7ij5mhAlSk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72137: xfrm: nat_keepalive: avoid double free on send error Date: Sat, 15 Aug 2026 15:03:36 +0900 Message-ID: <2026081531-CVE-2026-72137-5de5@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=2832; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=q9hm52PSSK71vTwF95oS4lxwTSypp2ubVv0VOVrpNZs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLv59y7cy+L6Y0XVBWvDjcUn5p2UM1pktlJgm4mzD qPPcT6VjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgITxDDgqN3rKKVNkZ0O5V2 ebzm+RM5+ws3L8P8ZMUfj2/mOKy/L53T2qB8Nc1d/PxRAA== 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: nat_keepalive: avoid double free on send error nat_keepalive_send() frees the keepalive skb whenever the IPv4 or IPv6 send helper reports an error. That cleanup is only correct before the skb is handed to the output path. Once ip_build_and_send_pkt() or ip6_xmit() takes ownership, the networking stack may already have consumed the skb before returning an error, so freeing it again is unsafe. Handle the pre-handoff failure cases inside nat_keepalive_send_ipv4() and nat_keepalive_send_ipv6(), where the caller still owns the skb, and keep nat_keepalive_send() responsible only for family dispatch and the unsupported-family cleanup path. The Linux kernel CVE team has assigned CVE-2026-72137 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae and fixed in 6.12.101 with commit d0a4dc7efa825bce60a8da8f7d43c864a159abde Issue introduced in 6.11 with commit f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae and fixed in 6.18.40 with commit 5b0c4c916f202b8fd13d12afb6af62b385622f81 Issue introduced in 6.11 with commit f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae and fixed in 7.1.5 with commit a8a7e6a9ff8a4c1f067694ddbd44be67fdf36693 Issue introduced in 6.11 with commit f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae and fixed in 7.2-rc4 with commit 226f4a490d1a938fc838d8f8c46a4eca864c0d78 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-72137 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_nat_keepalive.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/d0a4dc7efa825bce60a8da8f7d43c864a159abde https://git.kernel.org/stable/c/5b0c4c916f202b8fd13d12afb6af62b385622f81 https://git.kernel.org/stable/c/a8a7e6a9ff8a4c1f067694ddbd44be67fdf36693 https://git.kernel.org/stable/c/226f4a490d1a938fc838d8f8c46a4eca864c0d78