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 AFC403783A0 for ; Sat, 15 Aug 2026 06:27:47 +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=1786775268; cv=none; b=Sa9//zMCkTCvFjSL/jjP4Nwwc6H7SX2aY9pGcsHwrKJ+2rI4KTWzAAOQA+JxSdi88d8vPr5QyD9nYjXfEzjj+giWxqn4QTjKKivBFEQzUwbiUF1OGGGsxLy4FwO8Nyb3BOSkGLYlEfr/nNAdqCmmxH2FOez30BJ0ijZ6Rqtpzk0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775268; c=relaxed/simple; bh=+AzAmnL1u2FapDoDjl1YM+PmI4+1JNNXPnY0ppFYQEg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DkpS2r+1w2fUsns3a1uFqFoLYVE4uQwoGrOwqspXKkMU1zYPcI/UMwlk4m2CvP2otWBtrM47ofdczkw7E9ngbfuI2Q0hnocBMx5+Qoe6VYb5mkQPNTrOXmR4kxCe+8koahnDqnsp3dNdZ/m5Cra74GPB3oorB+35WRbkOk6QCj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TChBpViq; 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="TChBpViq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EFCA1F000E9; Sat, 15 Aug 2026 06:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775267; bh=h8nyQgo18v6EoDNi5vFGGy4f7ody4Tz0Lh9K7idm1Y4=; h=From:To:Cc:Subject:Date:Reply-To; b=TChBpViq9FtS1tC9y2hBjVAOao4F1eQ1Zb/URlQRdO3GpWJQ6GvQyQdtcvFbY4otv D8Jj2Lx9jJ/P+iwyl/R5uMPht7pwHiAqbQSAB/E3T+STCS0AdiIwC7CO0mPKNPvLLB 6aLrsQOERe98YXb2pma8IU0JvDeAsupwXlmaEDm8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72429: ipv6: ioam: fix type confusion of dst_entry Date: Sat, 15 Aug 2026 15:08:28 +0900 Message-ID: <2026081527-CVE-2026-72429-b4e6@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=2893; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Krdi2bLrGUBMHqFLuqaLH2XJoLz4C7g1dL2CC0tO45I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDJ/5V2n1dDYIhgeG7J8dPTHDYKWvf5GDxNrDx3prH m804mfpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn8fcWw4FjFvcXRUZMd5tX/ 8f8SkKxn65TylGGeju+kwJU/LoUZ/vxm3MlvtTM1Je4JAA== 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: ipv6: ioam: fix type confusion of dst_entry IOAM uses a dummy dst_entry(null_dst) to mark that the destination should not be changed after the transformation. This dst is stored in the IOAM lwt state and may be passed to dst_cache_set_ip6(). However, the IPv6 dst cache path eventually calls rt6_get_cookie(), which treats the dst_entry as part of a struct rt6_info. Since the null_dst was embedded directly as a struct dst_entry in struct ioam6_lwt, this resulted in an invalid cast and rt6_get_cookie() reading fields from the wrong object. In practice, the wrong cookie is not used while dst->obsolete is zero, but rt6_get_cookie() may also access per-cpu value when rt->sernum is zero. In this case, rt->sernum aliases ioam6_lwt::cache::reset_ts, which can become zero, making this a potential invalid pointer access. Fix this by embedding a full struct rt6_info for the dummy IPv6 route and passing its dst member to the dst APIs. The Linux kernel CVE team has assigned CVE-2026-72429 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 47ce7c854563fe8450e9cb8dcd62c6470e28076b and fixed in 6.18.40 with commit ea24f911ead85ba3d570a31e37c52b6c949f6928 Issue introduced in 6.16 with commit 47ce7c854563fe8450e9cb8dcd62c6470e28076b and fixed in 7.1.5 with commit 5a3b2ee1e96d0580a8ed8deda6dfa430604f9ab0 Issue introduced in 6.16 with commit 47ce7c854563fe8450e9cb8dcd62c6470e28076b and fixed in 7.2-rc1 with commit 9ed19e11d2146076d117d51a940643990118449b 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-72429 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 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/ea24f911ead85ba3d570a31e37c52b6c949f6928 https://git.kernel.org/stable/c/5a3b2ee1e96d0580a8ed8deda6dfa430604f9ab0 https://git.kernel.org/stable/c/9ed19e11d2146076d117d51a940643990118449b