Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <step…@networkplumber.org>:
On Mon, 30 Nov 2026 15:14:12 -0800 you wrote:
> Deleteall packs delete requests into a fixed size stack buffer. The
> state side only checks (xb->offset > xb->size), which ignores the
> message about to be written, so a full buffer is overrun by the next
> delete request.
>
> The addattr_l() calls cannot catch this either. They passed xb->size
> as maxlen, but the bound is on nlmsg_len, which is relative to new_n
> at xb->buf + xb->offset, so the check passes however full the buffer.
>
> [...]
Here is the summary with links:
- [iproute2] ip xfrm: fix buffer overrun in deleteall
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=21de35a159cd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html