android_kernel_motorola_sm6375/fs/cifs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Anastasia Belova 04e9e5eb45 cifs: add check for returning value of SMB2_set_info_init
[ Upstream commit a51e5d293dd1c2e7bf6f7be788466cd9b5d280fb ]

If the returning value of SMB2_set_info_init is an error-value,
exit the function.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 0967e54579 ("cifs: use a compound for setting an xattr")

Signed-off-by: Anastasia Belova <[email protected]>
Signed-off-by: Steve French <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2022-11-25 17:42:16 +01:00
..
asn1.c
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:35:13 +02:00
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c CIFS: Fix a potencially linear read overflow 2021-09-15 09:47:36 +02:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: Check the IOCB_DIRECT flag, not O_DIRECT 2022-04-27 13:50:47 +02:00
cifsfs.h
cifsglob.h cifs: version operations for smb20 unneeded when legacy support disabled 2022-06-14 18:12:01 +02:00
cifspdu.h
cifsproto.h
cifsroot.c
cifssmb.c
connect.c cifs: always initialize struct msghdr smb_msg completely 2022-09-28 11:04:08 +02:00
dfs_cache.c
dfs_cache.h
dir.c cifs: report error instead of invalid when revalidating a dentry fails 2021-02-10 09:25:30 +01:00
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: destage dirty pages before re-reading them for cache=none 2022-10-26 13:22:11 +02:00
fscache.c
fscache.h
inode.c
ioctl.c cifs: Fix wrong return value checking when GETFLAGS 2022-11-25 17:42:16 +01:00
Kconfig
link.c cifs: potential buffer overflow in handling symlinks 2022-04-20 09:19:36 +02:00
Makefile
misc.c
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c cifs: fix wrong release in sess_alloc_buffer() failed path 2021-09-22 12:26:35 +02:00
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c cifs: Silently ignore unknown oplock break handle 2021-04-10 13:34:31 +02:00
smb2ops.c cifs: add check for returning value of SMB2_set_info_init 2022-11-25 17:42:16 +01:00
smb2pdu.c cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message 2022-10-26 13:22:12 +02:00
smb2pdu.h smb3: Fix out-of-bounds bug in SMB2_negotiate() 2021-02-10 09:25:30 +01:00
smb2proto.h smb3: remove unused flag passed into close functions 2021-01-19 18:26:13 +01:00
smb2status.h
smb2transport.c
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: always initialize struct msghdr smb_msg completely 2022-09-28 11:04:08 +02:00
winucase.c
xattr.c