linux/fs/fuse
Xiangsheng Hou 599d1e2a6a virtiofs: add filesystem context source name check
commit a94fd938df upstream.

In certain scenarios, for example, during fuzz testing, the source
name may be NULL, which could lead to a kernel panic. Therefore, an
extra check for the source name should be added.

Fixes: a62a8ef9d9 ("virtio-fs: add virtiofs filesystem")
Cc: <stable@vger.kernel.org> # all LTS kernels
Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
Link: https://lore.kernel.org/20250407115111.25535-1-xiangsheng.hou@mediatek.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-04-25 10:43:55 +02:00
..
acl.c vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
control.c fuse: Remove the control interface for virtio-fs 2022-07-21 16:06:19 +02:00
cuse.c fuse: fix UAF in rcu pathwalks 2024-08-29 17:30:34 +02:00
dax.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:33:36 +02:00
dev.c fuse: add request extension 2024-09-12 11:10:27 +02:00
dir.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:33:36 +02:00
file.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:33:36 +02:00
fuse_i.h fuse: add request extension 2024-09-12 11:10:27 +02:00
inode.c fuse: add feature flag for expire-only 2024-09-12 11:10:30 +02:00
ioctl.c fuse: ioctl: translate ENOSYS in outarg 2023-07-27 08:50:25 +02:00
Kconfig dax: remove CONFIG_DAX_DRIVER 2021-12-04 08:58:51 -08:00
Makefile fuse: move ioctl to separate source file 2021-04-12 15:04:30 +02:00
readdir.c fuse: nlookup missing decrement in fuse_direntplus_link 2023-09-19 12:28:05 +02:00
virtio_fs.c virtiofs: add filesystem context source name check 2025-04-25 10:43:55 +02:00
xattr.c fuse: use unsigned type for getxattr/listxattr size truncation 2024-09-12 11:10:17 +02:00