[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230516141619.2160800-1-chengzhihao1@huawei.com>
Date: Tue, 16 May 2023 22:16:16 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: <miklos@...redi.hu>, <brauner@...nel.org>, <amir73il@...il.com>
CC: <linux-unionfs@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v3 0/3] ovl: Fix null ptr dereference at realinode in rcu-walk
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
Powered by blists - more mailing lists