lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z6yWa3ADgWmu+2TE@boxer>
Date: Wed, 12 Feb 2025 13:39:07 +0100
From: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
To: Toke Høiland-Jørgensen <toke@...hat.com>
CC: Tony Nguyen <anthony.l.nguyen@...el.com>, Jacob Keller
	<jacob.e.keller@...el.com>, Chandan Kumar Rout <chandanx.rout@...el.com>,
	"Yue Haibing" <yuehaibing@...wei.com>, Simon Horman <horms@...nel.org>,
	"Samuel Dobron" <sdobron@...hat.com>, <netdev@...r.kernel.org>,
	<intel-wired-lan@...ts.osuosl.org>
Subject: Re: [ixgbe] Crash when running an XDP program

On Wed, Feb 12, 2025 at 01:33:09PM +0100, Toke Høiland-Jørgensen wrote:
> Hi folks,
> 
> Our LNST testing team uncovered a crash in ixgbe when running an XDP
> program, see this report:
> https://bugzilla.redhat.com/show_bug.cgi?id=2343204
> 
> From looking at the code, it seems to me that the culprit is this commit:
> 
> c824125cbb18 ("ixgbe: Fix passing 0 to ERR_PTR in ixgbe_run_xdp()")
> 
> after that commit, the IS_ERR(skb) check in ixgbe_put_rx_buffer() no
> longer triggers, and that function tries to dereference a NULL skb
> pointer after an XDP program dropped the frame.
> 
> Could you please fix this?

Hi Toke,

https://lore.kernel.org/netdev/20250211214343.4092496-5-anthony.l.nguyen@intel.com/

can you see if this fixes it?

Validation in our company has always been a mystery to me, sorry for this
inconvenience and that we were bad at reviewing :<

> 
> And, erm, given the number of reviewed-by and tested-by tags in the
> commit above, I'm guessing you don't have any XDP tests in your testing
> regimen? Any chance you could add that? :)
> 
> Thanks!
> 
> -Toke
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ