Article View: linux.kernel.netdev
Article #859Re: [PATCH net] xen/netfront: drop RX packets with a short Ethernet header
From: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 18:40
Date: Thu, 08 Oct 2026 18:40
28 lines
6743 bytes
6743 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 07 Oct 2026 17:55:40 +0000 you wrote:
> handle_incoming_queue() pulls pull_to bytes into the head before
> calling eth_type_trans(). pull_to is the length of the first RX slot,
> capped at RX_COPY_THRESHOLD, and that length comes from the backend.
> Nothing checks it against ETH_HLEN.
>
> If the first slot is shorter than ETH_HLEN and more slots follow, the
> head ends up shorter than an Ethernet header while skb->len is longer,
> and eth_type_trans() BUG()s in __skb_pull(). If the whole packet is
> shorter than ETH_HLEN, eth_type_trans() reads the header past the end
> of the data instead.
>
> [...]
Here is the summary with links:
- [net] xen/netfront: drop RX packets with a short Ethernet header
https://git.kernel.org/netdev/net/c/089e58805c45
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179148481252.386807.13451642616243196690.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343212-linux-kernel-netdev=dewy.ruReferences:
<20261007-b4-xen-netfront-short-head-v1-1-12d7113a7e4e@toxicpanda.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343212-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] xen/netfront: drop RX packets with a short Ethernet header Date: Thu, 08 Oct 2026 18:40:12 +0000 Organization: Usenet Network Message-ID: <179148481252.386807.13451642616243196690.git-patchwork-notify@kernel.org> References: <20261007-b4-xen-netfront-short-head-v1-1-12d7113a7e4e@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="944191"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:vfBKeCZ7fX6SQEoB2JI5SwM3vAU= sha256:b9xtRBZWLsmHjzArnCZwPkdn0PnTwzU773yqCBH6zfA= sha1:7hQsu/wzclxT2/rnUNLRH4p49zI= sha256:kNIqpkRSPozfwkB2eIpHHBI8loQHJ46I1TAwfAPCzt0= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 1201A10F4D0; Thu, 8 Oct 2026 21:41:16 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d3OstiIfsiCj; Thu, 8 Oct 2026 21:41:12 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-343212-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 318B910F4BF; Thu, 8 Oct 2026 21:41:09 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 11B712B90A; Thu, 8 Oct 2026 18:40:48 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4A8F4F6497; Thu, 8 Oct 2026 18:40:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PJwc4GiZ" X-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 8ADE74F5E1E; Thu, 8 Oct 2026 18:40:14 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791484817; cv=none; b=LxGL4JDkZcEwKmUlA4FXASYd1SZW2zYyMDIoH/wm+JMM07VjgwNedO+51glpNKSLjiJ+MjROqn/rMUw0TsaRLVmNnetvxxwH+PMEUGGW0gbzFIt0/jTKhojnJlfMz5nmoQHS8KpToUu4bbPjFoV7Id6LTk4FdPTeNGlHqy/XHy8= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791484817; c=relaxed/simple; bh=3XIdxFmnxOCt5ptNgrEjlBbSUU5Xvj2JTqqcv8NLt/I=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=Sl2ZQUH/SOBj++d91mcAptU/E842jSD81ttiV2EWZkV57dqgzbWDIwKqoC1eDlD2rZ3ioFz3MlxYSMZKMtVIPnA8xaCgoveqTYueO85k/2wNDvRR36/hTcgqzuN3iki8PSTfUszMqVYiT7xEVfiHsbeDrm/7ixmlLvTTTcJa08E= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PJwc4GiZ; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B3471F00898; Thu, 8 Oct 2026 18:40:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791484814; bh=VkDY4ley1sWol3yb7WWyF4QJs3i/YJjEQTTXobutVZM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=PJwc4GiZZYOldv17sp8Wbd5dZHYRxlbCEjXpM7m8KfHhoRfuJhF4nCkeNels1AOWY /c0T4I8kXGt2G7KecUytwwHjpgVOT7YC1e5z1uRqbzQgvUVjLYWza6peUvrIShJ6lk HBs9MRyZLz4WG6hsYhcf6kYCfxj/NZVtXM9I0NfTNGtegslWE2bGcPVUuBFAOXJVeS 33ERJzN7z5nuiRBHmB+xGRL7IqzOkfV4gA25LY3CjA5n49uGuxP5+/BfSYpkZpaBjq 1hbTGWcuC1T6L0aLRjYTXBTk/AyGuPVi8S4aSiyEFyeCsHCWmRrl8R9xnNxc1wAhvx SK7Mgbn4X/OAQ== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F170C380CEC8; Thu, 8 Oct 2026 18:40:13 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261007-b4-xen-netfront-short-head-v1-1-12d7113a7e4e@toxicpanda.com> X-Cc: jgross@suse.com, sstabellini@kernel.org, oleksandr_tyshchenko@epam.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, chrisw@sous-sol.org, jeremy@xensource.com, jeff@garzik.org, xen-devel@lists.xenproject.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org