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 06C3A4279E2 for ; Wed, 4 Feb 2026 16:21:53 +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=1770222113; cv=none; b=LrZJqU8crPtxb/UNWT6L//9cG1UCU4H1wh8PcUgy6oXm86XQ7l3YuFarfRLrK+An58x8T1SkTl47XPgheAhmSrRC1seX9zVI96A7ZrCL2x/kWhHw+GgCVPYT72NpC9vYhzgerrGnze5JfFIZpXvCZM71YeLGThlXBeKDhg5zDrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222113; c=relaxed/simple; bh=gxQo97VQjX1Rv/4V1vRA8BDrMRyteXVPCahiokOoT1M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IueMqh94fXHwwe1Iw3QdmHLxDvX0H+NABAkZGxudr9517b3BEx53agWo3uar4gzFWwyeIaj17Xcrklmb+tonY9T5wVZvwaeDOvM7yQsnEvMQ4ITj8LVp0vWJc6mlSZ9TF8DpsGtNUmdTYTaJsZTRY8kj5joFnZFmZvIBMVa4dy0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2IEOqyQD; 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="2IEOqyQD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72E2AC4CEF7; Wed, 4 Feb 2026 16:21:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770222112; bh=gxQo97VQjX1Rv/4V1vRA8BDrMRyteXVPCahiokOoT1M=; h=From:To:Cc:Subject:Date:Reply-To:From; b=2IEOqyQDmkabT9LhBisVHzt1g1hfVEzECeVu9pgPZe8j5lNrQVVZP4VoBhL9iS+MK JAKo43Fn9717UyC13X8r2tAhtqZrD66/RMLsjBra0X34Vo6aeQj9LNIJExapvHjW6K xwMMTpVLybe2NDFhYZPuI5Dger2Hr8h8DF91S4lQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23095: gue: Fix skb memleak with inner IP protocol 0. Date: Wed, 4 Feb 2026 17:14:54 +0100 Message-ID: <2026020426-CVE-2026-23095-66e8@gregkh> X-Mailer: git-send-email 2.53.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=3935; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2vhfIe+Cud+eZD7/yGBk6C69Hu+ygq6SeFZlUMnpIvo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBUmRsg/1n0QyWGg0llRqmhz8vcZH8/CDBpMLrPe+R OvmfNvQEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5U8cwT+P1tlrpTap3j1xi /RIRE/KmJCmzi2HB7hjbv0w/n604n5qryKucrqfBZHoMAA== 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: gue: Fix skb memleak with inner IP protocol 0. syzbot reported skb memleak below. [0] The repro generated a GUE packet with its inner protocol 0. gue_udp_recv() returns -guehdr->proto_ctype for "resubmit" in ip_protocol_deliver_rcu(), but this only works with non-zero protocol number. Let's drop such packets. Note that 0 is a valid number (IPv6 Hop-by-Hop Option). I think it is not practical to encap HOPOPT in GUE, so once someone starts to complain, we could pass down a resubmit flag pointer to distinguish two zeros from the upper layer: * no error * resubmit HOPOPT [0] BUG: memory leak unreferenced object 0xffff888109695a00 (size 240): comm "syz.0.17", pid 6088, jiffies 4294943096 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 40 c2 10 81 88 ff ff 00 00 00 00 00 00 00 00 .@.............. backtrace (crc a84b336f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] kmem_cache_alloc_noprof+0x3b4/0x590 mm/slub.c:5270 __build_skb+0x23/0x60 net/core/skbuff.c:474 build_skb+0x20/0x190 net/core/skbuff.c:490 __tun_build_skb drivers/net/tun.c:1541 [inline] tun_build_skb+0x4a1/0xa40 drivers/net/tun.c:1636 tun_get_user+0xc12/0x2030 drivers/net/tun.c:1770 tun_chr_write_iter+0x71/0x120 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x45d/0x710 fs/read_write.c:686 ksys_write+0xa7/0x170 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The Linux kernel CVE team has assigned CVE-2026-23095 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 37dd0247797b168ad1cc7f5dbec825a1ee66535b and fixed in 6.6.122 with commit f87b9b7a618c82e7465e872eb10e14c803871892 Issue introduced in 3.18 with commit 37dd0247797b168ad1cc7f5dbec825a1ee66535b and fixed in 6.12.68 with commit ce569b389a5c78d64788a5ea94560e17fa574b35 Issue introduced in 3.18 with commit 37dd0247797b168ad1cc7f5dbec825a1ee66535b and fixed in 6.18.8 with commit 5437a279804ced8088cabb945dba88a26d828f8c Issue introduced in 3.18 with commit 37dd0247797b168ad1cc7f5dbec825a1ee66535b and fixed in 6.19-rc7 with commit 9a56796ad258786d3624eef5aefba394fc9bdded 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-23095 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/fou_core.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/f87b9b7a618c82e7465e872eb10e14c803871892 https://git.kernel.org/stable/c/ce569b389a5c78d64788a5ea94560e17fa574b35 https://git.kernel.org/stable/c/5437a279804ced8088cabb945dba88a26d828f8c https://git.kernel.org/stable/c/9a56796ad258786d3624eef5aefba394fc9bdded