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 198D1404BF9 for ; Fri, 11 Sep 2026 19:49:02 +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=1789156154; cv=none; b=og8Jac+SNUUtJ/sekuUhHX0P5fuCasGN8FNDPQn0uzKZx7d2fNMf75NxSv32kp/7I1filbaBgbEtoCWq8L7A7ulgBv9pTb0kmHn40ucMnGKXsloRzYY4mSXtyLp/R3lozV9W7/vVwFUfgoH/EKPKUfmjPAPu0QtRdRQ8uAR4aYo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156154; c=relaxed/simple; bh=QtkYoF8Hk47RlgQU5Q8BC3relXm5/cOdT6ogkGV+KWw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HShOStuEOANJl4fu73BRPdZaKYE/igosD0djBLyud3n1Ysj/KXVI3YuFCkMBLZXgQ5UZGN1+5wJclMDhvsBWmF263PpYz4wQlg9Yvghbv+hADWnRL6zMOyYMZ4e9n5pR+y3/A7tgLgj8QqrNylhspnadixV1W5pM0KCt3UV9KZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wrav+JrQ; 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="wrav+JrQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC00C1F00899; Fri, 11 Sep 2026 19:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156142; bh=j86IH8MMrfP5aPj29DjV+TOnKhcIiG87RrGq6uyELWA=; h=From:To:Cc:Subject:Date:Reply-To; b=wrav+JrQRjl2RvtjI7TYr9JTTtQrSAaGsGCY/+AUGLHxubg3AwwhXdlNKN4pB/Uy8 xwk36wOSasS1814FKCLTZ/sYd2wueqoPXh+FHga9BKoyBoK4IJjISudDHGDWDiMXc8 FJWOighLJ19bcLHQqA2lAB/w18sj0bfeJ0y6ApNc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-81002: xdp: fix zero-copy frame layout Date: Fri, 11 Sep 2026 21:41:48 +0200 Message-ID: <2026091151-CVE-2026-81002-3b0c@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=3375; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9vLEGOTc2ZsOU675aItzfetzWqZKul0oUalGOibUCNQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIp2/mzf/dP9f8frZ0VTVj70pLVeWruv9s4b9T5S5S W/2kWy1jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI9yKGBQtlH84Te/7n/dar qfX7wxgt6tYX1jHMlXfZXfTmUHOVyS7tvKelEjvFJ9zbAQA= 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: xdp: fix zero-copy frame layout xdp_convert_zc_to_xdp_frame() clones an XSK packet into an order-0 page and advertises PAGE_SIZE as its frame size. It allows the copied frame to occupy the page tail needed by skb_shared_info and records zero headroom even when metadata separates the frame header from packet data. An AF_XDP zero-copy packet redirected through cpumap can therefore make the skb overlap skb_shared_info or place it beyond the allocated page. Limit the copied layout to SKB_WITH_OVERHEAD(PAGE_SIZE) and include the metadata length in frame headroom. Redirect callers already handle a NULL conversion result. BUG: KASAN: slab-out-of-bounds in skb_gro_receive Write of size 4 at addr ffff88800cf37004 by task cpumap/1/map:1/146 Call Trace: skb_gro_receive (net/core/gro.c:174) udp_gro_receive (net/ipv4/udp_offload.c:812) inet_gro_receive (net/ipv4/af_inet.c:1539) dev_gro_receive (net/core/gro.c:515) gro_receive_skb (net/core/gro.c:633) cpu_map_kthread_run (kernel/bpf/cpumap.c:395) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:164) ret_from_fork_asm (arch/x86/entry/entry_64.S:255) Kernel panic - not syncing: KASAN: panic_on_warn set ... The Linux kernel CVE team has assigned CVE-2026-81002 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 and fixed in 6.12.109 with commit 444216dacdbebd3e52d5e704facafbb230da09e9 Issue introduced in 4.20 with commit b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 and fixed in 6.18.50 with commit 15d1f3c0dbe7a740f779337deb39f23cd8d002c8 Issue introduced in 4.20 with commit b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 and fixed in 7.2.4 with commit 68d7cc5512238693670fc19c7a615df631e10edf Issue introduced in 4.20 with commit b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 and fixed in 7.3-rc1 with commit 71283aaa6c65b3cec84caf1dc78560985737641f 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-81002 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/core/xdp.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/444216dacdbebd3e52d5e704facafbb230da09e9 https://git.kernel.org/stable/c/15d1f3c0dbe7a740f779337deb39f23cd8d002c8 https://git.kernel.org/stable/c/68d7cc5512238693670fc19c7a615df631e10edf https://git.kernel.org/stable/c/71283aaa6c65b3cec84caf1dc78560985737641f