{"id":"CVE-2024-56720","published":"2024-12-29T11:29:58Z","modified":"2026-08-05T11:46:18Z","title":"bpf, sockmap: Several fixes to bpf_msg_pop_data","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, sockmap: Several fixes to bpf_msg_pop_data\n\nSeveral fixes to bpf_msg_pop_data,\n1. In sk_msg_shift_left, we should put_page\n2. if (len == 0), return early is better\n3. pop the entire sk_msg (last == msg->sg.size) should be supported\n4. Fix for the value of variable \"a\"\n5. In sk_msg_shift_left, after shifting, i has already pointed to the next\nelement. Addtional sk_msg_iter_var_next may result in BUG.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00336,"percentile":0.19514,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/d3f5763b3062514a234114e97bbde74d8d702449","tags":[]},{"url":"https://git.kernel.org/stable/c/d26d977633d1d0b8bf9407278189bd0a8d973323","tags":[]},{"url":"https://git.kernel.org/stable/c/e1f54c61c4c9a5244eb8159dce60d248f7d97b32","tags":[]},{"url":"https://git.kernel.org/stable/c/f58d3aa457e77a3d9b3df2ab081dcf9950f6029f","tags":[]},{"url":"https://git.kernel.org/stable/c/98c7ea7d11f2588e8197db042e0291e4ac8f8346","tags":[]},{"url":"https://git.kernel.org/stable/c/785180bed9879680d8e5c5e1b54c8ae8d948f4c8","tags":[]},{"url":"https://git.kernel.org/stable/c/275a9f3ef8fabb0cb282a62b9e164dedba7284c5","tags":[]},{"url":"https://git.kernel.org/stable/c/5d609ba262475db450ba69b8e8a557bd768ac07a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":3.9},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < d3f5763b3062514a234114e97bbde74d8d702449",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < d26d977633d1d0b8bf9407278189bd0a8d973323",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < e1f54c61c4c9a5244eb8159dce60d248f7d97b32",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < f58d3aa457e77a3d9b3df2ab081dcf9950f6029f",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 98c7ea7d11f2588e8197db042e0291e4ac8f8346",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 785180bed9879680d8e5c5e1b54c8ae8d948f4c8",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 275a9f3ef8fabb0cb282a62b9e164dedba7284c5",">= 7246d8ed4dcce23f7509949a77be15fa9f0e3d28, < 5d609ba262475db450ba69b8e8a557bd768ac07a"]},{"vendor":"Linux","product":"Linux","versions":["5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:58:21.307610Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53368","exploited":false,"provenance":"source"}}