All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org, dsahern@kernel.org, dave.seddon.ca@gmail.com
Subject: Re: [PATCH iproute2] ip xfrm: fix buffer overrun in deleteall
Date: Tue, 01 Dec 2026 19:50:09 +0000	[thread overview]
Message-ID: <179615460950.972312.512550173148005058.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261130231412.1104721-1-stephen@networkplumber.org>

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@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



      parent reply	other threads:[~2026-12-01 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 23:14 [PATCH iproute2] ip xfrm: fix buffer overrun in deleteall Stephen Hemminger
2026-11-30 23:51 ` dave seddon
2026-12-01 19:50 ` 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=179615460950.972312.512550173148005058.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=dave.seddon.ca@gmail.com \
    --cc=dsahern@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /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.