All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] net: tulip: add checks to avoid OOB access
@ 2020-03-03 10:47 P J P
  2020-03-03 10:47 ` [PATCH v3 1/2] net: tulip: check frame size and r/w data length P J P
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: P J P @ 2020-03-03 10:47 UTC (permalink / raw)
  To: Jason Wang
  Cc: Li Qiang, Sven Schnelle, Qemu Developers, Ziming Zhang, Prasad J Pandit

From: Prasad J Pandit <pjp@fedoraproject.org>

Hello,

* This series adds checks to avoid potential OOB access and infinite loop
  issues while processing rx/tx data.

* Tulip tx descriptors are capped at 128 to avoid infinite loop in
  tulip_xmit_list_update(), wrt Tulip kernel driver
  -> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/dec/tulip/tulip.h#n319

* Update v3: add .can_receive routine
  -> https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg06275.html

Thank you.
--
Prasad J Pandit (2):
  net: tulip: check frame size and r/w data length
  net: tulip: add .can_recieve routine

 hw/net/tulip.c | 49 ++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 40 insertions(+), 9 deletions(-)

--
2.24.1



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

end of thread, other threads:[~2020-03-19  9:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 10:47 [PATCH v3 0/2] net: tulip: add checks to avoid OOB access P J P
2020-03-03 10:47 ` [PATCH v3 1/2] net: tulip: check frame size and r/w data length P J P
2020-03-03 10:47 ` [PATCH v3 2/2] net: tulip: add .can_recieve routine P J P
2020-03-06 13:08   ` Stefan Hajnoczi
2020-03-16 18:01     ` P J P
2020-03-17  5:50       ` Jason Wang
2020-03-17 10:49         ` P J P
2020-03-18  2:07           ` Jason Wang
2020-03-19  9:58             ` P J P
2020-03-03 10:54 ` [PATCH v3 0/2] net: tulip: add checks to avoid OOB access no-reply
2020-03-05 12:16   ` P J P
2020-03-03 10:54 ` no-reply
2020-03-03 10:54 ` no-reply
2020-03-03 10:56 ` no-reply

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.