VDB

CVE-2024-56720

CVE-2024-56720 PUBLISHED CVSS 7.8 HIGH

bpf, sockmap: Several fixes to bpf_msg_pop_data

Reported by linux · Published December 29, 2024

In 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.1.124-134.200Amazon Linux1.0-0.amzn2023
perfAmazon Linux6.1.124-134.200.amzn2023
kernel-modules-extraAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpf-staticAmazon Linux6.1.124-134.200.amzn2023
python3-perfAmazon Linux6.1.124-134.200.amzn2023
kernelAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpf-develAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpfAmazon Linux6.1.124-134.200.amzn2023
linux_kernellinux6.12.2, 6.11.11, 6.6.64, 6.1.120, 5.15.174, 5.10.231, 5.4.287

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux7246d8ed4dcce23f7509949a77be15fa9f0e3d28, 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, 7246d8ed4dcce23f7509949a77be15fa9f0e3d28
LinuxLinux5.0, 0, 5.4.287
amazon:2023kernel-livepatch-6.1.124-134.2000
amazon:2023perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
linuxlinux_kernel5.0, 5.0, 5.0
LinuxLinux6.1.120, 6.12.2, 6.13
amazon:2023kernel-headers0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0

Timeline

  • Dec 29, 2024 CVE Published
  • Dec 30, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 21, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Dec 29, 2025 Security Advisory (450 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (367 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56720
vulnetix vdb fixes CVE-2024-56720

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56720/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›