[PATCH v3 0/3] ovl: Fix null ptr dereference at realinode in rcu-walk

From: Zhihao Cheng
Date: Tue May 16 2023 - 10:19:47 EST


v1->v2:
Extract a helper to get realpath and real inode from ovl inode.
Get realinode from realpath in do_ovl_get_acl().
v2->v3:
Modify original helper ovl_i_path_real() to return the realinode.

Zhihao Cheng (3):
ovl: Let helper ovl_i_path_real() return the realinode
ovl: ovl_permission: Fix null pointer dereference at realinode in
rcu-walk mode
ovl: get_acl: Fix null pointer dereference at realinode in rcu-walk
mode

fs/overlayfs/inode.c | 17 ++++++++---------
fs/overlayfs/overlayfs.h | 2 +-
fs/overlayfs/util.c | 7 ++++---
3 files changed, 13 insertions(+), 13 deletions(-)

--
2.39.2