linux/fs/ksmbd
Dan Carpenter 3fd8473d73 ksmbd: Unlock on in ksmbd_tcp_set_interfaces()
[ Upstream commit 844436e045 ]

Unlock before returning an error code if this allocation fails.

Fixes: 0626e6641f ("cifsd: add server handler for central processing and tranport layers")
Cc: stable@vger.kernel.org # v5.15+
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:07:51 +02:00
..
mgmt ksmbd: ignore trailing slashes in share paths 2024-07-05 09:14:37 +02:00
asn1.c ksmbd: validate mech token in session setup 2024-02-23 08:54:19 +01:00
asn1.h
auth.c ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob() 2023-12-23 10:41:58 +01:00
auth.h ksmbd: fix encryption failure issue for session logoff response 2023-12-23 10:41:53 +01:00
connection.c ksmbd: Add missing set_freezable() for freezable kthread 2024-02-23 08:54:27 +01:00
connection.h ksmbd: fix UAF issue in ksmbd_tcp_new_connection() 2024-02-23 08:54:19 +01:00
crypto_ctx.c
crypto_ctx.h
glob.h
Kconfig ksmbd: remove experimental warning 2023-12-23 10:41:58 +01:00
ksmbd_netlink.h ksmbd: validate payload size in ipc response 2024-04-27 17:05:22 +02:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c ksmbd: release interim response after sending status pending response 2023-12-23 10:42:00 +01:00
ksmbd_work.h ksmbd: fix wrong interim response on compound 2023-12-23 10:41:57 +01:00
Makefile
misc.c ksmbd: validate share name from share config response 2023-12-23 10:41:53 +01:00
misc.h ksmbd: validate share name from share config response 2023-12-23 10:41:53 +01:00
ndr.c ksmbd: downgrade ndr version error message to debug 2023-02-01 08:27:24 +01:00
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: send lease break notification on FILE_RENAME_INFORMATION 2024-02-23 08:54:26 +01:00
oplock.h ksmbd: lazy v2 lease break on smb2_write() 2024-01-05 15:13:36 +01:00
server.c ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf 2024-05-17 11:50:44 +02:00
server.h ksmbd: add max connections parameter 2023-02-01 08:27:24 +01:00
smb2misc.c ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() 2024-01-05 15:13:39 +01:00
smb2ops.c ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1 2024-04-27 17:05:22 +02:00
smb2pdu.c ksmbd: unset the binding mark of a reused connection 2024-09-12 11:07:51 +02:00
smb2pdu.h ksmbd: send v2 lease break notification for directory 2024-01-05 15:13:36 +01:00
smb_common.c ksmbd: validate the zero field of packet header 2024-01-25 14:52:46 -08:00
smb_common.h ksmbd: fix out of bounds in init_smb2_rsp_hdr() 2023-12-23 10:41:57 +01:00
smbacl.c ksmbd: free ppace array on error in parse_dacl 2024-02-23 08:54:18 +01:00
smbacl.h ksmbd: fix possible deadlock in smb2_open 2023-12-23 10:41:59 +01:00
smbfsctl.h
smbstatus.h
transport_ipc.c ksmbd: validate payload size in ipc response 2024-04-27 17:05:22 +02:00
transport_ipc.h
transport_rdma.c ksmbd: fix UAF issue in ksmbd_tcp_new_connection() 2024-02-23 08:54:19 +01:00
transport_rdma.h ksmbd: fix wrong smbd max read/write size check 2023-12-23 10:41:51 +01:00
transport_tcp.c ksmbd: Unlock on in ksmbd_tcp_set_interfaces() 2024-09-12 11:07:51 +02:00
transport_tcp.h
unicode.c ksmbd: add support for surrogate pair conversion 2023-12-23 10:41:59 +01:00
unicode.h ksmbd: casefold utf-8 share names and fix ascii lowercase conversion 2023-12-23 10:41:52 +01:00
uniupr.h
vfs_cache.c ksmbd: send v2 lease break notification for directory 2024-01-05 15:13:36 +01:00
vfs_cache.h ksmbd: lazy v2 lease break on smb2_write() 2024-01-05 15:13:36 +01:00
vfs.c ksmbd: clear RENAME_NOREPLACE before calling vfs_rename 2024-05-17 11:50:44 +02:00
vfs.h ksmbd: fix possible deadlock in smb2_open 2023-12-23 10:41:59 +01:00
xattr.h