linux/fs/smb/client
Linus Torvalds 81d6f78075 seven client fixes
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEE6fsu8pdIjtWE/DpLiiy9cAdyT1EFAmn+DfMACgkQiiy9cAdy
 T1FlwQv/bOScs7kYk5M5cCUf8kvA3kHBBmXcewSXYVzEaspJFd49IOrbejh07UXR
 KmfJ4zgX3usbFNzXkmm8AKrax9ZJd8vmdey7/+ELxuBoYiyyDTATZ/VG+yDae0Cu
 zU7pZNv99LppFkkxQM+7hpBtbazRUTZu3VYprFZ+UCWPupKZs/fQm9huBzJPf2bn
 dMkojp/AAOGmhuRok3DWA1fu/BvFgslXPk4QohIfWxd0zRGVXQLRkOXvVI34bhR2
 IOLH1PohkFsajqWClEyikCaFjhW8ZpmmHVl2t+NZer/wYoq2Mp2Ad9NkILmfrWR1
 w4NSxh73emsllZpDkXYULlM9voxnjIXpvg/wPP+DA4yhuThwluJyCgsEkoInMw6X
 mLM8JiD4EMQhxKiZwtrO4gd/TshSBhm01ly0a6VwvV2p1mvW2cJH2VAZyoC+xN8d
 CabEmVnJuiwh4SPwKwsJN3bePwvjp30j1oVRspQthTQRrunyY4hkXr3z2Hpo6TNb
 tMudF/Qh
 =A8aI
 -----END PGP SIGNATURE-----

Merge tag 'v7.1-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - Fix for two ACL issues (security fix to validate dacloffset better
   and chmod fix)

 - Fix out of bounds reads (in check_wsl_eas and smb2_check_msg for
   symlinks)

 - Two Kerberos fixes including an important one when AES-256 encryption
   chosen

 - Fix open_cached_dir problem when directory leases disabled

* tag 'v7.1-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smb: client: validate dacloffset before building DACL pointers
  smb/client: fix out-of-bounds read in smb2_compound_op()
  smb/client: fix out-of-bounds read in symlink_data()
  smb: client: Zero-pad short GSS session keys per MS-SMB2
  smb: client: Use FullSessionKey for AES-256 encryption key derivation
  smb: client: use kzalloc to zero-initialize security descriptor buffer
  cifs: abort open_cached_dir if we don't request leases
2026-05-08 10:24:35 -07:00
..
compress smb: client: compress: add code docs to lz77.c 2026-04-22 09:55:52 -05:00
.gitignore smb/client: autogenerate SMB1 DOS/SRV to POSIX error mapping 2026-04-05 19:58:40 -05:00
asn1.c smb3: add support for IAKerb 2025-01-31 12:51:44 -06:00
cached_dir.c cifs: abort open_cached_dir if we don't request leases 2026-05-03 21:06:02 -05:00
cached_dir.h smb: client: fix (remove) drop_dir_cache module parameter 2026-04-22 09:54:21 -05:00
cifs_debug.c smb: client: fix (remove) drop_dir_cache module parameter 2026-04-22 09:54:21 -05:00
cifs_debug.h cifs: SMB1 split: cifs_debug.c 2026-02-08 17:07:45 -06:00
cifs_fs_sb.h smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
cifs_ioctl.h smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
cifs_spnego_negtokeninit.asn1
cifs_spnego.c smb: client: Add tracepoint for krb5 auth 2025-12-05 17:40:42 -06:00
cifs_spnego.h cifs: Scripted clean up fs/smb/client/cifs_spnego.h 2026-02-08 17:07:44 -06:00
cifs_swn.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
cifs_swn.h cifs: Scripted clean up fs/smb/client/cifs_swn.h 2026-02-08 17:07:44 -06:00
cifs_unicode.c smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
cifs_unicode.h smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
cifsacl.c smb: client: validate dacloffset before building DACL pointers 2026-05-07 14:09:36 -05:00
cifsacl.h smb: client: Correct typos in multiple comments across various files 2024-10-02 17:52:24 -05:00
cifsencrypt.c smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
cifsfs.c smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
cifsfs.h cifs: update internal module version number 2026-04-19 09:46:50 -05:00
cifsglob.h smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
cifspdu.h cifs: SMB1 split: Move BCC access functions 2026-02-08 17:07:45 -06:00
cifsproto.h smb/client: remove unused smb3_parse_opt() 2026-04-26 20:11:40 -05:00
cifsroot.c
cifssmb.c cifs: SMB1 split: connect.c 2026-02-08 17:07:46 -06:00
compress.c smb: client: compress: fix buffer overrun in lz77_compress() 2026-04-22 09:55:26 -05:00
compress.h cifs: Scripted clean up fs/smb/client/compress.h 2026-02-08 17:07:44 -06:00
connect.c smb: client: fix dir separator in SMB1 UNIX mounts 2026-04-16 23:21:00 -05:00
dfs_cache.c smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
dfs_cache.h cifs: Scripted clean up fs/smb/client/dfs_cache.h 2026-02-08 17:07:44 -06:00
dfs.c smb: client: don't trust DFSREF_STORAGE_SERVER bit 2025-02-05 21:09:00 -06:00
dfs.h Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dir.c vfs: get rid of BUG_ON() in d_mark_tmpfile_name() 2026-04-14 12:01:12 -05:00
dns_resolve.c smb: client: provide dns_resolve_{unc,name} helpers 2025-01-19 19:34:00 -06:00
dns_resolve.h cifs: Scripted clean up fs/smb/client/dns_resolve.h 2026-02-08 17:07:44 -06:00
export.c exportfs: make ->encode_fh() a mandatory method for NFS export 2023-10-28 16:15:15 +02:00
file.c smb: client: fix (remove) drop_dir_cache module parameter 2026-04-22 09:54:21 -05:00
fs_context.c smb/client: remove unused smb3_parse_opt() 2026-04-26 20:11:40 -05:00
fs_context.h smb: client: allow both 'lease' and 'nolease' mount options 2026-04-13 09:14:54 -05:00
fscache.c cifs: Remove some code that's no longer used, part 1 2024-05-01 18:08:21 +01:00
fscache.h cifs: SMB1 split: Separate out SMB1 decls into smb1proto.h 2026-02-08 17:07:45 -06:00
gen_smb1_mapping smb/client: autogenerate SMB1 DOS/SRV to POSIX error mapping 2026-04-05 19:58:40 -05:00
gen_smb2_mapping cifs: Autogenerate SMB2 error mapping table 2026-02-08 21:23:53 -06:00
inode.c Fixing livelocks in shrink_dcache_tree() 2026-04-21 07:30:44 -07:00
ioctl.c smb: client: Use FullSessionKey for AES-256 encryption key derivation 2026-05-07 14:09:01 -05:00
Kconfig 18 ksmbd server fixes 2026-04-23 17:04:18 -07:00
link.c smb: client: add support for O_TMPFILE 2026-04-10 11:25:35 -05:00
Makefile smb/client: autogenerate SMB1 DOS/SRV to POSIX error mapping 2026-04-05 19:58:40 -05:00
misc.c smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
namespace.c 13 smb3/cifs client fixes 2025-06-03 16:04:29 -07:00
netlink.c
netlink.h cifs: Scripted clean up fs/smb/client/netlink.h 2026-02-08 17:07:44 -06:00
netmisc.c cifs: SMB1 split: netmisc.c 2026-02-08 17:07:45 -06:00
nterr.h smb/client: replace nt_errs with ntstatus_to_dos_map 2026-04-05 19:58:40 -05:00
ntlmssp.h cifs: Scripted clean up fs/smb/client/ntlmssp.h 2026-02-08 17:07:45 -06:00
readdir.c smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
reparse.c smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
reparse.h smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00
rfc1002pdu.h smb: fix some warnings reported by scripts/checkpatch.pl 2025-11-30 21:11:45 -06:00
sess.c smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
smb1debug.c cifs: SMB1 split: cifs_debug.c 2026-02-08 17:07:45 -06:00
smb1encrypt.c smb: client: Compare MACs in constant time 2026-03-03 20:56:36 -06:00
smb1maperror_test.c smb: client: add missing MODULE_DESCRIPTION() to smb1maperror_test 2026-04-10 11:25:17 -05:00
smb1maperror.c smb/client: introduce KUnit tests to check DOS/SRV err mapping search 2026-04-05 19:58:40 -05:00
smb1misc.c cifs: SMB1 split: netmisc.c 2026-02-08 17:07:45 -06:00
smb1ops.c smb: client: fix dir separator in SMB1 UNIX mounts 2026-04-16 23:21:00 -05:00
smb1pdu.h smb: move file_basic_info into common/fscc.h 2026-04-12 18:07:54 -05:00
smb1proto.h smb/client: introduce KUnit tests to check DOS/SRV err mapping search 2026-04-05 19:58:40 -05:00
smb1session.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
smb1transport.c cifs: smb1: fix comment typo 2026-03-16 21:12:40 -05:00
smb2file.c smb: client: fix OOB reads parsing symlink error response 2026-04-07 15:51:39 -05:00
smb2glob.h smb/client: make SMB2 maperror KUnit tests a separate module 2026-03-01 17:59:52 -06:00
smb2inode.c smb/client: fix out-of-bounds read in smb2_compound_op() 2026-05-07 14:09:32 -05:00
smb2maperror_test.c smb/client: move smb2maperror declarations to smb2proto.h 2026-04-05 19:58:40 -05:00
smb2maperror.c smb/client: move smb2maperror declarations to smb2proto.h 2026-04-05 19:58:40 -05:00
smb2misc.c smb/client: fix out-of-bounds read in symlink_data() 2026-05-07 14:09:29 -05:00
smb2ops.c cifs: change_conf needs to be called for session setup 2026-04-29 17:26:37 -05:00
smb2pdu.c smb: client: Zero-pad short GSS session keys per MS-SMB2 2026-05-07 14:09:01 -05:00
smb2pdu.h smb: update some doc references 2026-03-01 17:59:52 -06:00
smb2proto.h smb: client: Remove obsolete cmac(aes) allocation 2026-04-22 09:56:10 -05:00
smb2transport.c smb: client: Use FullSessionKey for AES-256 encryption key derivation 2026-05-07 14:09:01 -05:00
smbdirect.c smb: smbdirect: introduce and use include/linux/smbdirect.h 2026-05-01 16:24:25 -05:00
smbdirect.h smb: smbdirect: introduce and use include/linux/smbdirect.h 2026-05-01 16:24:25 -05:00
smbencrypt.c cifs: SMB1 split: Adjust #includes 2026-02-08 17:07:45 -06:00
smberr.h smb/client: introduce KUnit tests to check DOS/SRV err mapping search 2026-04-05 19:58:40 -05:00
trace.c smb: client: Add tracepoint for krb5 auth 2025-12-05 17:40:42 -06:00
trace.h smb: client: add tracepoints for deferred handle caching 2026-04-14 13:04:21 -05:00
transport.c smb: client: fix cifs_pick_channel when channels are equally loaded 2026-02-22 16:52:50 -06:00
unc.c
winucase.c
xattr.c smb: client: use atomic_t for mnt_cifs_flags 2026-02-26 18:17:08 -06:00