kernel_samsung_a53x/fs/ceph
Ilya Dryomov f698a9998c ceph: validate snapdirname option length when mounting
commit 12eb22a5a609421b380c3c6ca887474fb2089b2c upstream.

It becomes a path component, so it shouldn't exceed NAME_MAX
characters.  This was hardened in commit c152737be22b ("ceph: Use
strscpy() instead of strcpy() in __get_snap_name()"), but no actual
check was put in place.

Cc: stable@vger.kernel.org
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 16:29:47 +01:00
..
acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
addr.c Revert "ceph: remove the incorrect Fw reference check when dirtying pages" 2024-11-24 00:23:13 +01:00
cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
caps.c ceph: prevent use-after-free in encode_cap_msg() 2024-11-18 12:13:33 +01:00
ceph_frag.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
export.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file.c ceph: fix type promotion bug on 32bit systems 2024-11-08 11:25:50 +01:00
inode.c ceph: fix incorrect revoked caps assert in ceph_fill_file_size() 2024-11-08 11:25:50 +01:00
io.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ioctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
locks.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mds_client.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mds_client.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdsmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metric.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metric.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quota.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
snap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strings.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
super.c ceph: validate snapdirname option length when mounting 2025-01-15 16:29:47 +01:00
super.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xattr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00