android_kernel_motorola_sm6375/fs/ceph
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xiubo Li cb7495fe95 ceph: avoid putting the realm twice when decoding snaps fails
[ Upstream commit 51884d153f7ec85e18d607b2467820a90e0f4359 ]

When decoding the snaps fails it maybe leaving the 'first_realm'
and 'realm' pointing to the same snaprealm memory. And then it'll
put it twice and could cause random use-after-free, BUG_ON, etc
issues.

Cc: [email protected]
Link: https://tracker.ceph.com/issues/57686
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2022-12-08 11:23:00 +01:00
..
acl.c
addr.c
cache.c
cache.h
caps.c ceph: fix handling of "meta" errors 2021-10-27 09:54:27 +02:00
ceph_frag.c
debugfs.c
dir.c
export.c
file.c ceph: don't truncate file in atomic_open 2022-10-15 07:54:39 +02:00
inode.c ceph: fix handling of "meta" errors 2021-10-27 09:54:27 +02:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig
locks.c
Makefile
mds_client.c ceph: fix handling of "meta" errors 2021-10-27 09:54:27 +02:00
mds_client.h
mdsmap.c
quota.c
snap.c ceph: avoid putting the realm twice when decoding snaps fails 2022-12-08 11:23:00 +01:00
strings.c
super.c
super.h ceph: fix handling of "meta" errors 2021-10-27 09:54:27 +02:00
xattr.c ceph: allow ceph.dir.rctime xattr to be updatable 2022-06-14 18:12:01 +02:00