mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] smb client fixes for 7.4-rc5
@ 2026-11-28 20:11 Paulo Alcantara
  2026-11-28 22:06 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Paulo Alcantara @ 2026-11-28 20:11 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-cifs, linux-kernel

Linus,

Please consider pulling these smb client fixes for v7.4-rc5.  They fix
DFS paths in non-utf8 charsets being corrupted on mount and reconnect,
a use-after-free of the server in the reconnect worker, and byte-order
bugs on big-endian systems.  All of them are for stable.

Thanks,
Paulo

----------------------------------------------------------------
The following changes since commit 62b13f41be6284250c06ab4d79a7fb13fe93f4d7:

  Merge tag 'cifs-fixes-7.4-rc4' of https://git.manguebit.org/linux (2026-11-21 15:23:44 -0800)

are available in the Git repository at:

  https://git.manguebit.org/linux.git tags/cifs-fixes-7.4-rc5

for you to fetch changes up to 61c581ea62ee3dcf348b5ba30448b993cf1c1c74:

  smb: client: unlock reconnect_mutex before putting session on terminate (2026-11-25 20:33:37 -0300)

----------------------------------------------------------------
smb client fixes for v7.4-rc5

 - Fix cifs_sb->prepath being overwritten with UTF-8 bytes when a DFS
   link is reconnected on a mount with a non-utf8 iocharset, which made
   lookups fail with -ENOENT

 - Fix the DFS target node name being copied into the UNC and prepath
   in the cache charset on mount, which made the mount fail with
   -ENOENT on non-utf8 iocharset mounts

 - Fix a use-after-free of the server in smb2_reconnect_server(), which
   unlocked reconnect_mutex after dropping the session reference on the
   terminate path

 - Fix file name conversion on big-endian systems, where the temporary
   UTF-16 buffers were not in CPU byte order

 - Fix diagnostic messages that printed little-endian values on
   big-endian systems

----------------------------------------------------------------
Elkin Cruz (1):
      smb: client: unlock reconnect_mutex before putting session on terminate

Fredric Cover (2):
      smb: client: convert DFS prefix from cache charset on reconnect
      smb: client: convert DFS target node name from cache charset on mount

ZhangGuoDong (2):
      smb: client: fix little-endian values in diagnostic messages
      smb: client: fix file name conversion on big-endian systems

 fs/smb/client/cifs_unicode.c  |  6 +++---
 fs/smb/client/cifsacl.c       |  3 ++-
 fs/smb/client/dfs.c           | 32 +++++++++++++++++++++++++++++---
 fs/smb/client/dfs_cache.c     | 31 +++++++++++++++++++++++++++++++
 fs/smb/client/dfs_cache.h     |  1 +
 fs/smb/client/sess.c          |  2 +-
 fs/smb/client/smb1debug.c     |  5 +++--
 fs/smb/client/smb1misc.c      |  5 +++--
 fs/smb/client/smb2ops.c       |  5 +++--
 fs/smb/client/smb2pdu.c       |  7 ++++---
 fs/smb/client/smb2transport.c |  7 ++++---
 fs/smb/client/transport.c     |  2 +-
 12 files changed, 85 insertions(+), 21 deletions(-)

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

end of thread, other threads:[~2026-11-28 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 20:11 [GIT PULL] smb client fixes for 7.4-rc5 Paulo Alcantara
2026-11-28 22:06 ` 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®