linux-yocto/fs
Stefan Metzmacher a050c70e61 smb: client: let recv_done() avoid touching data_transfer after cleanup/move
[ Upstream commit 24eff17887 ]

Calling enqueue_reassembly() and wake_up_interruptible(&info->wait_reassembly_queue)
or put_receive_buffer() means the response/data_transfer pointer might
get re-used by another thread, which means these should be
the last operations before calling return.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Fixes: f198186aa9 ("CIFS: SMBD: Establish SMB Direct connection")
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-15 16:39:29 +02:00
..
9p vfs-6.16-rc1.netfs 2025-06-02 15:04:06 -07:00
adfs
affs
afs afs: Set vllist to NULL if addr parsing fails 2025-07-23 13:54:34 +02:00
autofs
bcachefs bcachefs: Add missing snapshots_seen_add_inorder() 2025-07-24 22:56:37 -04:00
befs
bfs
btrfs btrfs: remove partial support for lowest level from btrfs_search_forward() 2025-08-15 16:38:23 +02:00
cachefiles cachefiles: Fix the incorrect return value in __cachefiles_write() 2025-07-10 09:40:17 +02:00
ceph parse_longname(): strrchr() expects NUL-terminated string 2025-08-15 16:38:21 +02:00
coda
configfs - The 3 patch series "hung_task: extend blocking task stacktrace dump to 2025-05-31 19:12:53 -07:00
cramfs
crypto
debugfs
devpts
dlm treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ecryptfs
efivarfs efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths 2025-07-18 12:00:20 +02:00
efs
erofs erofs: fix large fragment handling 2025-07-12 04:02:44 +08:00
exfat exfat: fdatasync flag should be same like generic_write_sync() 2025-08-15 16:39:19 +02:00
exportfs readdir: supply dir_context.count as readdir buffer size hint 2025-05-29 12:31:23 +02:00
ext2 ext2: Deprecate DAX 2025-04-29 13:08:20 +02:00
ext4 ext4: Make sure BH_New bit is cleared in ->write_end handler 2025-08-15 16:39:09 +02:00
f2fs f2fs: fix to trigger foreground gc during f2fs_map_blocks() in lfs mode 2025-08-15 16:39:19 +02:00
fat
freevxfs
fuse vfs-6.16-rc5.fixes 2025-07-04 09:06:49 -07:00
gfs2 gfs2: No more self recovery 2025-08-15 16:38:23 +02:00
hfs hfs: make splice write available again 2025-08-15 16:38:22 +02:00
hfsplus hfsplus: remove mutex_lock check in hfsplus_free_extents 2025-08-15 16:38:22 +02:00
hostfs
hpfs
hugetlbfs
iomap iomap: avoid unnecessary ifs_set_range_uptodate() with locks 2025-07-11 11:42:44 +02:00
isofs isofs: Verify inode mode when loading from disk 2025-07-11 11:39:31 +02:00
jbd2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
jffs2 jffs2: check jffs2_prealloc_raw_node_refs() result in few other places 2025-05-22 20:54:38 +02:00
jfs jfs: fix metapage reference count leak in dbAllocCtl 2025-08-15 16:39:13 +02:00
kernfs Driver core changes for 6.16-rc1 2025-05-29 09:11:39 -07:00
lockd
minix
netfs netfs: Fix race between cache write completion and ALL_QUEUED being set 2025-07-14 11:05:02 +02:00
nfs NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY 2025-08-15 16:39:22 +02:00
nfs_common NFS/localio: nfs_uuid_put() fix the wake up after unlinking the file 2025-08-15 16:39:27 +02:00
nfsd nfsd-6.16 fixes: 2025-06-21 09:20:15 -07:00
nilfs2 nilfs2: reject invalid file types when reading inodes 2025-07-19 19:26:16 -07:00
nls
notify fanotify: sanitize handle_type values when reporting fid 2025-08-15 16:39:02 +02:00
ntfs3 Revert "fs/ntfs3: Replace inode_trylock with inode_lock" 2025-08-15 16:38:22 +02:00
ocfs2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
omfs omfs: convert to new mount API 2025-04-28 10:54:39 +02:00
openpromfs
orangefs fs/orangefs: Allow 2 more characters in do_c_string() 2025-08-15 16:39:10 +02:00
overlayfs vfs-6.16-rc3.fixes 2025-06-16 08:18:43 -07:00
proc proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al 2025-08-15 16:39:06 +02:00
pstore
qnx4
qnx6
quota
ramfs
resctrl x86,fs/resctrl: Remove inappropriate references to cacheinfo in the resctrl subsystem 2025-06-16 21:06:12 +02:00
romfs
smb smb: client: let recv_done() avoid touching data_transfer after cleanup/move 2025-08-15 16:39:29 +02:00
squashfs squashfs: fix incorrect argument to sizeof in kmalloc_array call 2025-08-15 16:39:16 +02:00
sysfs
tests
tracefs
ubifs This pull request contains the following fixes for JFFS2 and UBIFS: 2025-06-07 07:24:07 -07:00
udf udf: Make sure i_lenExtents is uptodate on inode eviction 2025-05-07 12:04:07 +02:00
ufs fix the regression in ufs options parsing 2025-07-23 11:45:04 -04:00
unicode
vboxsf
verity
xfs xfs: don't allocate the xfs_extent_busy structure for zoned RTGs 2025-07-18 17:42:31 +02:00
zonefs zonefs: use bdev_rw_virt in zonefs_read_super 2025-05-07 07:31:07 -06:00
aio.c fs: aio: initialize .ki_write_stream of read-write request 2025-05-07 08:00:11 -06:00
anon_inodes.c fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass 2025-06-23 12:41:17 +02:00
attr.c
backing-file.c
bad_inode.c
binfmt_elf_fdpic.c
binfmt_elf.c vfs-6.16-rc1.misc 2025-05-26 09:02:39 -07:00
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c vfs-6.16-rc1.writepage 2025-05-26 08:23:09 -07:00
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: validate socket name as it is written 2025-05-21 13:59:12 +02:00
d_path.c
dax.c vfs-6.16-rc2.fixes 2025-06-02 12:49:16 -07:00
dcache.c vfs-6.16-rc1.misc 2025-05-26 09:02:39 -07:00
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c eventpoll: fix sphinx documentation build warning 2025-08-15 16:38:24 +02:00
exec.c anon_inode: rework assertions 2025-07-02 14:41:39 +02:00
fcntl.c
fhandle.c
file_table.c
file.c fs: drop assert in file_seek_cur_needs_f_lock 2025-06-16 09:59:24 +02:00
filesystems.c
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 vfs-6.16-rc1.super 2025-05-26 09:33:44 -07:00
ioctl.c vfs-6.16-rc1.super 2025-05-26 09:33:44 -07:00
Kconfig fs/resctrl: Add boiler plate for external resctrl code 2025-05-16 11:05:40 +02:00
Kconfig.binfmt
kernel_read_file.c
libfs.c anon_inode: rework assertions 2025-07-02 14:41:39 +02:00
locks.c
Makefile fs/resctrl: Add boiler plate for external resctrl code 2025-05-16 11:05:40 +02:00
mbcache.c
mnt_idmapping.c
mount.h Don't propagate mounts into detached trees 2025-05-26 17:35:32 -04:00
mpage.c fs: use writeback_iter directly in mpage_writepages 2025-05-09 12:37:48 +02:00
namei.c vfs-6.16-rc5.fixes 2025-07-04 09:06:49 -07:00
namespace.c userns and mnt_idmap leak in open_tree_attr(2) 2025-06-24 10:25:04 -04:00
nsfs.c
open.c fs/open: make do_truncate() killable 2025-05-15 12:03:12 +02:00
pidfs.c coredump: fix PIDFD_INFO_COREDUMP ioctl check 2025-07-07 13:26:03 +02:00
pipe.c sort.h: hoist cmp_int() into generic header file 2025-05-11 17:54:12 -07:00
pnode.c Don't propagate mounts into detached trees 2025-05-26 17:35:32 -04:00
pnode.h replace collect_mounts()/drop_collected_mounts() with a safer variant 2025-06-23 14:01:49 -04:00
posix_acl.c
proc_namespace.c ->mnt_devname is never NULL 2025-05-23 14:20:44 +02:00
read_write.c fs/read_write: make default_llseek() killable 2025-05-15 12:03:12 +02:00
readdir.c readdir: supply dir_context.count as readdir buffer size hint 2025-05-29 12:31:23 +02:00
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c xfs: New code for 6.16 2025-05-26 12:56:01 -07:00
statfs.c
super.c fs: unlock the superblock during iterate_supers_type 2025-06-12 14:27:39 +02:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c mm/userfaultfd: fix uninitialized output field for -EAGAIN race 2025-05-07 23:39:39 -07:00
utimes.c
xattr.c fs/xattr.c: fix simple_xattr_list() 2025-06-06 10:00:17 +02:00