netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ax25: fix NPD and UAF bugs when detaching ax25 device
@ 2022-01-28  4:47 Duoming Zhou
  2022-01-28  4:47 ` [PATCH 1/2] ax25: improve the incomplete fix to avoid UAF and NPD bugs Duoming Zhou
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Duoming Zhou @ 2022-01-28  4:47 UTC (permalink / raw)
  To: linux-hams; +Cc: jreuter, ralf, davem, kuba, netdev, linux-kernel, Duoming Zhou

There are NPD and UAF bugs when detaching ax25 device, we
use lock and refcount to mitigate these bugs.

Duoming Zhou (2):
  ax25: improve the incomplete fix to avoid UAF and NPD bugs
  ax25: add refcount in ax25_dev to avoid UAF bugs

 include/net/ax25.h    | 10 ++++++++++
 net/ax25/af_ax25.c    | 11 ++++++++---
 net/ax25/ax25_dev.c   | 12 ++++++++++--
 net/ax25/ax25_route.c |  3 +++
 4 files changed, 31 insertions(+), 5 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2022-02-01 14:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28  4:47 [PATCH 0/2] ax25: fix NPD and UAF bugs when detaching ax25 device Duoming Zhou
2022-01-28  4:47 ` [PATCH 1/2] ax25: improve the incomplete fix to avoid UAF and NPD bugs Duoming Zhou
2022-01-28  4:47 ` [PATCH 2/2] ax25: add refcount in ax25_dev to avoid UAF bugs Duoming Zhou
2022-01-31 13:22   ` Dan Carpenter
2022-02-01 14:53     ` 周多明
2022-01-31 17:37   ` Dan Carpenter
2022-02-01  6:26     ` 周多明
2022-01-28 15:10 ` [PATCH 0/2] ax25: fix NPD and UAF bugs when detaching ax25 device patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).