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 C441B38888C for ; Sat, 25 Jul 2026 08:56:59 +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=1784969820; cv=none; b=qrxjPzL68dt7qVHGLZz3/0qZD4l6HnVb4gh+dLtJuyVvZkAtVh+KRhZMNVF4n1z9kSQEHThsjxZi1c73utxwveHY2+wk2zaxb4Y4tg6STXz2gMiVq98vALiep7rYzrTsPdHVgIZqjLLRQ2apFvZWqzUZyW0IfqR9xIu9VngIWMI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969820; c=relaxed/simple; bh=becpgKzcy6TYFYdmcEJpWHAY/fEBwiFuUjZNOT1xIxE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ltvdi2xbvynHukXjk6ZYnuf+YUpUU2I0KCA/itWoOuFg89uHKMU6Da17BkBcVFXEYbNS7W4Q3Jt3cwo1qHNAiqlNJulJYjxIbv5dosBFGe4C1eu5D7YypPXVSv+dBLC6q9nvfbvzKT8zgOBCbDmJOzYmit41raLvHbfBrnADKZU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aHrFh5np; 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="aHrFh5np" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BF5F1F000E9; Sat, 25 Jul 2026 08:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969819; bh=Q32GM3x4kDBijycnAKefDo+Tvu/fd4guzRKF7MWBe2s=; h=From:To:Cc:Subject:Date:Reply-To; b=aHrFh5npB0UpWJtwza1L2D/5XVXwG1ew3EWF1ZjV1CRQE4vLi1I538qNf6kLTwrYf YnbWMxqtTaQ58Nz+W/hY5GBoGGM6p+VxToLouC3+7mgdBAkWtIBQCHURak3Jv23rmn gZV5jLkASKIucswOjx0zd4VFjAZ9v4ZA8gMOmoKk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64355: bpf: Reject fragmented frames in devmap Date: Sat, 25 Jul 2026 10:49:32 +0200 Message-ID: <2026072519-CVE-2026-64355-35d5@gregkh> X-Mailer: git-send-email 2.55.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=3670; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/1oqzp25jOD91l1yBLUZ0KTVsSE46IDhHmx8LaoAV6Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFcFFhtMFPkp/8ph6SqCq5K9DxeLDrqw98VseCSYln E9JrP7REcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM59o1hfuitsOLaV3vuxN+s 5pn3b+ahk6LrXjDMzz63Qd3TUujIT0bPgxXz3j64s+imAAA= 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: Reject fragmented frames in devmap Devmap broadcast redirects clone the packet for all but the last destination. For native XDP, that clone path copies only the linear xdp_frame data, while fragmented frames keep skb_shared_info in tailroom outside the linear area. Cloning such a frame leaves XDP_FLAGS_HAS_FRAGS set but without valid frag metadata, and the later free path can interpret uninitialized tail data as skb_shared_info, leading to an out-of-bounds access during frame return. Reject fragmented native XDP frames in dev_map_enqueue_clone(). Add the same restriction to the generic XDP clone path in dev_map_redirect_clone(). Generic XDP represents fragmented packets as nonlinear skbs, and rejecting them here keeps clone-based broadcast support aligned between native and generic XDP. The Linux kernel CVE team has assigned CVE-2026-64355 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 5.15.212 with commit 47baddc856ae7e93a565dd9deeb797999b179466 Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 6.1.178 with commit 07a4c11ee8ef4abcb39d922e9e410ae269671cdf Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 6.6.145 with commit bccbab36ff228e0825eb85d9b0f9b8434cd0a399 Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 6.12.96 with commit c5b4f5efcb55c1af3fe44ff712d31b7fb098a831 Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 6.18.39 with commit a9bb2d9c798cb62a4050a991c27b752770c33afe Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 7.1.4 with commit 51d07c12ca411e692c424ecdabf077f1e61a61be Issue introduced in 5.14 with commit e624d4ed4aa8cc3c69d1359b0aaea539203ed266 and fixed in 7.2-rc1 with commit aa496720618f1a6054f1c870bf10b4f6c99bf656 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-64355 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: kernel/bpf/devmap.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/47baddc856ae7e93a565dd9deeb797999b179466 https://git.kernel.org/stable/c/07a4c11ee8ef4abcb39d922e9e410ae269671cdf https://git.kernel.org/stable/c/bccbab36ff228e0825eb85d9b0f9b8434cd0a399 https://git.kernel.org/stable/c/c5b4f5efcb55c1af3fe44ff712d31b7fb098a831 https://git.kernel.org/stable/c/a9bb2d9c798cb62a4050a991c27b752770c33afe https://git.kernel.org/stable/c/51d07c12ca411e692c424ecdabf077f1e61a61be https://git.kernel.org/stable/c/aa496720618f1a6054f1c870bf10b4f6c99bf656