Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759436; b=HfUrWnoqoYsTfUUhaJ8+viRo43asa5EBQITC05eAW7iihPimXLDLV5gQQATeDXa8b2mh PGKsShULlmJglT3wTp+AMQc8TQlI+/HhzHbybyyfWrss6lUzfVrry4xxwlJiklS+jMHQw G1Wk8AuR25Nay/aOMWU0lTpU12Pc+uysmPuJSzxlslMiAHOPuSyX7nRyFY6AaO/gzUIj6 OkC4amF3d8/D0SKpnxMXl5t/ROlnIyxhkJcdP0xGDAwfOeu/CkKweJlMYe6K/3m8dUKJ8 KxK7AuCipzpEg3bS+47mWnwG0fwJwsxZWSW/3p42M22/BxVXw3vMhiDF2F7G2Qwh/zg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759436; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=2R1EtxikIbaE4/2V2qabJOfjogzWDaso/WTWYB9MQI8=; b=f/FVJXdWDqt1VGWuAQPg6bS/AKfZLaP1fOcmoilSZmu9KQC1V8R95Pqa71gVH5SwtacI m7XG1auZFgaSfZGNlXXBx0WxXbc3xxlTUiIny2Z2cRY9OjY2hBGL4VYlLPR2JyeDo3eur /G03JzdgG72xe1mdSBGTJXRfRt+GwkceusrxxaVtpUia1BcLWtemcNyWG0k57vjBed/G8 cCXjGt7ag8G0LTlBN0RidfjqG3Cb7gGyxnfSVO5Min2MUhQSO5XUwxNiEbU3oSrd1MTy1 xxPcGkVPGXAeu2V+RaBrFB3ok0WljodpDbhHUG01o20RuevURmeUNghmeir1guqum0g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=y4iHB2gN; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF021606A31B for ; Fri, 23 Oct 2026 12:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=y4iHB2gN Received: by smtp.kernel.org (Postfix) with ESMTPSA id C93B61F01828; Fri, 23 Oct 2026 12:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759435; bh=2R1EtxikIbaE4/2V2qabJOfjogzWDaso/WTWYB9MQI8=; h=From:To:Cc:Subject:Date:Reply-To; b=y4iHB2gNovyZXShH+SfI61bZvnpC+GK7qMAhzaLqEGrcrOYOyH7QCUx7hErMv43Xp kuoac+gLKjVgzG1UIxR+Df8njg8tZ3G/gz0km/iDDt+AUNdB2dEF67QR5N8ooSAlce ANt4Vk4WRZoYY0W1id4prrGaySUlTaCnG3AvDuIw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99076: ipv6: udp: Create exceptions before socket matching Date: Fri, 23 Oct 2026 14:21:18 +0200 Message-ID: <2026102335-CVE-2026-99076-bbbc@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4050; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p+fZuH7cJc+a3yA5eLd2Gtkc2d5AjA9fPhWacPM3EOA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A65/EGbZPiGiJPe3y+LbXVfLD5VzGaa4nf0sEuDsu yF90rxdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9pMMc2Xn3quZ4HJqu6bg /oKDed+Co2rW1jHMs1k120SCtUDwyO2519Zn7eeULp+vCQA= 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: udp: Create exceptions before socket matching Currently, when ICMPv6 Packet Too Big and Redirect Message packets are locally delivered and quote a UDP packet, an exception is only created in the IPv6 exception cache if the kernel can match the UDP packet to an existing socket. This behavior allows off-path attackers to conduct a side-channel attack on the exception cache in order to discover the ephemeral port used by a connected UDP socket. Commit 4785305c05b2 ("ipv6: use siphash in rt6_exception_hash()") and commit a00df2caffed ("ipv6: make exception cache less predictible") tried to mitigate such attacks by making it harder for attackers to discover hash collisions in the exception cache and by randomizing the number of exceptions a hash bucket can hold, respectively. Unfortunately, both of the mitigations can be bypassed. Instead, mitigate such attacks by always creating an exception, even before trying to find a matching socket. Do that by calling ip6_update_pmtu() and ip6_redirect(), the helpers used when the quoted packet did not originate from a socket. This means that guesses (right or wrong) from an off-path attacker will always result in an exception being created or updated in the cache that the attacker can observe. Pass the ifindex of the ingress device and the default uid, in a similar fashion to icmpv6_err(). Unlike IPv4, an oif of 0 would not match any nexthop in ip6_redirect_nh_match() and no exception would be created in response to a Redirect Message. Note that this does not allow attackers to create exceptions that they could not create before, as both helpers can already be reached with little to no validation. For example, by sending an ICMPv6 error that quotes an ICMPv6 Echo Reply or one that quotes a UDP source port that matches a wildcard socket. Also note that in the good case (matched socket) the above scheme comes at the cost of an extra route lookup, as the no socket helpers perform their own lookup before the one performed by ip6_sk_update_pmtu() / ip6_sk_redirect(). When the two resolve to different nexthops, it also results in two exceptions being created for the same destination IP. One in the exception cache of the nexthop resolved by the no socket helpers and another in the exception cache of the nexthop used by the socket. The Linux kernel CVE team has assigned CVE-2026-99076 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 2b760fcf5cfb34e8610df56d83745b2b74ae1379 and fixed in 7.2.11 with commit 8c9b310c958be33ba8fb9d0e6b77811d013e10c0 Issue introduced in 4.15 with commit 2b760fcf5cfb34e8610df56d83745b2b74ae1379 and fixed in 7.3 with commit ac76cab50e899a7346408b8d3c3a4192c2eefb9f 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-99076 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/udp.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/8c9b310c958be33ba8fb9d0e6b77811d013e10c0 https://git.kernel.org/stable/c/ac76cab50e899a7346408b8d3c3a4192c2eefb9f