linux-stable/fs
Namjae Jeon 52f5a52dc1 ksmbd: add free_transport ops in ksmbd connection
commit a89f5fae99 upstream.

free_transport function for tcp connection can be called from smbdirect.
It will cause kernel oops. This patch add free_transport ops in ksmbd
connection, and add each free_transports for tcp and smbdirect.

Fixes: 21a4e47578 ("ksmbd: fix use-after-free in __smb2_lease_break_noti()")
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-01 09:47:32 +01:00
..
9p
adfs
affs
afs
autofs
befs
bfs
btrfs btrfs: fix assertion when building free space tree 2025-07-17 18:35:21 +02:00
cachefiles cachefiles: Fix the incorrect return value in __cachefiles_write() 2025-07-24 08:53:16 +02:00
ceph ceph: fix possible integer overflow in ceph_zero_objects() 2025-07-06 11:00:08 +02:00
coda
configfs configfs: Do not override creating attribute file failure in populate_attrs() 2025-06-27 11:08:42 +01:00
cramfs
crypto
debugfs
devpts
dlm dlm: make tcp still work in multi-link env 2025-06-04 14:41:57 +02:00
ecryptfs
efivarfs
efs
erofs erofs: address D-cache aliasing 2025-08-01 09:47:32 +01:00
exfat
exportfs
ext2
ext4 ext4: only dirty folios when data journaling regular files 2025-06-27 11:08:47 +01:00
f2fs f2fs: fix to avoid use-after-free issue in f2fs_filemap_fault 2025-07-10 16:03:21 +02:00
fat
freevxfs
fscache
fuse fuse: fix race between concurrent setattrs from multiple nodes 2025-07-06 11:00:06 +02:00
gfs2 gfs2: move msleep to sleepable context 2025-06-27 11:08:42 +01:00
hfs
hfsplus
hostfs
hpfs
hugetlbfs
iomap
isofs isofs: Verify inode mode when loading from disk 2025-07-24 08:53:13 +02:00
jbd2 jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata() 2025-06-27 11:08:44 +01:00
jffs2 jffs2: check jffs2_prealloc_raw_node_refs() result in few other places 2025-06-27 11:08:58 +01:00
jfs jfs: reject on-disk inodes of an unsupported type 2025-08-01 09:47:31 +01:00
kernfs kernfs: Relax constraint in draining guard 2025-06-19 15:28:16 +02:00
lockd
minix
netfs
nfs NFSv4/flexfiles: Fix handling of NFS level errors in I/O 2025-07-10 16:03:18 +02:00
nfs_common
nfsd nfsd: Initialize ssc before laundromat_work to prevent NULL dereference 2025-06-27 11:08:44 +01:00
nilfs2 nilfs2: reject invalid file types when reading inodes 2025-08-01 09:47:30 +01:00
nls
notify
ntfs
ntfs3 fs/ntfs3: handle hdr_first_de() return value 2025-06-19 15:28:07 +02:00
ocfs2 ocfs2: fix possible memory leak in ocfs2_finish_quota_recovery 2025-06-19 15:28:23 +02:00
omfs
openpromfs
orangefs orangefs: Do not truncate file size 2025-06-04 14:42:02 +02:00
overlayfs ovl: Check for NULL d_inode() in ovl_dentry_upper() 2025-07-06 11:00:08 +02:00
proc mm: fix the inaccurate memory statistics issue for users 2025-07-17 18:35:14 +02:00
pstore pstore: Change kmsg_bytes storage size to u32 2025-06-04 14:42:11 +02:00
qnx4
qnx6
quota
ramfs
reiserfs
romfs
smb ksmbd: add free_transport ops in ksmbd connection 2025-08-01 09:47:32 +01:00
squashfs Squashfs: check return result of sb_min_blocksize 2025-06-19 15:28:23 +02:00
sysfs
sysv
tracefs
ubifs
udf udf: Make sure i_lenExtents is uptodate on inode eviction 2025-05-22 14:12:19 +02:00
ufs
unicode
vboxsf
verity
xfs
zonefs
aio.c
anon_inodes.c fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass 2025-07-10 16:03:18 +02:00
attr.c
bad_inode.c
binfmt_elf_fdpic.c
binfmt_elf_test.c
binfmt_elf.c binfmt_elf: Move brk for static PIE even if ASLR disabled 2025-05-22 14:12:12 +02:00
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: hand a pidfd to the usermode coredump helper 2025-06-04 14:42:24 +02:00
d_path.c
dax.c
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c eventpoll: don't decrement ep refcount while still holding the ep mutex 2025-07-17 18:35:07 +02:00
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:28:43 +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 clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns 2025-07-24 08:53:20 +02:00
nsfs.c
open.c
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:08:57 +01:00