All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Ren Wei <weir@nebusec.ai>
Cc: netdev@vger.kernel.org, edumazet@google.com, davem@davemloft.net,
	kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
	tim.bird@sony.com, opurdila@ixiacom.com, vega@nebusec.ai,
	petalzu987@gmail.com
Subject: Re: [PATCH net v2 0/1] llc: reserve device headroom for allocated frames
Date: Thu, 24 Sep 2026 18:10:18 +0000	[thread overview]
Message-ID: <179027341889.1690644.11455303512227323391.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <cover.1790141817.git.petalzu987@gmail.com>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 24 Sep 2026 09:26:04 +0800 you wrote:
> From: Zixuan Chai <petalzu987@gmail.com>
> 
> Hi Linux kernel maintainers,
> 
> We found and validated an issue in net/llc/llc_sap.c.
> 
> llc_mac_hdr_init() invokes the selected Ethernet device's header_ops
> without verifying that the skb has enough headroom for the device's actual
> link-layer header. LLC2 response paths allocate frames through
> llc_alloc_frame(), which reserves only ETH_HLEN bytes for every
> ARPHRD_ETHER device. On a non-offloaded VLAN device, vlan_dev_hard_header()
> instead pushes a four-byte VLAN header followed by the lower device's
> Ethernet header. After the LLC header consumes its reservation, the
> Ethernet push crosses skb->head and invokes skb_under_panic(). With
> CONFIG_LLC2 enabled, a remote layer-2 peer can send a NULL-DSAP XID or TEST
> command through such a VLAN and make the automatic station response crash
> the kernel.
> 
> [...]

Here is the summary with links:
  - [net,v2,1/1] llc: reserve device headroom for allocated frames
    https://git.kernel.org/netdev/net/c/72b5b9a28b99

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-09-24 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24  1:26 [PATCH net v2 0/1] llc: reserve device headroom for allocated frames Ren Wei
2026-09-24  1:26 ` [PATCH net v2 1/1] " Ren Wei
2026-09-24 18:10 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179027341889.1690644.11455303512227323391.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=opurdila@ixiacom.com \
    --cc=pabeni@redhat.com \
    --cc=petalzu987@gmail.com \
    --cc=tim.bird@sony.com \
    --cc=vega@nebusec.ai \
    --cc=weir@nebusec.ai \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.