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 200633AD470 for ; Tue, 16 Dec 2025 13:54:59 +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=1765893300; cv=none; b=VuaBY5GDc7Vf4pRE63rdt2CiE4jGKOjNFLpWbHJ55tELK+cmh7BCdGdNzLwYRx2k+NyPT159QgtjrLDXFG4163leiANnq2J6CbFWox5W9vs6aGUZxBUVHnUXI3ItafghhtWR/Hr/o5z+ifVuvLSJQo83tEdoGBz0zcya8iQHVDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765893300; c=relaxed/simple; bh=OKwMCapQG107V8VG1KEkoTStoEwX0lqTPHE3BfbD6sA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E75mbkSryqJoj0lNK+VVdxxfVwNhz2quk9enOd7WbXY+0CqE7qDUO8Ob/8KWBao3N1/UoYXvvRQZ1X5cEnO0IcS4E32HZW+8rRNH2MYJE4G6vDL5aycX1NFDfeVlD8U8jibUYQNfH57m0tsVHgVLSvhtMmsdO5U/IG087mc9UpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I5m8/yi9; 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="I5m8/yi9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E052C4CEF1; Tue, 16 Dec 2025 13:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765893299; bh=OKwMCapQG107V8VG1KEkoTStoEwX0lqTPHE3BfbD6sA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=I5m8/yi9eXWIHqDjQumGbpQOvlOerAzPSrzmnXIPN/SRuHrHmVxol/71u3SKWPLHh h9184pNiPMMPlIbWw25ud0ADf6LAHTG9e64CiqMoma3rla3DNIHJAPdJNhHz4ftg5n tmY1uB6a/YpK4SJH9wlGZ6x/HTI9smj6Pboc/zJI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68200: bpf: Add bpf_prog_run_data_pointers() Date: Tue, 16 Dec 2025 14:54:29 +0100 Message-ID: <2025121630-CVE-2025-68200-3bbb@gregkh> X-Mailer: git-send-email 2.52.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=3431; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=A0Aa/uHbcOJx1cgdHUjkp3AAJfAQHR+a01s6a6qjIGU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOKdPY9GJX/TDuc/y6sWIG28sNFzdG1Dg+mrwh9VNCo JxgxbUzHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR7P0MC5oFem/Hsra6ai9I 4VCvNLV3WrNSlWHBzpkHr0x94tYt4sOwfMPKfOcVRmrpAA== 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: bpf: Add bpf_prog_run_data_pointers() syzbot found that cls_bpf_classify() is able to change tc_skb_cb(skb)->drop_reason triggering a warning in sk_skb_reason_drop(). WARNING: CPU: 0 PID: 5965 at net/core/skbuff.c:1192 __sk_skb_reason_drop net/core/skbuff.c:1189 [inline] WARNING: CPU: 0 PID: 5965 at net/core/skbuff.c:1192 sk_skb_reason_drop+0x76/0x170 net/core/skbuff.c:1214 struct tc_skb_cb has been added in commit ec624fe740b4 ("net/sched: Extend qdisc control block with tc control block"), which added a wrong interaction with db58ba459202 ("bpf: wire in data and data_end for cls_act_bpf"). drop_reason was added later. Add bpf_prog_run_data_pointers() helper to save/restore the net_sched storage colliding with BPF data_meta/data_end. The Linux kernel CVE team has assigned CVE-2025-68200 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.13 with commit 0d76daf2013ce1da20eab5e26bd81d983e1c18fb and fixed in 5.15.197 with commit c4cdd143c35974a2cedd000fa9eb3accc3023b20 Issue introduced in 5.16 with commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 and fixed in 6.1.159 with commit 5e149d8a8e732126fb6014efd60075cf63a73f91 Issue introduced in 5.16 with commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 and fixed in 6.6.117 with commit baa61dcaa50b7141048c8d2aede7fe9ed8f21d11 Issue introduced in 5.16 with commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 and fixed in 6.12.59 with commit 6392e5f4b1a3cce10e828309baf35d22abd3457d Issue introduced in 5.16 with commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 and fixed in 6.17.9 with commit 8dd2fe5f5d586c8e87307b7a271f6b994afcc006 Issue introduced in 5.16 with commit ec624fe740b416fb68d536b37fb8eef46f90b5c2 and fixed in 6.18 with commit 4ef92743625818932b9c320152b58274c05e5053 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-2025-68200 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/linux/filter.h net/sched/act_bpf.c net/sched/cls_bpf.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/c4cdd143c35974a2cedd000fa9eb3accc3023b20 https://git.kernel.org/stable/c/5e149d8a8e732126fb6014efd60075cf63a73f91 https://git.kernel.org/stable/c/baa61dcaa50b7141048c8d2aede7fe9ed8f21d11 https://git.kernel.org/stable/c/6392e5f4b1a3cce10e828309baf35d22abd3457d https://git.kernel.org/stable/c/8dd2fe5f5d586c8e87307b7a271f6b994afcc006 https://git.kernel.org/stable/c/4ef92743625818932b9c320152b58274c05e5053