[PATCH v2 0/3] padata: fix UAF issues

From: Chen Ridong
Date: Fri Jan 10 2025 - 01:27:42 EST


From: Chen Ridong <chenridong@xxxxxxxxxx>

Fix UAF issues for padata.

---
v1->v2:
- use synchronize_rcu to fix UAF for padata_reorder.
- add patch to avoid UAF for 'reorder_work'

Chen Ridong (3):
padata: add pd get/put refcnt helper
padata: fix UAF in padata_reorder
padata: avoid UAF for reorder_work

kernel/padata.c | 43 +++++++++++++++++++++++++++++++++++--------
1 file changed, 35 insertions(+), 8 deletions(-)

--
2.34.1