Skip to content

backport add and use mode_strip_sgid in vfs_*() helpers

Mahmoud Adam linux-nfs oe-kbuild-all stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs: add mode_strip_sgid() helperfs/inode.c include/linux/fs.h+31 -40 replies
2/2fs: move S_ISGID stripping into the vfs_*() helpersfs/inode.c fs/namei.c fs/ocfs2/namei.c+70 -172 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDarrick J. WongChristian Brauner (Microsoft)Jeff Layton
1/2R-b R-b Reviewed-and-Tested-by
2/2R-b Reviewed-and-Tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 5.4 0/2] backport add and use mode_strip_sgid in vfs_*() helpers

These patches are a follow up fixes for CVE-2021-4037 & CVE-2018-13405, LTP test creat09.c & openat04.c reproduces the privilege escalation in v5.4, the two patches solves this and they are already backported to the other stable kernels.