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=1795154343; b=kHBMvM+qU20F7WV8Dct2xi0oI+FF+zcIklUSW0eEyHYQl1nfUYRTHwMs0SWIMPn9hEPB 6XUKF/BSDmwQS+mwFezL06bDdhj2a8t9+6IWnWo+Hd73Xjd7RYiNkOaixhApkmOOj2CkE 6v33gjQ78P6kUkNLClJUa4aVa2Ocv1LpLC7hogz7K/mEpyZascN3Q1W/4xHsBzLJnj3My dRIpKM/Sy8KMKGsBV+ZudLJpc2T/sEjX57mWgxhGU/aq+8mhOYiposrYIjhSdGKsye9mj qNhdH1r9MZs72UUStnfJbBjJQou5cHrI11rF1+AKCE06jVGhIjJZ0lzzSarxVU6ZaNg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154343; 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=FjyTuy9yMkCwImSev+8CiQWPeBMffu+Ry7IYH71aS/s=; b=B8d1EVLZzVJTeozVZqNspZT58pSpiZyAOipVBxcZND4FH6EMi+Vb9BKceAML94JhGswA qVomIhMEcAUCCRE+IozI/7mS7HwWzqvmw+7JEoe8o1dbgPjbtA2sfYmQCP1VZ4gqOslx2 rE4J85cSlcsRYzqwfkoU1sIl3TkkfWlb1sYwWSN8hJQ/fd7BqbieyM5ncE/SKuwcfVdyf DOBV0TM4Vq24nAYnTBuDtpMZH5PEMia2/sXkjm1+S3uWz0y+/XbccDhcHnONNaVDyiaSJ qH7ZEDAO7omgaAQZtC0Sw+G8moIQYkzHpeKlq3CtKz+r54pbpvWrAw6N2H1F0Tv3Mxw== 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="gPIBFZq/"; 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 40C4960A2624 for ; Fri, 20 Nov 2026 05:59:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=gPIBFZq/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 909A21F000D2; Fri, 20 Nov 2026 05:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154343; bh=FjyTuy9yMkCwImSev+8CiQWPeBMffu+Ry7IYH71aS/s=; h=From:To:Cc:Subject:Date:Reply-To; b=gPIBFZq/Aezf9DjWpHiFqq105mYUFdve0UwLL0cfdh9jZTweid8UqE4OiCG1vtEMY KOi8E9ya9IgMbyFiajZYRbXmmFImEqBnNyk6UmrgdBJDgq2EE0j3uqGZ6tqfpGV83K nCbm5pE3vdCz5KINkUUNcAGWkD+DVAjMNraoAujs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99709: inet: frags: limit the truesize of a reassembly queue Date: Fri, 20 Nov 2026 06:51:35 +0100 Message-ID: <2026112005-CVE-2026-99709-f51f@gregkh> X-Mailer: git-send-email 2.56.1 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=3104; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QUnnLCCGl2ORDuLhXtCL+5vSQ+XcejIjQE9nQba5Kh4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7/eu1eLvPccif2+xwM/++MV/0/andLCFFXidk7Vdd 4PDL2hvRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyE5zzDbJaUlZvvbjHL5O3P 3aEoYVO9cXtnKcM8o8ntMbENH/tV/wgdkPnAvOqVSJcpAA== 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: inet: frags: limit the truesize of a reassembly queue The truesize of fragments in a reassembly queue is only bounded by the per netns ipfrag_high_thresh sysctl, which has no upper limit. inet_frag_reasm_finish() sums the truesize of all fragments in an int. If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc adjustment of the socket owning the reassembled skb can cancel its own reference, leading to a use-after-free of this socket. This can be triggered from an unprivileged user/network namespace, raising ipfrag_high_thresh and using padded TUN packets, which keep a large truesize after being trimmed by ip_rcv_core(). Track the sum of the truesize of fragments in each queue, and refuse a fragment that would make it bigger than INT_MAX / 2. Callers kill the queue on this error. This bound is far above the needs of legitimate traffic. The Linux kernel CVE team has assigned CVE-2026-99709 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 18685451fc4e546fc0e718580d32df3c0e5c8272 and fixed in 7.3.5 with commit b7f84486c44c2ce03dffe5f09a42a38acbaa1551 Issue introduced in 6.9 with commit 18685451fc4e546fc0e718580d32df3c0e5c8272 and fixed in 7.4-rc2 with commit 3ae20e4697eb969104fe4b1e98a675f0100382b6 Issue introduced in 5.4.285 with commit 1b6de5e6575b56502665c65cf93b0ae6aa0f51ab Issue introduced in 5.10.227 with commit 9705f447bf9a6cd088300ad2c407b5e1c6591091 Issue introduced in 5.15.168 with commit 4318608dc28ef184158b4045896740716bea23f0 Issue introduced in 6.1.85 with commit 7d0567842b78390dd9b60f00f1d8f838d540e325 Issue introduced in 6.6.26 with commit f4877225313d474659ee53150ccc3d553a978727 Issue introduced in 6.8.5 with commit e09cbe017311508c21e0739e97198a8388b98981 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-99709 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: include/net/inet_frag.h net/ipv4/inet_fragment.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/b7f84486c44c2ce03dffe5f09a42a38acbaa1551 https://git.kernel.org/stable/c/3ae20e4697eb969104fe4b1e98a675f0100382b6