Skip to content

CVE-2026-22996, CVE-2026-23035: backport fix series

Artem Dinaburg linux-rdma lkml netdev stable 1 version Applied

Status from this message: Queued the series for 6.6, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2net/mlx5e: Don't store mlx5e_priv in mlx5e_dev devlink privdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c+14 -100 replies
2/2net/mlx5e: Pass netdev to mlx5e_destroy_netdev instead of privdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_rep.c+12 -90 replies

Reviews trailers per patch

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

PatchShay DroriTariq Toukan
1/2
2/2R-b R-b

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 6.6.y 0/2] CVE-2026-22996, CVE-2026-23035: backport fix series

Hi,

Please consider this backport series for CVE-2026-22996, CVE-2026-23035 to 6.6.y.

Apply the patches in this order:
1. net/mlx5e: Don't store mlx5e_priv in mlx5e_dev devlink priv (fix)
2. net/mlx5e: Pass netdev to mlx5e_destroy_netdev instead of priv (fix)

Patch 1 stores the netdev for suspend, resume and removal so cleanup survives a cleared private-state pointer. The older removal path obtains the hardware device from the auxiliary device and unregisters once:
binding follows successful registration, and the target profile changes keep that registration.

Patch 2 destroys the stored netdev without relying on priv->netdev, which profile rollback can clear. Its code changes are identical to upstream. Apply both patches after the pending 6.6.y backport of 3d5918477f94 (net/mlx5e: Fix netif state handling), which fixes registration-failure cleanup.

The complete fix is already present in 6.12.y, 6.18.y and 7.2.y.

Build-tested only as part of a cumulative 6.6.y series on x86_64 (allmodconfig, CONFIG_WERROR=y), changed objects only; no runtime testing.

An LLM assisted with preparing these backports.

Thanks,
Artem Dinaburg