Skip to content

ceph: fix multiple out-of-bounds checks

Xi Wang ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ceph: fix out-of-bounds pointers in parse_reply_info()fs/ceph/mds_client.c+2 -00 replies
2/3ceph: fix bounds check macros ceph_decode_need and ceph_encode_needinclude/linux/ceph/decode.h+7 -23 replies
3/3ceph: avoid panic with mismatched symbolic link sizes in fill_inode()fs/ceph/inode.c+5 -50 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Elder
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] ceph: fix multiple out-of-bounds checks

Fix several possible out-of-bounds pointers if the incoming message is corrupted or malicious.

Xi Wang (3):
ceph: fix out-of-bounds pointers in parse_reply_info()
ceph: fix bounds check macros ceph_decode_need and ceph_encode_need
ceph: avoid panic with mismatched symbolic link sizes in fill_inode()

 fs/ceph/inode.c             |   10 +++++-----
 fs/ceph/mds_client.c        |    2 ++
 include/linux/ceph/decode.h |    9 +++++++--
 3 files changed, 14 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.5.4