Skip to content

Fix use-after-free and deadlock issues

Xiaochen Shen lkml stable 1 version Applied

Status from this message: The following commit has been merged into the x86/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4x86/resctrl: Fix use-after-free when deleting resource groupsarch/x86/kernel/cpu/resctrl/rdtgroup.c+10 -21 reply
2/4x86/resctrl: Fix use-after-free due to inaccurate refcount of rdtgrouparch/x86/kernel/cpu/resctrl/rdtgroup.c+2 -21 reply
3/4x86/resctrl: Fix a deadlock due to inaccurate active reference of kernfs nodearch/x86/kernel/cpu/resctrl/rdtgroup.c+8 -82 replies
4/4x86/resctrl: Clean up unused function parameter in mkdir patharch/x86/kernel/cpu/resctrl/rdtgroup.c+5 -110 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchReinette ChatreTony LuckThomas Gleixner
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b A-b A-b A-b A-b A-b A-b
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

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 0/4] Fix use-after-free and deadlock issues

Fix several use-after-free and deadlock issues:
(1) Fix use-after-free when deleting resource groups.
(2) Fix use-after-free due to inaccurate refcount of rdtgroup.
(3) Fix a deadlock due to inaccurate active reference of kernfs node.
(4) Follow-up cleanup for the change in previous patch.

Xiaochen Shen (4):
x86/resctrl: Fix use-after-free when deleting resource groups x86/resctrl: Fix use-after-free due to inaccurate refcount of rdtgroup x86/resctrl: Fix a deadlock due to inaccurate active reference of
kernfs node
x86/resctrl: Clean up unused function parameter in mkdir path

 arch/x86/kernel/cpu/resctrl/rdtgroup.c | 48 ++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 23 deletions(-)
Signature · 1 line
1.8.3.1