android_kernel_motorola_sm6375/fs/cifs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan Metzmacher 8c8d0f7ac8 cifs: always initialize struct msghdr smb_msg completely
[ Upstream commit bedc8f76b3539ac4f952114b316bcc2251e808ce ]

So far we were just lucky because the uninitialized members
of struct msghdr are not used by default on a SOCK_STREAM tcp
socket.

But as new things like msg_ubuf and sg_from_iter where added
recently, we should play on the safe side and avoid potention
problems in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Cc: stable@vger.kernel.org
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-28 11:04:08 +02: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 cifs: fix a memleak with modefromsid 2020-12-02 08:49:45 +01:00
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: revalidate mapping when doing direct writes 2022-09-28 11:03:57 +02:00
fscache.c
fscache.h
inode.c
ioctl.c
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 smb3: missing inode locks in punch hole 2022-09-15 12:04:54 +02:00
smb2pdu.c cifs: return errors during session setup during reconnects 2022-06-14 18:12:02 +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