linux/fs/smb/server
Namjae Jeon 6fe55c2799 ksmbd: call putname after using the last component
last component point filename struct. Currently putname is called after
vfs_path_parent_lookup(). And then last component is used for
lookup_one_qstr_excl(). name in last component is freed by previous
calling putname(). And It cause file lookup failure when testing
generic/464 test of xfstest.

Fixes: 74d7970feb ("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>
2023-05-26 20:27:46 -05:00
..
mgmt
asn1.c
asn1.h
auth.c
auth.h
connection.c
connection.h
crypto_ctx.c
crypto_ctx.h
glob.h
Kconfig
ksmbd_netlink.h
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c
ksmbd_work.h
Makefile
misc.c
misc.h
ndr.c
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: fix UAF issue from opinfo->conn 2023-05-26 20:27:46 -05:00
oplock.h
server.c
server.h
smb2misc.c
smb2ops.c
smb2pdu.c ksmbd: fix incorrect AllocationSize set in smb2_get_info 2023-05-26 20:27:46 -05:00
smb2pdu.h
smb_common.c
smb_common.h
smbacl.c
smbacl.h
smbfsctl.h
smbstatus.h
transport_ipc.c
transport_ipc.h
transport_rdma.c
transport_rdma.h
transport_tcp.c
transport_tcp.h
unicode.c
unicode.h
uniupr.h
vfs_cache.c
vfs_cache.h
vfs.c ksmbd: call putname after using the last component 2023-05-26 20:27:46 -05:00
vfs.h
xattr.h