CVE-2024-56720

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Dec 29, 2024
Updated: Jan 9, 2025
CWE ID 193
CWE ID 401

Summary

CVE-2024-56720 is a vulnerability affecting the Linux kernel's bpf and sockmap components. Several issues were identified and addressed in the function bpf_msg_pop_data. Specifically, in sk_msg_shift_left, there were failures to properly handle the shifting of data and the subsequent allocation of memory. These issues could result in buffer overflows or memory leaks. Additionally, a variable "a" and the use of sk_msg_iter_var_next were found to be problematic, potentially leading to bugs. The vulnerabilities have been mitigated through various fixes, including the proper use of put_page, early returns when length is zero, and proper handling of shifting and next pointers.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share