CVE-2024-56720
MediumIn the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Several fixes to bpf_msg_pop_data Several fixes to bpf_msg_pop_data, 1. In sk_msg_shift_left, we should put_page 2. if (len == 0), return early is better 3. pop the entire sk_msg (last == msg->sg.size) should be supported 4. Fix for the value of variable "a" 5. In sk_msg_shift_left, after shifting, i has already pointed to the next element. Addtional sk_msg_iter_var_next may result in BUG.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-193CVE-2024-56720 is classified as CWE-193
See CWE-193 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.0
and later are affected. Fixed in
5.4.287,
5.10.231,
5.15.174,
6.1.120,
6.6.64,
6.11.11,
6.12.2,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-56720 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/275a9f3ef8fabb0cb282a62b9e164dedba7284c5
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5d609ba262475db450ba69b8e8a557bd768ac07a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/785180bed9879680d8e5c5e1b54c8ae8d948f4c8
Frequently asked questions
-
What is CVE-2024-56720?
CVE-2024-56720 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.0 onward and has been patched in 5.4.287, 5.10.231, 5.15.174 and others. CVE-2024-56720 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-56720?
CVE-2024-56720 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-56720?
Yes — CVE-2024-56720 has been patched. Fixed versions include 5.4.287, 5.10.231, 5.15.174 and others. If you are running Linux kernel 5.0 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-56720 actively exploited?
No — CVE-2024-56720 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.