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 affs: don't write overlarge OFS data block size fields 2025-04-10 14:39:29 +02:00
afs afs: Give an afs_server object a ref on the afs_cell object it points to 2025-03-07 18:25:29 +01:00
autofs
bcachefs bcachefs: Remove incorrect __counted_by annotation 2025-05-09 09:50:49 +02:00
befs
bfs
btrfs btrfs: exit after state split error at set_extent_bit() 2025-06-19 15:32:32 +02:00
cachefiles cachefiles: Parse the "secctx" immediately 2025-01-23 17:22:55 +01:00
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 hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key 2025-04-25 10:47:52 +02:00
hfsplus hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key 2025-04-25 10:47:52 +02:00
hostfs um: hostfs: avoid issues on inode number reuse by host 2025-04-10 14:39:25 +02:00
hpfs
hugetlbfs
iomap iomap: skip unnecessary ifs_block_is_uptodate check 2025-05-02 07:59:27 +02:00
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 jfs: add sanity check for agwidth in dbMount 2025-04-20 10:15:19 +02:00
kernfs kernfs: Relax constraint in draining guard 2025-06-19 15:31:51 +02:00
lockd
minix
netfs netfs: Only create /proc/fs/netfs with CONFIG_PROC_FS 2025-05-02 07:59:26 +02:00
nfs fs/nfs/read: fix double-unlock bug in nfs_return_empty_folio() 2025-06-27 11:11:15 +01:00
nfs_common nfs: fix incorrect error handling in LOCALIO 2025-02-08 09:57:59 +01:00
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 fs: relax assertions on failure to encode file handles 2025-01-17 13:40:46 +01:00
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 fs/procfs: fix the comment above proc_pid_wchan() 2025-04-10 14:39:26 +02:00
pstore pstore: Change kmsg_bytes storage size to u32 2025-05-29 11:02:58 +02:00
qnx4
qnx6 fs/qnx6: Fix building with GCC 15 2025-01-23 17:22:55 +01:00
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 ubifs: skip dumping tnc tree when zroot is null 2025-02-08 09:58:01 +01:00
udf udf: Make sure i_lenExtents is uptodate on inode eviction 2025-05-22 14:29:44 +02:00
ufs
unicode
vboxsf vboxsf: fix building with GCC 15 2025-03-22 12:54:15 -07:00
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_elf: Move brk for static PIE even if ASLR disabled 2025-05-22 14:29:35 +02:00
binfmt_flat.c binfmt_flat: Fix integer overflow bug on 32 bit systems 2025-02-17 10:05:04 +01:00
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 exec: fix the racy usage of fs_struct->in_exec 2025-04-10 14:39:40 +02:00
fcntl.c
fhandle.c
file_table.c fs: fix proc_handler for sysctl_nr_open 2025-02-08 09:56:50 +01:00
file.c fs: consistently deref the files table with rcu_dereference_raw() 2025-04-20 10:15:10 +02:00
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 nfs: add missing selections of CONFIG_CRC32 2025-04-25 10:47:50 +02:00
Kconfig.binfmt
kernel_read_file.c
libfs.c libfs: Fix duplicate directory entry in offset_dir_lookup 2025-03-28 22:03:28 +01:00
locks.c
Makefile
mbcache.c
mnt_idmapping.c
mount.h fs: kill MNT_ONRB 2025-01-17 13:40:50 +01:00
mpage.c
namei.c fuse: don't truncate cached, mutated symlink 2025-03-22 12:54:20 -07:00
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 select: Fix unbalanced user_access_end() 2025-02-08 09:56:53 +01:00
seq_file.c
signalfd.c
splice.c splice: remove duplicate noinline from pipe_clear_nowait 2025-05-02 07:59:04 +02:00
stack.c
stat.c
statfs.c
super.c
sync.c
sysctls.c
timerfd.c
userfaultfd.c mm/userfaultfd: fix uninitialized output field for -EAGAIN race 2025-05-18 08:24:52 +02:00
utimes.c
xattr.c fs/xattr.c: fix simple_xattr_list() 2025-06-27 11:11:36 +01:00