Netdev List
 help / color / mirror / Atom feed
From: "Romanowski, Rafal" <rafal.romanowski@intel.com>
To: Simon Horman <horms@kernel.org>,
	Michael Bommarito <michael.bommarito@gmail.com>
Cc: "intel-wired-lan@lists.osuosl.org"
	<intel-wired-lan@lists.osuosl.org>,
	"Nguyen, Anthony L" <anthony.l.nguyen@intel.com>,
	"Kitszel, Przemyslaw" <przemyslaw.kitszel@intel.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [Intel-wired-lan] [PATCH net] ixgbevf: fix use-after-free in VEPA multicast source pruning
Date: Mon, 11 May 2026 09:40:46 +0000	[thread overview]
Message-ID: <IA3PR11MB8985F6561982F08FBE7A40968F382@IA3PR11MB8985.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20260416171349.GC863718@horms.kernel.org>

> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@osuosl.org> On Behalf Of Simon
> Horman
> Sent: Thursday, April 16, 2026 7:14 PM
> To: Michael Bommarito <michael.bommarito@gmail.com>
> Cc: intel-wired-lan@lists.osuosl.org; Nguyen, Anthony L
> <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw
> <przemyslaw.kitszel@intel.com>; Andrew Lunn <andrew+netdev@lunn.ch>;
> David S. Miller <davem@davemloft.net>; Eric Dumazet
> <edumazet@google.com>; Jakub Kicinski <kuba@kernel.org>; Paolo Abeni
> <pabeni@redhat.com>; netdev@vger.kernel.org; stable@vger.kernel.org; linux-
> kernel@vger.kernel.org
> Subject: Re: [Intel-wired-lan] [PATCH net] ixgbevf: fix use-after-free in VEPA
> multicast source pruning
> 
> On Wed, Apr 15, 2026 at 12:30:45PM -0400, Michael Bommarito wrote:
> > On Wed, Apr 15, 2026 at 12:17 PM Simon Horman <horms@kernel.org> wrote:
> > > Sashiko flags a number of issues in the same function that do not
> > > seem related to your patch.
> > >
> > > I'd suggest looking over them if you are interested in follow-up
> > > work in this area.
> >
> > Sure, I'd be happy to keep going here if you're open to more hardening
> > patches.
> 
> Speaking for myself: I'm happy to review patches that correct bugs.
> 
> I'm also happy to review patches that otherwise improve the code.
> But I think the Intel people might be able to provide better guidance here.
> 
> Please be aware of the Netdev guidance on cleanups:
> 
> >
> > Two Qs for you:
> >
> > 1. Do you want smaller patches for each or bigger method-level patches?
> 
> The general rule of thumb is one patch per problem.
> Personally, I prefer small patches.
> 
> >
> > 2. Anything on my list below that you would *not* want me touching?
> > I'll combine with anything I can find from your Sashiko items
> 
> ...
> 
> >     3. line 2769
> >        rule:   semgrep signed-int-as-size-param-kmalloc
> >        match:  q_vector = kzalloc(size, GFP_KERNEL)  (signed size)
> >        status: untriaged
> >
> >     4. line 3452
> >        rule:   semgrep signed-int-as-size-param-kmalloc
> >        match:  tx_ring->tx_buffer_info = vmalloc(size)  (signed size)
> >        status: untriaged
> >
> >     5. line 3530
> >        rule:   semgrep signed-int-as-size-param-kmalloc
> >        match:  rx_ring->rx_buffer_info = vmalloc(size)  (signed size)
> >        status: untriaged
> 
> I didn't look closely, but: I am a little skeptical that these signed size problems are
> worth fixing; while the other items on your list look worth fixing to me.
> 
> ...

Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>


      reply	other threads:[~2026-05-11  9:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-13 18:24 [PATCH net] ixgbevf: fix use-after-free in VEPA multicast source pruning Michael Bommarito
2026-04-15 16:17 ` Simon Horman
2026-04-15 16:30   ` Michael Bommarito
2026-04-16 17:13     ` Simon Horman
2026-05-11  9:40       ` Romanowski, Rafal [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=IA3PR11MB8985F6561982F08FBE7A40968F382@IA3PR11MB8985.namprd11.prod.outlook.com \
    --to=rafal.romanowski@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.bommarito@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=stable@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