CVE-2024-56720
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.1.124-134.200 | Amazon Linux | 1.0-0.amzn2023 |
| perf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.124-134.200.amzn2023 |
| python3-perf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| linux_kernel | linux | 6.12.2, 6.11.11, 6.6.64, 6.1.120, 5.15.174, 5.10.231, 5.4.287 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 |
| Linux | Linux | 5.0, 0, 5.4.287 |
| amazon:2023 | kernel-livepatch-6.1.124-134.200 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 5.0, 5.0, 5.0 |
| Linux | Linux | 6.1.120, 6.12.2, 6.13 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
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