linux/fs/smb/server
Marios Makassikis ed3fb2e2fe ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
[ Upstream commit 34cd86b663 ]

Use vfs_getattr() to retrieve stat information, rather than make
assumptions about how a filesystem fills inode structs.

Cc: stable@vger.kernel.org
Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-04-03 15:28:31 +02:00
..
mgmt ksmbd: Remove unused field in ksmbd_user struct 2024-01-05 15:19:37 +01:00
asn1.c ksmbd: validate mech token in session setup 2024-01-25 15:35:44 -08: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 slub overflow in ksmbd_decode_ntlmssp_auth_blob() 2023-08-29 12:30:20 -05: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: Add missing set_freezable() for freezable kthread 2024-01-31 16:18:58 -08:00
connection.h ksmbd: fix UAF issue in ksmbd_tcp_new_connection() 2024-01-25 15:35:44 -08:00
crypto_ctx.c smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05: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 smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
Kconfig ksmbd: remove experimental warning 2023-09-03 21:06:36 -05:00
ksmbd_netlink.h ksmbd: fix global oob in ksmbd_nl_policy 2024-01-31 16:19:07 -08:00
ksmbd_spnego_negtokeninit.asn1 smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
ksmbd_spnego_negtokentarg.asn1 smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
ksmbd_work.c ksmbd: release interim response after sending status pending response 2024-01-05 15:19:39 +01:00
ksmbd_work.h ksmbd: fix wrong interim response on compound 2023-08-29 12:30:19 -05:00
Makefile smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
misc.c smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
misc.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
ndr.c smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05: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: send lease break notification on FILE_RENAME_INFORMATION 2024-01-31 16:18:58 -08:00
oplock.h ksmbd: lazy v2 lease break on smb2_write() 2024-01-05 15:19:40 +01:00
server.c ksmbd: fix race condition between tree conn lookup and disconnect 2023-10-04 21:56:28 -05:00
server.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
smb2misc.c ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() 2024-01-05 15:19:42 +01:00
smb2ops.c ksmbd: set v2 lease capability 2024-01-05 15:19:39 +01:00
smb2pdu.c ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info 2024-04-03 15:28:31 +02:00
smb2pdu.h ksmbd: replace one-element array with flex-array member in struct smb2_ea_info 2023-08-29 12:30:20 -05:00
smb_common.c ksmbd: replace generic_fillattr with vfs_getattr 2024-04-03 15:28:31 +02:00
smb_common.h ksmbd: fix out of bounds in init_smb2_rsp_hdr() 2023-07-23 10:25:11 -05:00
smbacl.c ksmbd: free ppace array on error in parse_dacl 2024-01-20 11:51:48 +01:00
smbacl.h ksmbd: fix possible deadlock in smb2_open 2023-12-08 08:52:15 +01:00
smbfsctl.h cifs: correct references in Documentation to old fs/cifs path 2023-05-24 16:29:21 -05:00
smbstatus.h cifs: correct references in Documentation to old fs/cifs path 2023-05-24 16:29:21 -05:00
transport_ipc.c ksmbd: fix global oob in ksmbd_nl_policy 2024-01-31 16:19:07 -08:00
transport_ipc.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
transport_rdma.c ksmbd: fix UAF issue in ksmbd_tcp_new_connection() 2024-01-25 15:35:44 -08: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 UAF issue in ksmbd_tcp_new_connection() 2024-01-25 15:35:44 -08:00
transport_tcp.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
unicode.c ksmbd: add support for surrogate pair conversion 2024-01-05 15:19:38 +01:00
unicode.h fs/smb: Swing unicode common code from smb->NLS 2023-08-30 08:55:51 -05:00
vfs.c ksmbd: replace generic_fillattr with vfs_getattr 2024-04-03 15:28:31 +02:00
vfs.h ksmbd: fix possible deadlock in smb2_open 2023-12-08 08:52:15 +01:00
vfs_cache.c ksmbd: send v2 lease break notification for directory 2024-01-05 15:19:40 +01:00
vfs_cache.h ksmbd: lazy v2 lease break on smb2_write() 2024-01-05 15:19:40 +01:00
xattr.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00