Netdev List
 help / color / mirror / Atom feed
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
To: Adrian Martinez Garcia <adrimg3196@gmail.com>, netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xfrm: account XFRMA_IF_ID and XFRMA_OFFLOAD_DEV in msgsize helpers
Date: Mon, 12 Oct 2026 16:10:50 +0200	[thread overview]
Message-ID: <893fef96-e6a2-4cad-8100-5b2865aa7605@6wind.com> (raw)
In-Reply-To: <CACO1+RRid9tJq81weX-UHj6111gGZ_H1RMnxk66dtGZfwxoXRw@mail.gmail.com>

Le 11/10/2026 à 10:06, Adrian Martinez Garcia a écrit :
> Hi,
> 
> The xfrm_acquire_msgsize(), xfrm_polexpire_msgsize() and xfrm_expire_msgsize()
> helpers do not account for the XFRMA_IF_ID (8 B) and XFRMA_OFFLOAD_DEV
> (12 B) attributes that their sibling builders emit. The deficit of up to
> 20 B can trigger BUG_ON(err < 0) in the callers -> latent kernel panic.
> 
> This is a sibling of CVE-2026-43107 (fix 7081d46d32 only corrected the
> aevent pair; these three pairs were left unfixed).
> 
> Fixes: 7e6526404ade
> Signed-off-by: Adrian Martinez <adrimg3196@gmail.com>
> 
> I used Claude Code to help with the audit.
Please, don't use attachments.

Here is the doc about the process:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n278

Regards,
Nicolas

      reply	other threads:[~2026-10-12 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-11  8:06 [PATCH] xfrm: account XFRMA_IF_ID and XFRMA_OFFLOAD_DEV in msgsize helpers Adrian Martinez Garcia
2026-10-12 14:10 ` Nicolas Dichtel [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=893fef96-e6a2-4cad-8100-5b2865aa7605@6wind.com \
    --to=nicolas.dichtel@6wind.com \
    --cc=adrimg3196@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox