mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tipc: fix topology server teardown
@ 2026-10-04 21:00 Jérémy Jean
  2026-10-04 21:00 ` [PATCH v2 1/2] tipc: skip socketless connections in topsrv teardown Jérémy Jean
  2026-10-04 21:00 ` [PATCH v2 2/2] tipc: fix use-after-free in netns teardown Jérémy Jean
  0 siblings, 2 replies; 7+ messages in thread
From: Jérémy Jean @ 2026-10-04 21:00 UTC (permalink / raw)
  To: Tung Quang Nguyen, Jon Maloy
  Cc: netdev, tipc-discussion, linux-kernel, Jérémy Jean

This series fixes a connection UAF and a NULL-socket dereference during
topology-server teardown.

Changes since v1, addressing Sashiko's review:
- Add guard to con->sock to fix NULL dereference.
- Walk forward through conn_idr before draining the workqueues.

v1: https://lore.kernel.org/all/20261003192530.2414682-2-Jeremy.Jean@oss.cyber.gouv.fr/

Jérémy Jean (2):
  tipc: skip socketless connections in topsrv teardown
  tipc: fix use-after-free in netns teardown

 net/tipc/topsrv.c | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

-- 
2.47.3

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

end of thread, other threads:[~2026-10-05 21:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-04 21:00 [PATCH v2 0/2] tipc: fix topology server teardown Jérémy Jean
2026-10-04 21:00 ` [PATCH v2 1/2] tipc: skip socketless connections in topsrv teardown Jérémy Jean
2026-10-05  1:45   ` Tung Quang Nguyen
2026-10-05 21:03   ` netdev-bot+sashiko
2026-10-04 21:00 ` [PATCH v2 2/2] tipc: fix use-after-free in netns teardown Jérémy Jean
2026-10-05  1:45   ` Tung Quang Nguyen
2026-10-05 21:03   ` netdev-bot+sashiko

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

all inboxes | Powered by JetHome®