summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRaphael Zimmer <raphael.zimmer@tu-ilmenau.de>2026-09-09 17:03:53 +0200
committerIlya Dryomov <idryomov@gmail.com>2026-10-26 14:15:47 +0100
commit10655007b9b679e46a9e383202c7bb791e5d1d13 (patch)
treee39d02fc9e0da91309ab52feb2c01f210ab3210e /include/linux/debugobjects.h
parent0405670e50f213594366ab7eddc07002bd7f84c0 (diff)
libceph: Fix multiple unsafe decodes in ceph_oloc_decode()
ceph_oloc_decode handles unchecked data received over the network from an OSD. Currently, there are multiple decode operations that aren't covered by any bounds check. Decoding these fields can therefore result in out-of-bounds reads if a corrupted message is received. This patch fixes the issue by adding bounds checks covering all previously uncovered decode operations. [ idryomov: use ceph_decode_64_safe() for hash ] Cc: stable@vger.kernel.org Fixes: 205ee1187a67 ("libceph: follow redirect replies from osds") Assisted-by: Cursor Signed-off-by: Raphael Zimmer <raphael.zimmer@tu-ilmenau.de> Reviewed-by: Alex Markuze <amarkuze@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions