linux-yocto/fs/ceph
Dmitry Kandybka a52f78bc8b 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:01:36 +02:00
..
acl.c ceph: allow idmapped set_acl inode op 2023-11-03 23:28:34 +01:00
addr.c ceph: avoid kernel BUG for encrypted inode with unaligned file size 2025-06-27 11:11:19 +01:00
cache.c
cache.h netfs: Provide invalidate_folio and release_folio calls 2023-12-24 15:08:51 +00:00
caps.c ceph: Fix typo in the comment 2024-09-24 22:51:33 +02:00
ceph_frag.c
crypto.c Two items: 2023-11-10 09:52:56 -08:00
crypto.h
debugfs.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
dir.c Three CephFS fixes from Xiubo and Luis and a bunch of assorted 2024-09-28 08:40:36 -07:00
export.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
file.c ceph: fix possible integer overflow in ceph_zero_objects() 2025-07-06 11:01:36 +02:00
inode.c ceph: Fix incorrect flush end position calculation 2025-05-02 07:58:58 +02:00
io.c
io.h
ioctl.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
ioctl.h
Kconfig ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION 2024-01-15 15:40:50 +01:00
locks.c ceph: adapt to breakup of struct file_lock 2024-02-05 13:11:42 +01:00
Makefile
mds_client.c ceph: fix memory leak in ceph_mds_auth_match() 2025-02-17 10:05:37 +01:00
mds_client.h ceph: rename ceph_flush_cap_releases() to ceph_flush_session_cap_releases() 2024-09-24 22:51:19 +02:00
mdsmap.c ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-26 19:20:30 +01:00
mdsmap.h ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-02-26 19:20:30 +01:00
metric.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
metric.h
quota.c ceph: fix invalid pointer access if get_quota_realm return ERR_PTR 2024-01-15 15:40:51 +01:00
snap.c Two items: 2023-11-10 09:52:56 -08:00
strings.c
super.c ceph: set superblock s_magic for IMA fsmagic matching 2025-06-27 11:11:19 +01:00
super.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
util.c
xattr.c Two items: 2023-11-10 09:52:56 -08:00