linux/fs/smb/server
Salah Triki aa000a4ee9 smb: server: smb2pdu: check return value of xa_store()
[ Upstream commit af5226abb4 ]

xa_store() may fail so check its return value and return error code if
error occurred.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:03:10 +02:00
..
mgmt ksmbd: fix use-after-free in ksmbd_session_rpc_open 2025-05-09 09:50:34 +02:00
asn1.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
asn1.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
auth.c ksmbd: fix use-after-free in kerberos authentication 2025-05-09 09:50:35 +02:00
auth.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
connection.c ksmbd: fix use-after-free in __smb2_lease_break_noti() 2025-05-02 07:58:57 +02:00
connection.h ksmbd: fix null pointer dereference in alloc_preauth_hash() 2025-04-10 14:39:39 +02:00
crypto_ctx.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
crypto_ctx.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
glob.h ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
Kconfig ksmbd: remove experimental warning 2023-09-03 21:06:36 -05:00
ksmbd_netlink.h ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL 2025-05-02 07:58:57 +02:00
ksmbd_spnego_negtokeninit.asn1 treewide: Add SPDX identifier to IETF ASN.1 modules 2023-10-27 18:04:28 +08:00
ksmbd_spnego_negtokentarg.asn1 treewide: Add SPDX identifier to IETF ASN.1 modules 2023-10-27 18:04:28 +08:00
ksmbd_work.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
ksmbd_work.h ksmbd: fix use-after-free in ksmbd_free_work_struct 2025-03-22 12:54:24 -07:00
Makefile smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
misc.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
misc.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
ndr.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
ndr.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
nterr.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
ntlmssp.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
oplock.c ksmbd: fix memory leak in parse_lease_state() 2025-05-18 08:24:47 +02:00
oplock.h ksmbd: fix use-after-free in smb_break_all_levII_oplock() 2025-04-25 10:47:54 +02:00
server.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
server.h ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL 2025-05-02 07:58:57 +02:00
smb2misc.c smb: move SMB2 Status code to common header file 2024-09-15 10:42:44 -05:00
smb2ops.c ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1 2024-04-02 09:21:25 -05:00
smb2pdu.c smb: server: smb2pdu: check return value of xa_store() 2025-05-29 11:03:10 +02:00
smb2pdu.h ksmbd: Implement new SMB3 POSIX type 2025-01-17 13:40:47 +01:00
smb_common.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
smb_common.h ksmbd: check outstanding simultaneous SMB operations 2024-11-05 09:26:38 +09:00
smbacl.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
smbacl.h smb: common: change the data type of num_aces to le16 2025-04-10 14:39:29 +02:00
smbfsctl.h cifs: correct references in Documentation to old fs/cifs path 2023-05-24 16:29:21 -05:00
transport_ipc.c ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL 2025-05-02 07:58:57 +02:00
transport_ipc.h ksmbd: add support for supplementary groups 2024-10-11 11:02:14 -05:00
transport_rdma.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
transport_rdma.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
transport_tcp.c ksmbd: fix use-after-free in __smb2_lease_break_noti() 2025-05-02 07:58:57 +02:00
transport_tcp.h ksmbd: fix use-after-free in __smb2_lease_break_noti() 2025-05-02 07:58:57 +02:00
unicode.c ksmbd: use __GFP_RETRY_MAYFAIL 2025-05-02 07:58:56 +02:00
unicode.h fs/smb: Swing unicode common code from smb->NLS 2023-08-30 08:55:51 -05:00
vfs.c ksmbd: prevent out-of-bounds stream writes by validating *pos 2025-05-18 08:24:47 +02:00
vfs.h ksmbd: retry iterate_dir in smb2_query_dir 2025-01-09 13:33:46 +01:00
vfs_cache.c ksmbd: Fix UAF in __close_file_table_ids 2025-05-18 08:24:47 +02:00
vfs_cache.h ksmbd: fix warning: comparison of distinct pointer types lacks a cast 2024-09-20 22:16:11 -05:00
xattr.h ksmbd: Correct typos in multiple comments across various files 2024-09-25 21:33:22 -05:00