CVE-2024-56720

published 29 Dec 2024 · updated 12 Aug 2026

bpf, sockmap: Several fixes to bpf_msg_pop_data

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 275a9f3ef8fabb0cb282a62b9e164dedba7284c5, Kernel 5d609ba262475db450ba69b8e8a557bd768ac07a, Kernel 785180bed9879680d8e5c5e1b54c8ae8d948f4c8 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <275a9f3ef8fabb0cb282a62b9e164dedba7284c5, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <5d609ba262475db450ba69b8e8a557bd768ac07a, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <785180bed9879680d8e5c5e1b54c8ae8d948f4c8, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <98c7ea7d11f2588e8197db042e0291e4ac8f8346, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <d26d977633d1d0b8bf9407278189bd0a8d973323, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <d3f5763b3062514a234114e97bbde74d8d702449, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <e1f54c61c4c9a5244eb8159dce60d248f7d97b32, >=7246d8ed4dcce23f7509949a77be15fa9f0e3d28 <f58d3aa457e77a3d9b3df2ab081dcf9950f6029f275a9f3ef8fabb0cb282a62b9e164dedba7284c5, 5d609ba262475db450ba69b8e8a557bd768ac07a, 785180bed9879680d8e5c5e1b54c8ae8d948f4c8, 98c7ea7d11f2588e8197db042e0291e4ac8f8346, d26d977633d1d0b8bf9407278189bd0a8d973323, d3f5763b3062514a234114e97bbde74d8d702449, e1f54c61c4c9a5244eb8159dce60d248f7d97b32, f58d3aa457e77a3d9b3df2ab081dcf9950f6029f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56720 severity on Zeptric[![CVE-2024-56720](https://zeptric.io/badge/cve/CVE-2024-56720.svg)](https://zeptric.io/cve/CVE-2024-56720)