linux-yocto/fs/ceph
Dmitry Kandybka acc1d4cc47 ceph: fix possible integer overflow in ceph_zero_objects()
[ Upstream commit 0abd87942e ]

In 'ceph_zero_objects', promote 'object_size' to 'u64' to avoid possible
integer overflow.

Compile tested only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Kandybka <d.kandybka@gmail.com>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-06 11:00:08 +02:00
..
acl.c
addr.c ceph: try to allocate a smaller extent map for sparse read 2025-01-02 10:31:59 +01:00
cache.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
cache.h
caps.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
ceph_frag.c
crypto.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
crypto.h
debugfs.c ceph: pass the mdsc to several helpers 2024-04-27 17:11:29 +02:00
dir.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
export.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
file.c ceph: fix possible integer overflow in ceph_zero_objects() 2025-07-06 11:00:08 +02:00
inode.c ceph: Fix incorrect flush end position calculation 2025-05-02 07:50:42 +02:00
io.c
io.h
ioctl.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
ioctl.h
Kconfig ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION 2024-01-25 15:35:44 -08:00
locks.c
Makefile
mds_client.c ceph: give up on paths longer than PATH_MAX 2025-01-09 13:31:54 +01:00
mds_client.h ceph: pass the mdsc to several helpers 2024-04-27 17:11:29 +02:00
mdsmap.c ceph: pass the mdsc to several helpers 2024-04-27 17:11:29 +02:00
metric.c
metric.h
quota.c ceph: fix invalid pointer access if get_quota_realm return ERR_PTR 2024-02-05 20:14:33 +00:00
snap.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00
strings.c
super.c ceph: set superblock s_magic for IMA fsmagic matching 2025-06-27 11:08:47 +01:00
super.h ceph: try to allocate a smaller extent map for sparse read 2025-01-02 10:31:59 +01:00
util.c
xattr.c ceph: rename _to_client() to _to_fs_client() 2024-04-27 17:11:29 +02:00