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 8FD6917A31E for ; Thu, 27 Feb 2025 02:18:41 +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=1740622721; cv=none; b=r+XhouXqm/6Gtk0BL3Xre296PglKqFyBA60iCypHpTCD2u8dG1D229tuUufj77q2cx+8mrOCTnBQQMkpSgcQLWV+/gscP8vQ8K2xdS2pjrCwA6ICHFR6DE29u77E2tsOzHu9I/TZYRa+VWnac3Cxnq3iltmuY8ibSd6sB8oOM3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622721; c=relaxed/simple; bh=V9UWInpej5Y5jOgti5h13URDbv4545oLA2FTR/avbwE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RvBYQZGH8PioF6T0X6OnfXl/JXDCenY7OPw5jdrBlobQ/hCGyzkrNIX/lZMjc4k5Afv6Rciqs3VEEwVzQoFCBoStStZ5kaSiHxYx/mE/wuIM1Div0UxydOim466vSNqc7/ygXffDPEo2zoGIqETa/3V6gWGYToPrVFWKmu7iHDQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vagEBIwF; 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="vagEBIwF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC1D4C4CEE2; Thu, 27 Feb 2025 02:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622721; bh=V9UWInpej5Y5jOgti5h13URDbv4545oLA2FTR/avbwE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vagEBIwFvmvFQnTFtmVFZedpaqS16QObDBSdwQ0nnJWzpbL6Y0apzdTCM76c9q2Aq 9UJNYyagoelRrFIL4V+onw1LNIbgEurq9NTQa7JQxX35h8ZsC8+K9obJ5nBnYXsqdD ARlAfVvy7TkKo/DX2s555HR0QoCV/eHR+cihK0W0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21757: net: ipv6: fix dst refleaks in rpl, seg6 and ioam6 lwtunnels Date: Wed, 26 Feb 2025 18:17:13 -0800 Message-ID: <2025022603-CVE-2025-21757-912a@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1908; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V9UWInpej5Y5jOgti5h13URDbv4545oLA2FTR/avbwE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T8t3sTf+dVSqzFuXWODREpO8cOpJ/oZru2f9OaSh3 C2htP1eRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykoZRhnnpuiMzu+toUR7df l86/SU/0m610hmF+4OM6r+e8ZlsPWOmff5l9Rorv4vupAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net: ipv6: fix dst refleaks in rpl, seg6 and ioam6 lwtunnels dst_cache_get() gives us a reference, we need to release it. Discovered by the ioam6.sh test, kmemleak was recently fixed to catch per-cpu memory leaks. The Linux kernel CVE team has assigned CVE-2025-21757 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14-rc1 with commit 985ec6f5e6235242191370628acb73d7a9f0c0ea and fixed in 6.14-rc2 with commit c71a192976ded2f2f416d03c4f595cdd4478b825 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-2025-21757 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/ipv6/ioam6_iptunnel.c net/ipv6/rpl_iptunnel.c net/ipv6/seg6_iptunnel.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/2248b8145053eb2ae35ca4cf694b885a086719bb https://git.kernel.org/stable/c/d90f8f930c3053bb11f5def9aff5310a70429260 https://git.kernel.org/stable/c/c71a192976ded2f2f416d03c4f595cdd4478b825