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.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://github.com/google/security-research/security/advisories/GHSA-jg27-jx6w-xwph | exploit third party advisory |
https://www.spinics.net/lists/ceph-devel/msg57909.html | patch mailing list |
https://github.com/torvalds/linux/commit/a282a2f10539dce2aa619e71e1817570d557fc97 | patch |
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a282a2f10539dce2aa619e71e1817570d557fc97 | patch mailing list |
https://security.netapp.com/advisory/ntap-20231116-0003/ | third party advisory |