summaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-07-17 08:37:40 +0900
committerSteve French <stfrench@microsoft.com>2023-07-23 10:25:11 -0500
commit2b57a4322b1b14348940744fdc02f9a86cbbdbeb (patch)
tree4a2e6816c749b031393636fe31091f4c17c76173 /net/unix/af_unix.c
parent0266a2f791294e0b4ba36f4a1d89b8615ea3cac0 (diff)
downloadlinux-2b57a4322b1b14348940744fdc02f9a86cbbdbeb.tar.gz
linux-2b57a4322b1b14348940744fdc02f9a86cbbdbeb.tar.bz2
linux-2b57a4322b1b14348940744fdc02f9a86cbbdbeb.zip
ksmbd: check if a mount point is crossed during path lookup
Since commit 74d7970febf7 ("ksmbd: fix racy issue from using ->d_parent and ->d_name"), ksmbd can not lookup cross mount points. If last component is a cross mount point during path lookup, check if it is crossed to follow it down. And allow path lookup to cross a mount point when a crossmnt parameter is set to 'yes' in smb.conf. Cc: stable@vger.kernel.org Fixes: 74d7970febf7 ("ksmbd: fix racy issue from using ->d_parent and ->d_name") Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions