public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.10 0/1] eth: ena: Check return value of xdp_convert_buff_to_frame
@ 2022-10-03 11:48 Peter Kosyh
  2022-10-03 11:48 ` [PATCH 5.10 1/1] " Peter Kosyh
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Kosyh @ 2022-10-03 11:48 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman
  Cc: Peter Kosyh, Netanel Belgazal, Arthur Kiyanovski, Guy Tzalik,
	Saeed Bishara, Zorik Machulsky, lvc-project

Return value of a function 'xdp_convert_buff_to_frame' is dereferenced
without checking for null, but it is usually checked for this function.

This fixed in upstream commit <e8223eeff02> while refactoring. So,
simpler patch is offered for a stable version.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-05 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-03 11:48 [PATCH 5.10 0/1] eth: ena: Check return value of xdp_convert_buff_to_frame Peter Kosyh
2022-10-03 11:48 ` [PATCH 5.10 1/1] " Peter Kosyh
2022-10-03 13:59   ` Greg Kroah-Hartman
2022-10-05 10:45     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox