mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] smb client fixes for 7.3-rc1
@ 2026-08-24 22:06 Paulo Alcantara
  2026-08-25  1:27 ` Linus Torvalds
  2026-08-25 19:51 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Paulo Alcantara @ 2026-08-24 22:06 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-cifs

Hi Linus,

Due to the sudden degradation of Steve French's health, I've inherited
a collection of cifs fixes that I'm not sure whether to send you
immediately or soak in linux-next for a week first.  What approach
would you prefer?  Attached is a pull request for the patches if you
are willing to take them immediately.

Thanks,
Paulo

----------------------------------------------------------------
The following changes since commit db2ddb87143519e20a95aa36c60b36107b736a58:

  Linux 7.2-rc7 (2026-08-09 14:54:50 -0700)

are available in the Git repository at:

  https://git.manguebit.org/linux.git tags/cifs-fixes-7.3-rc1

for you to fetch changes up to 6c322f5cf7476ded7a9a20f7be72462065a03c68:

  cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0 (2026-08-24 17:08:53 -0300)

----------------------------------------------------------------
There are thirty-three client fixes:

- five sensitive data leak fixes (clear stack and heap cryptographic
  keys/hashes)
- six file size and cache synchronization fixes (fscache cookie
  serialization and truncation handling)
- seven protocol validation and buffer safety fixes (prevent OOB
  access and loff_t underflow)
- six metadata and POSIX attribute fixes (proper hard-link counts and
  setuid/setgid stripping)
- three DFS cache and unmount fixes (prevent target-hint UAF and
  unmount hangs)
- six general client improvements (fix read request leaks, stats
  loops, handle servers that don't support O_TMPFILE)

----------------------------------------------------------------
Bryam Vargas (2):
      smb: client: restore the data_offset bound in is_valid_oplock_break()
      smb: client: reject a tree connect response whose byte count is too small

ChenXiaoSong (2):
      smb/client: return EOPNOTSUPP for unsupported O_TMPFILE
      smb/client: fix nlink of an overwritten open file

Christopher Lusk (2):
      smb: client: fix request buffer leak in smb2_new_read_req()
      smb: client: set replay flag on the read send-error retry path

Dmitry Antipov (1):
      smb: client: simplify __build_path_from_dentry_optional_prefix()

Frank Sorenson (13):
      cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC
      cifs: add cifs_resize_file_locked() to guard fscache_resize_cookie() under i_rwsem
      cifs: remove redundant size-update block in cifs_remap_file_range()
      cifs: remove dead size-update blocks in cifs_setattr_unix/nounix
      cifs: fix clearing stats for fastest execution of each smb2 command
      smb: client: fix OOB read/write from unvalidated DataOffset in coalesce_t2()
      smb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2
      smb: client: fix ALIGN() overflow in symlink_data() error context loop
      smb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()
      cifs: clear tcon after cifsFileInfo_put() in cifs_file_set_size()
      smb: client: fix copy-paste error in WSL EA length accounting for $LXDEV
      cifs: call pagecache_isize_extended() in cifs_setsize() when extending
      cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0

Fredric Cover (2):
      smb: client: harden DFS cache against invalid target hints
      smb: client: clear ce->tgthint in free_tgts()

Jiangshan Yi (1):
      smb: client: clear setuid/setgid bit on write with cifsacl/modefromsid/posix extensions

Mohammad Shahid (1):
      smb: client: remove redundant NULL check before kfree()

Thomas Huth (5):
      smb: client: Clear sensitive stack data in smb2transport.c
      smb: client: Clear sensitive stack and heap data in smb2ops.c
      smb: client: Clear sensitive stack data in cifsencrypt.c
      smb: client: Clear sensitive stack data in smb1encrypt.c
      smb: client: Avoid leaking sensitive data to the heap in connect.c

Ze Tan (3):
      smb/client: mark missing nlink values as unknown
      smb/client: preserve open info type across compound queries
      smb/client: decode reparse metadata using its payload type

Zizhi Wo (1):
      Revert "cifs: remove all cifs files before kill super"

 fs/smb/client/cifs_debug.c    |  2 +-
 fs/smb/client/cifsencrypt.c   | 12 ++++--
 fs/smb/client/cifsfs.c        | 21 ++++++----
 fs/smb/client/cifsfs.h        |  1 +
 fs/smb/client/cifssmb.c       |  6 +++
 fs/smb/client/connect.c       |  5 +--
 fs/smb/client/dfs_cache.c     | 33 ++++++++++++----
 fs/smb/client/dir.c           |  8 ++--
 fs/smb/client/file.c          |  1 +
 fs/smb/client/inode.c         | 90 +++++++++++++++++++++++++++----------------
 fs/smb/client/ioctl.c         |  3 +-
 fs/smb/client/reparse.h       | 17 ++++----
 fs/smb/client/smb1encrypt.c   | 19 +++++----
 fs/smb/client/smb1misc.c      |  3 +-
 fs/smb/client/smb1ops.c       | 10 ++++-
 fs/smb/client/smb1transport.c | 35 +++++++++++++++--
 fs/smb/client/smb2file.c      |  5 ++-
 fs/smb/client/smb2inode.c     | 22 +++++++----
 fs/smb/client/smb2ops.c       | 13 +++----
 fs/smb/client/smb2pdu.c       | 18 +++++++--
 fs/smb/client/smb2transport.c |  4 ++
 fs/smb/client/trace.h         |  3 +-
 22 files changed, 223 insertions(+), 108 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-25 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24 22:06 [GIT PULL] smb client fixes for 7.3-rc1 Paulo Alcantara
2026-08-25  1:27 ` Linus Torvalds
2026-08-25  1:42   ` Paulo Alcantara
2026-08-25 19:51 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®