Skip to content

net: microchip: Fix potential null-ptr-deref due to create_singlethread_workqueue()

Shang XiaoJing linux-arm-kernel netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c+3 -01 replyApplied
2/2net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c drivers/net/ethernet/microchip/sparx5/sparx5_main.c+6 -00 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchHoratiu Vultur
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] net: microchip: Fix potential null-ptr-deref due to create_singlethread_workqueue()

There are some functions call create_singlethread_workqueue() without checking ret value, and the NULL workqueue_struct pointer may causes null-ptr-deref. Will be fixed by this patch.

Shang XiaoJing (2):
net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()
net: microchip: sparx5: Fix potential null-ptr-deref in
sparx_stats_init() and sparx5_start()

 drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c | 3 +++
 drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c   | 3 +++
 drivers/net/ethernet/microchip/sparx5/sparx5_main.c      | 3 +++
 3 files changed, 9 insertions(+)
Signature · 1 line
2.17.1