From mboxrd@z Thu Jan 1 00:00:00 1970 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 A9974384CC6 for ; Sun, 18 Oct 2026 15:30:12 +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=1792337420; cv=none; b=Pv3iPPHqR8EkVdtdPKfVhSYhZkzCqvBrMgxcnxfOc27VywLCA3XkuDAlYjDIyeMDMhhM/eCq25EZDU2mBT1N3j4f7TBgi26O/Ywd9KzDPbLhSVwNdO0z8Ltb1Wffl7tAWKF3f95cUTw6QZE50lB5krhWp6capGGWgPSvrmqz9eo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337420; c=relaxed/simple; bh=8n0TfJnfP4XrX1BFTbgCA5WrE6lKTBJdLcQJJ97mSsI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BgWxv53P0RMqWJW0ADhAsim7qxdLMygEHl42VrHmf3Gnmu6yA5ZP0EiDk/JUG1YqF5+fsp27HUu1fIbpm30Zzm4DrY4hzgW8GPhsz9YqIO0+3jw7SxZ3g/maNCcRAY7YqszSc7jBmWDhT0FqxKftT8fjvK7u/fhQTFafXiEnhuw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cj+3Qnhb; 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="cj+3Qnhb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26BFB1F000C5; Sun, 18 Oct 2026 15:30:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337411; bh=dINv4wmN9G2MTNdE2ZWiRS3P7amJOjVT1sNiO2CydS4=; h=From:To:Cc:Subject:Date:Reply-To; b=cj+3Qnhb3SnRVxkCWGKh08SCYHxPJhUsA68oDHIY2YV28HuP6rHDY1DFGvlcBb4Lf A8iBLd6EBd16hLmSAMbb8dHxAaAjFmlegUFJCWBlCe+YP/wmP3JvzWxPZhj9Okk+Zp mO+Fb5eNwgtTkVcSxL0n6e5HnAq5nzpZKRTPyIlU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98569: ip_gre: Reject enabling collect metadata through changelink Date: Sun, 18 Oct 2026 17:17:13 +0200 Message-ID: <2026101832-CVE-2026-98569-d09a@gregkh> X-Mailer: git-send-email 2.56.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=3879; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LJTQuu2MKNM/eO8GtnjVyFZKbXo72K4r69NbaC5VuE8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk0RT/jqxn8qfu6q8J1pLlcK7u06IbknLX9hepbdY ZWD58wudsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBETr1jWDD7Uuk5r8gjabfm 75u44XHh8ndFOZ0MCy7XdiZ82ev1u2Zn7q3cTMdX/va2+wA= 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: ip_gre: Reject enabling collect metadata through changelink ipgre_netlink_parms() can enable collect_md on an existing GRE, GRETAP or ERSPAN device. Unlike newlink, changelink does not enforce metadata tunnel uniqueness. Converting a non-metadata device can therefore replace the metadata receive entry for another device of the same type in the same netns. Deleting either device then clears the shared entry, breaking metadata receive lookup for the surviving device. If parameter validation fails after collect_md is set, deleting the modified device can also clear an entry it never owned. Reject enabling metadata mode in both changelink callbacks before any encapsulation or tunnel parameters are modified. Allow requests that repeat the metadata attribute on an existing metadata device. The Linux kernel CVE team has assigned CVE-2026-98569 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 5.10.271 with commit c80315da84998b69b8829785a174b0bf72a81992 Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 5.15.222 with commit cff8b520312e750ad38967c30128e1534cbf9484 Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 6.1.189 with commit 1dc759571f3df14891175fc52527f7624ba01322 Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 6.6.158 with commit da2e0cfbb620b199927a1e5b93b7cfde32083c7d Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 6.12.112 with commit 2e54d53b65e296b4b4bdc2cdd3b2b58dfa8d8c5c Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 6.18.55 with commit bdd41b96e814300c66222cf4e47ecb8aef995656 Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 7.2.9 with commit 63c5e48d6f7f5722a48f63e13e961dc5302894ed Issue introduced in 4.3 with commit 2e15ea390e6f4466655066d97e22ec66870a042c and fixed in 7.3-rc5 with commit a3f315be9d30eeb6938d11fa17fd4b32d52f7c42 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-98569 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/ipv4/ip_gre.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/c80315da84998b69b8829785a174b0bf72a81992 https://git.kernel.org/stable/c/cff8b520312e750ad38967c30128e1534cbf9484 https://git.kernel.org/stable/c/1dc759571f3df14891175fc52527f7624ba01322 https://git.kernel.org/stable/c/da2e0cfbb620b199927a1e5b93b7cfde32083c7d https://git.kernel.org/stable/c/2e54d53b65e296b4b4bdc2cdd3b2b58dfa8d8c5c https://git.kernel.org/stable/c/bdd41b96e814300c66222cf4e47ecb8aef995656 https://git.kernel.org/stable/c/63c5e48d6f7f5722a48f63e13e961dc5302894ed https://git.kernel.org/stable/c/a3f315be9d30eeb6938d11fa17fd4b32d52f7c42