linux_dsm_epyc7002/fs/cifs
Shyam Prasad N f98f1ce514 cifs: create sd context must be a multiple of 8
commit 7d3fc01796fc895e5fcce45c994c5a8db8120a8d upstream.

We used to follow the rule earlier that the create SD context
always be a multiple of 8. However, with the change:
cifs: refactor create_sd_buf() and and avoid corrupting the buffer
...we recompute the length, and we failed that rule.
Fixing that with this change.

Cc: <stable@vger.kernel.org> # v5.10+
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 18:53:59 +02:00
..
asn1.c cifs: remove bogus debug code 2020-10-22 12:17:52 -05:00
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c cifs: prevent NULL deref in cifs_compose_mount_options() 2021-07-25 14:36:17 +02:00
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c Convert trailing spaces and periods in path components 2020-10-11 23:57:18 -05:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c cifs: fix a memleak with modefromsid 2020-11-15 23:05:33 -06:00
cifsacl.h
cifsencrypt.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
cifsfs.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
cifsfs.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
cifsglob.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
cifspdu.h cifs: Adjust key sizes and key generation routines for AES256 encryption 2021-03-30 14:32:07 +02:00
cifsproto.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
cifsroot.c
cifssmb.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
connect.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
dfs_cache.c cifs: check pointer before freeing 2021-01-19 18:27:19 +01:00
dfs_cache.h
dir.c cifs: report error instead of invalid when revalidating a dentry fails 2021-02-10 09:29:17 +01:00
dns_resolve.c
dns_resolve.h
export.c
file.c SMB3: fix readpage for large swap cache 2024-07-05 18:06:15 +02:00
fs_context.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
fs_context.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
fscache.c
fscache.h
inode.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
ioctl.c
Kconfig
link.c
Makefile init: add dsm gpl source 2024-07-05 18:00:04 +02:00
misc.c Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
rfc1002pdu.h
sess.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
smb1ops.c
smb2file.c
smb2glob.h cifs: Adjust key sizes and key generation routines for AES256 encryption 2021-03-30 14:32:07 +02:00
smb2inode.c cifs: do not send close in compound create+close requests 2021-03-17 17:06:28 +01:00
smb2maperror.c cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES 2020-10-15 23:58:14 -05:00
smb2misc.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
smb2ops.c smb3: rc uninitialized in one fallocate path 2024-07-05 18:52:32 +02:00
smb2pdu.c cifs: create sd context must be a multiple of 8 2024-07-05 18:53:59 +02:00
smb2pdu.h smb3: Fix out-of-bounds bug in SMB2_negotiate() 2021-02-10 09:29:17 +01:00
smb2proto.h init: add dsm gpl source 2024-07-05 18:00:04 +02:00
smb2status.h
smb2transport.c cifs: Adjust key sizes and key generation routines for AES256 encryption 2021-03-30 14:32:07 +02:00
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h smb3: add some missing definitions from MS-FSCC 2020-10-23 15:38:10 -05:00
synoops.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
trace.c
trace.h smb3: add dynamic trace point to trace when credits obtained 2020-10-20 11:50:42 -05:00
transport.c init: add dsm gpl source 2024-07-05 18:00:04 +02:00
winucase.c
xattr.c