From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=143.255.12.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795896709; b=5jhRXDtQh1GKKjfVluyMF/ApRZIrAMRYPHeomGPONkdLt5Rc4w9dfrttvqigleEFnHo7 VkNANvprWPp4BeBdtvnEb9quJRuvq5DSSYYeTfIR8BKAaJSZklayH8kJVzhzxDCA3W1VG FZkhmS3zwdqC4x9gWO0SPGw/J7fRGSlTLrqk1kmpa7aNvczQ1rb4ejIB+dL64BIb70OB4 SUq9/IsFXuQeBSJTEGdcTW6fS3vlERvGPn2lcYf4NaMjWWmdYfjC6C8q3bx+uAQuKJGFn C8eebF9xz+f/zPZOm9pAG5e8XndnrRq/L38Klo3+kYKtlYwm4Ub1UG9E2uUk9vuqlFw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795896709; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:From:To:Cc:Subject: Date:MIME-Version:Content-Type; bh=1u+LG+mgUvwVC1qB1GGZnY0BsPG/tOzBidO+FAox7vM=; b=lBfTPpJKuRduSW2Se/wNcZUI+KCJdw03fwHKVran3xluJCZsKYB4zKDmDjlQf9SIBBnR rsKjk2MhXFWoXGbRP42DRq7ODrckpI4aOzFQcEBioPwy8c9s4k9m78QR9zxiDvCX/ukOg IRcUBL5uME4pRJenltr7LgsPI5F1Lug0hvUtFUYiZV6iDXI2MkFQgJ6T+5ZLMWG+X4Hpd fWE4GtI8RU+O6/D0HSjaARjqEXxpCuitjk87DqsWs0NIbPhhaJf5GUY3GeKwr53Ikxa/G +pnboryEbsWkcdxE7u7Q6qVYfAngzkp5U7OWjAz2pAzTA/mIIMEyRQo03OUdoL//lSQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=manguebit.org; spf=pass smtp.mailfrom=manguebit.org; dkim=pass header.d=manguebit.org header.i=@manguebit.org header.a=rsa-sha256 header.s=dkim header.b=xack9McP; arc=none smtp.remote-ip=143.255.12.172 Received: from mx1.manguebit.org (mx1.manguebit.org [143.255.12.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E4D6606A31C; Sat, 28 Nov 2026 20:11:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0E4D6606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manguebit.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manguebit.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=manguebit.org header.i=@manguebit.org header.a=rsa-sha256 header.s=dkim header.b=xack9McP DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=manguebit.org; s=dkim; h=Content-Type:MIME-Version:Date:Subject:Cc:To:From: Message-ID:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=1u+LG+mgUvwVC1qB1GGZnY0BsPG/tOzBidO+FAox7vM=; b=xack9McPqFM1wQ2qoP5LQWsSGq C2+ZCTjfp5qlXsi1+cMapuB5uMnz0UJ7k1PvH9W0GuT6TA+CWHky+4c+IxbtzQ7+jDeTO/9IxFv5O cV8ce1PLth2PqXF5R7PD5PFVj6fMNZu4rjlxPaPTQLPkPmRoxR6COXllUh5VKS1S8jQbUR3Fhx410 n8M9eLqsrooNYn8btR/w92KsYHjnjrnoKA04wj9zukPXGPPcD2/WzIFr7FYwcTd6qHYlBHKXQ4ivZ c5HwNtDWKpzt2mYRrbbAZNShuiG6+iAhoxZGXQ2jTu+R1iguA+DUJmSKs4Te3Td73ENxH7lOS5Hz7 U7I3zM0g==; Received: from pc by mx1.manguebit.org with local (Exim 4.100.1) id 1xXOlo-000000019yE-1VnL; Sat, 28 Nov 2026 17:11:40 -0300 Message-ID: <91bbcfd2e96d6129ac2b298165874370@manguebit.org> From: Paulo Alcantara To: Linus Torvalds 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 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain 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(-)