Netdev List
 help / color / mirror / Atom feed
* [PATCH net v2 0/6] tipc: fix deadlock and NUll pointer dereference in tipc_named_node_up()
@ 2026-11-02  3:40 Tung Nguyen
  2026-11-02  3:40 ` [PATCH net v2 1/6] tipc: fix memory leak in tipc_node_xmit() Tung Nguyen
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Tung Nguyen @ 2026-11-02  3:40 UTC (permalink / raw)
  To: netdev
  Cc: davem, kuba, edumazet, pabeni, jmaloy, horms, tipc-discussion,
	Tung Nguyen

Patch 1 fixes a memory leak in tipc_node_xmit().

Patch 2 fixes a dangling link in the cluster_scope list during network
namespace teardown.

Patch 3 fixes incorrect initialization of the replicast node counter.

Patch 4 fixes a missing link-up event when memory allocation fails.

Patch 5 fixes a self-deadlock when inspecting tipc_named_node_up().

Patch 6 fixes a NULL pointer dereference caused by a race between the
tipc_net_finalize work and tipc_named_node_up(). This issue was
also reported by syzbot.

Changes in v2:
- Add patches 1–4 to fix pre-existing issues discovered while reviewing
  patch 6.
- Patch 5: Correct the bearer id that needs to be reset.
- Patch 6: Set node->dist_bulk to true when the node comes up, and
  remove an unnecessary publication insertion in tipc_update_nametbl().

Tung Nguyen (6):
  tipc: fix memory leak in tipc_node_xmit()
  tipc: fix dangling link in cluster_scope list in tipc_service_delete()
  tipc: fix incorrect initialization of replicast node counter
  tipc: fix missing link-up event on memory allocation failure
  tipc: fix self-deadlock in tipc_named_node_up
  tipc: fix NULL pointer dereference in named_distribute()

 net/tipc/core.c       |   1 +
 net/tipc/core.h       |   2 +
 net/tipc/name_distr.c | 124 +++++++++++++++++++++----
 net/tipc/name_distr.h |   4 +-
 net/tipc/name_table.c | 133 +++++++++++++++++++++++----
 net/tipc/name_table.h |  11 ++-
 net/tipc/net.c        |  19 +++-
 net/tipc/node.c       | 208 +++++++++++++++++++++++++++++++++---------
 net/tipc/node.h       |   3 +
 net/tipc/socket.c     |   2 +-
 10 files changed, 421 insertions(+), 86 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-11-02 15:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-02  3:40 [PATCH net v2 0/6] tipc: fix deadlock and NUll pointer dereference in tipc_named_node_up() Tung Nguyen
2026-11-02  3:40 ` [PATCH net v2 1/6] tipc: fix memory leak in tipc_node_xmit() Tung Nguyen
2026-11-02  3:40 ` [PATCH net v2 2/6] tipc: fix dangling link in cluster_scope list in tipc_service_delete() Tung Nguyen
2026-11-02  3:40 ` [PATCH net v2 3/6] tipc: fix incorrect initialization of replicast node counter Tung Nguyen
2026-11-02  3:40 ` [PATCH net v2 4/6] tipc: fix missing link-up event on memory allocation failure Tung Nguyen
2026-11-02  3:40 ` [PATCH net v2 5/6] tipc: fix self-deadlock in tipc_named_node_up Tung Nguyen
2026-11-02  3:40 ` [PATCH net v2 6/6] tipc: fix NULL pointer dereference in named_distribute() Tung Nguyen
2026-11-02 15:32   ` kernel test robot

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