linux-stable/fs
Bharath SM 9411a9909e smb: fix secondary channel creation issue with kerberos by populating hostname when adding channels
commit 306cb65bb0 upstream.

When mounting a share with kerberos authentication with multichannel
support, share mounts correctly, but fails to create secondary
channels. This occurs because the hostname is not populated when
adding the channels. The hostname is necessary for the userspace
cifs.upcall program to retrieve the required credentials and pass
it back to kernel, without hostname secondary channels fails
establish.

Cc: stable@vger.kernel.org
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Reported-by: xfuren <xfuren@gmail.com>
Link: https://bugzilla.samba.org/show_bug.cgi?id=15824
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-27 11:11:41 +01:00
..
9p 9p: Add a migrate_folio method 2025-06-19 15:32:36 +02:00
adfs
affs
afs
autofs
bcachefs
befs
bfs
btrfs btrfs: exit after state split error at set_extent_bit() 2025-06-19 15:32:32 +02:00
cachefiles
ceph ceph: set superblock s_magic for IMA fsmagic matching 2025-06-27 11:11:19 +01:00
coda
configfs configfs: Do not override creating attribute file failure in populate_attrs() 2025-06-27 11:11:12 +01:00
cramfs
crypto
debugfs
devpts
dlm dlm: make tcp still work in multi-link env 2025-05-29 11:02:14 +02:00
ecryptfs
efivarfs
efs
erofs erofs: avoid using multiple devices with different type 2025-06-19 15:31:29 +02:00
exfat exfat: call bh_read in get_block only when necessary 2025-05-29 11:02:03 +02:00
exportfs
ext2
ext4 ext4: only dirty folios when data journaling regular files 2025-06-27 11:11:20 +01:00
f2fs f2fs: fix to set atomic write status more clear 2025-06-27 11:11:34 +01:00
fat
freevxfs
fuse fuse: Return EPERM rather than ENOSYS from link() 2025-05-29 11:02:03 +02:00
gfs2 gfs2: move msleep to sleepable context 2025-06-27 11:11:12 +01:00
hfs
hfsplus
hostfs
hpfs
hugetlbfs
iomap
isofs isofs: fix Y2038 and Y2156 issues in Rock Ridge TF entry 2025-06-27 11:11:34 +01:00
jbd2 jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata() 2025-06-27 11:11:16 +01:00
jffs2 jffs2: check jffs2_prealloc_raw_node_refs() result in few other places 2025-06-27 11:11:37 +01:00
jfs
kernfs kernfs: Relax constraint in draining guard 2025-06-19 15:31:51 +02:00
lockd
minix
netfs
nfs fs/nfs/read: fix double-unlock bug in nfs_return_empty_folio() 2025-06-27 11:11:15 +01:00
nfs_common
nfsd nfsd: use threads array as-is in netlink interface 2025-06-27 11:11:40 +01:00
nilfs2 nilfs2: do not propagate ENOENT error from nilfs_btree_propagate() 2025-06-19 15:32:01 +02:00
nls
notify
ntfs3 fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr 2025-06-19 15:31:36 +02:00
ocfs2 ocfs2: fix possible memory leak in ocfs2_finish_quota_recovery 2025-06-19 15:32:01 +02:00
omfs
openpromfs
orangefs orangefs: Do not truncate file size 2025-05-29 11:02:28 +02:00
overlayfs ovl: Fix nested backing file paths 2025-06-27 11:11:24 +01:00
proc
pstore pstore: Change kmsg_bytes storage size to u32 2025-05-29 11:02:58 +02:00
qnx4
qnx6
quota
ramfs
reiserfs
romfs
smb smb: fix secondary channel creation issue with kerberos by populating hostname when adding channels 2025-06-27 11:11:41 +01:00
squashfs Squashfs: check return result of sb_min_blocksize 2025-06-19 15:32:01 +02:00
sysfs
sysv
tests
tracefs
ubifs
udf
ufs
unicode
vboxsf
verity
xfs xfs: don't assume perags are initialised when trimming AGs 2025-06-19 15:32:36 +02:00
zonefs
aio.c
anon_inodes.c
attr.c
backing-file.c
bad_inode.c
binfmt_elf_fdpic.c
binfmt_elf.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c fs/buffer: use sleeping version of __find_get_block() 2025-05-29 11:02:00 +02:00
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: hand a pidfd to the usermode coredump helper 2025-06-04 14:43:52 +02:00
d_path.c
dax.c
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c
fhandle.c
file_table.c
file.c
filesystems.c fs/filesystems: Fix potential unsigned integer underflow in fs_name() 2025-06-19 15:32:32 +02:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c
fsopen.c
init.c
inode.c
internal.h
ioctl.c
Kconfig
Kconfig.binfmt
kernel_read_file.c
libfs.c
locks.c
Makefile
mbcache.c
mnt_idmapping.c
mount.h
mpage.c
namei.c
namespace.c do_change_type(): refuse to operate on unmounted/not ours mounts 2025-06-19 15:32:21 +02:00
nsfs.c
open.c
pidfs.c pidfs: improve multi-threaded exec and premature thread-group leader exit polling 2025-05-29 11:02:09 +02:00
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c fs/xattr.c: fix simple_xattr_list() 2025-06-27 11:11:36 +01:00