Re: [PATCH net v5] ieee802154: 6lowpan: validate fragment offset against datagram size

From: patchwork-bot+netdevbpf

Date: Sun Nov 29 2026 - 22:50:20 EST


Hello:

This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:

On Tue, 24 Nov 2026 07:45:51 +0000 you wrote:
> A 6LoWPAN fragment carries the datagram's total size (d_size) and its
> own offset within it. lowpan_frag_queue() never checks that the
> offset, or offset plus length, fits inside d_size, and never rejects
> an empty fragment.
>
> A datagram is considered complete once enough bytes have been counted
> (fq->q.meat) toward d_size, regardless of whether those bytes actually
> form a contiguous range. So an out-of-range or empty fragment's length
> still counts toward completion, even though it doesn't belong anywhere
> in the datagram.
>
> [...]

Here is the summary with links:
- [net,v5] ieee802154: 6lowpan: validate fragment offset against datagram size
https://git.kernel.org/netdev/net/c/9e16b3557ced

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