All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/1] linkwatch use-after-free fix
@ 2022-06-12  9:07 Lukas Wunner
  2022-06-12  9:08 ` [PATCH net-next v2 1/1] net: linkwatch: ignore events for unregistered netdevs Lukas Wunner
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wunner @ 2022-06-12  9:07 UTC (permalink / raw)
  To: Oliver Neukum, David S. Miller, Jakub Kicinski, Paolo Abeni,
	Jann Horn, Oleksij Rempel, Oleksij Rempel, Eric Dumazet
  Cc: netdev, linux-usb, Andrew Lunn, Jacky Chou, Willy Tarreau,
	Lino Sanfilippo, Philipp Rosenberger, Heiner Kallweit

Discussion on v1 of this patch fizzled out in April without it being applied:

https://lore.kernel.org/netdev/18b3541e5372bc9b9fc733d422f4e698c089077c.1650177997.git.lukas@wunner.de/#r

This is a vulnerability, we can't just ignore it.  Paolo Abeni asked
me to explore whether the issue can be fixed in USB Ethernet drivers
instead of core networking code.  I've done that and presented a patch,
but consider it an inferior approach.

I'm explaining why in the updated commit message of this patch and
I'm rebasing it on net-next.  Otherwise it's the same as v1,  I still
believe that this is the best solution to the problem.

Thanks!

Lukas Wunner (1):
  net: linkwatch: ignore events for unregistered netdevs

 net/core/dev.c        | 17 -----------------
 net/core/dev.h        |  1 -
 net/core/link_watch.c | 10 ++--------
 3 files changed, 2 insertions(+), 26 deletions(-)

-- 
2.35.2


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

end of thread, other threads:[~2022-06-12  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-12  9:07 [PATCH net-next v2 0/1] linkwatch use-after-free fix Lukas Wunner
2022-06-12  9:08 ` [PATCH net-next v2 1/1] net: linkwatch: ignore events for unregistered netdevs Lukas Wunner

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.