From: Paulo Alcantara <pc@manguebit.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] smb client fixes for 7.4-rc5
Date: Sat, 28 Nov 2026 17:11:39 -0300 [thread overview]
Message-ID: <91bbcfd2e96d6129ac2b298165874370@manguebit.org> (raw)
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(-)
next reply other threads:[~2026-11-28 20:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 20:11 Paulo Alcantara [this message]
2026-11-28 22:06 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91bbcfd2e96d6129ac2b298165874370@manguebit.org \
--to=pc@manguebit.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®