mbox series

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

Message ID 20250110061639.1280907-1-chenridong@huaweicloud.com
Headers show
Series padata: fix UAF issues | expand

Message

Chen Ridong Jan. 10, 2025, 6:16 a.m. UTC
From: Chen Ridong <chenridong@huawei.com>

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(-)