diff options
| author | 2023-07-17 08:37:40 +0900 | |
|---|---|---|
| committer | 2023-07-23 10:25:11 -0500 | |
| commit | 2b57a4322b1b14348940744fdc02f9a86cbbdbeb (patch) | |
| tree | 4a2e6816c749b031393636fe31091f4c17c76173 /security/integrity/git:/ssh:/git@git.zx2c4.com | |
| parent | ksmbd: Fix unsigned expression compared with zero (diff) | |
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 'security/integrity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
