Skip to content

Try to backport patch to fix CVE-2021-47247 on 5.10

Xiangyu Chen stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1net/mlx5e: Fix use-after-free of encap entry in neigh update handlerdrivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +1 more+40 -171 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchRoi Dayan
1/1R-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 5.10.y 0/1] Try to backport patch to fix CVE-2021-47247 on 5.10

From: Xiangyu Chen <[email protected]>

Try to backport commit fb1a3132ee1a ("net/mlx5e: Fix use-after-free of encap entry in neigh update handler") to linux 5.10.y branch to fix CVE-2021-47247.

This commit modified the orginal commit due to kernel 5.10 doesn't have the commit 0d9f96471493 ("net/mlx5e: Extract tc tunnel encap/decap code to dedicated file") which moved encap/decap from en_tc.c to tc_tun_encap.c, so backport and move the additional functions to en_tc.c instead of tc_tun_encap.c

Vlad Buslov (1):
net/mlx5e: Fix use-after-free of encap entry in neigh update handler

 .../mellanox/mlx5/core/en/rep/neigh.c         | 15 ++++-----
 .../ethernet/mellanox/mlx5/core/en/rep/tc.c   |  6 +---
 .../net/ethernet/mellanox/mlx5/core/en_tc.c   | 33 +++++++++++++++++--
 .../net/ethernet/mellanox/mlx5/core/en_tc.h   |  3 ++
 4 files changed, 40 insertions(+), 17 deletions(-)
Signature · 1 line
2.25.1