Description
An issue was discovered in net/ceph/messenger_v2.c in the Linux kernel before 6.4.5. There is an integer signedness error, leading to a buffer overflow and remote code execution via HELLO or one of the AUTH frames. This occurs because of an untrusted length taken from a TCP packet in ceph_decode_32.
References
https://github.com/google/security-research/security/advisories/GHSA-jg27-jx6w-xwph
https://www.spinics.net/lists/ceph-devel/msg57909.html
https://github.com/torvalds/linux/commit/a282a2f10539dce2aa619e71e1817570d557fc97