CVE-2024-56720: linux Off-by-one Error
Vulnerability summary
CVE-2024-56720 is a high (CVSS 7.8) Off-by-one Error vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 42 · Related 42Timeline
- 29-12-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
0.00 pp
From 0.24% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-193Off-by-one ErrorA product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
- CWE-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Affected systems
Ubuntu130 products
- linux< 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < d3f5763b3062514a234114e97bbde74d8d702449 | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < d26d977633d1d0b8bf9407278189bd0a8d973323 | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < e1f54c61c4c9a5244eb8159dce60d248f7d97b32 | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < f58d3aa457e77a3d9b3df2ab081dcf9950f6029f | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 98c7ea7d11f2588e8197db042e0291e4ac8f8346 | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 785180bed9879680d8e5c5e1b54c8ae8d948f4c8 | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 275a9f3ef8fabb0cb282a62b9e164dedba7284c5 | ≥ 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 5d609ba262475db450ba69b8e8a557bd768ac07a | 5.0
- linux_kernel≥ 5.0, < 5.4.287 | ≥ 5.5, < 5.10.231 | ≥ 5.11, < 5.15.174 | ≥ 5.16, < 6.1.120 | ≥ 6.2, < 6.6.64 | ≥ 6.7, < 6.11.11 | ≥ 6.12, < 6.12.2
Debian1 product
- linux< 6.1.123-1 | < 6.12.3-1
3 vendors · 133 products