linux/fs/fuse
Xiangsheng Hou f6ec52710d 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:45:50 +02:00
..
acl.c fs.idmapped.v6.3 2023-02-20 11:53:11 -08:00
control.c fuse: convert to ctime accessor functions 2023-07-24 10:29:59 +02:00
cuse.c fuse: fix UAF in rcu pathwalks 2024-08-29 17:33:33 +02:00
dax.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:37:34 +02:00
dev.c fuse: Initialize beyond-EOF page contents before setting uptodate 2024-08-29 17:33:11 +02:00
dir.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:37:34 +02:00
file.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:37:34 +02:00
fuse_i.h fuse: fix UAF in rcu pathwalks 2024-08-29 17:33:33 +02:00
inode.c fuse: fix UAF in rcu pathwalks 2024-08-29 17:33:33 +02:00
ioctl.c fuse: ioctl: translate ENOSYS in outarg 2023-06-21 11:17:36 +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: cache btime 2023-08-21 12:14:59 +02:00
virtio_fs.c virtiofs: add filesystem context source name check 2025-04-25 10:45:50 +02:00
xattr.c fuse: use unsigned type for getxattr/listxattr size truncation 2024-09-12 11:11:26 +02:00