{"id":"CVE-2024-56720","aliases":["CVE-2024-56720"],"related":[],"kind":"vulnerability","state":"published","title":"bpf, sockmap: Several fixes to bpf_msg_pop_data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf, sockmap: Varias correcciones para bpf_msg_pop_data Varias correcciones para bpf_msg_pop_data, 1. En sk_msg_shift_left, deberíamos put_page 2. si (len == 0), es mejor regresar antes 3. Debería ser compatible con la extracción de todo el sk_msg (last == msg-&gt;sg.size) 4. Corrección para el valor de la variable \"a\" 5. En sk_msg_shift_left, después de cambiar, i ya ha apuntado al siguiente elemento. La adición de sk_msg_iter_var_next puede provocar un ERROR.","source":"nvd"}],"published":"2024-12-29T11:29:58.345Z","modified":"2026-08-05T11:46:18.145Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-193","CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"d3f5763b3062514a234114e97bbde74d8d702449","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"d26d977633d1d0b8bf9407278189bd0a8d973323","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"e1f54c61c4c9a5244eb8159dce60d248f7d97b32","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"f58d3aa457e77a3d9b3df2ab081dcf9950f6029f","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"98c7ea7d11f2588e8197db042e0291e4ac8f8346","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"785180bed9879680d8e5c5e1b54c8ae8d948f4c8","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"275a9f3ef8fabb0cb282a62b9e164dedba7284c5","status":"affected"},{"type":"git","introduced":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","fixed":"5d609ba262475db450ba69b8e8a557bd768ac07a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.64","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.11","lastAffected":"6.11.*","status":"unaffected"},{"type":"semver","introduced":"6.12.2","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.64"},{"status":"affected","introduced":"6.7","fixed":"6.11.11"},{"status":"affected","introduced":"6.12","fixed":"6.12.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d3f5763b3062514a234114e97bbde74d8d702449","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d26d977633d1d0b8bf9407278189bd0a8d973323","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1f54c61c4c9a5244eb8159dce60d248f7d97b32","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f58d3aa457e77a3d9b3df2ab081dcf9950f6029f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98c7ea7d11f2588e8197db042e0291e4ac8f8346","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/785180bed9879680d8e5c5e1b54c8ae8d948f4c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/275a9f3ef8fabb0cb282a62b9e164dedba7284c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d609ba262475db450ba69b8e8a557bd768ac07a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:58:21.307Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56720","url":"https://www.cve.org/CVERecord?id=CVE-2024-56720","licence":"CVE Terms of Use","modified":"2026-08-05T11:46:18.145Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56720","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56720","licence":"Public domain","modified":"2026-08-04T11:22:25.153Z"}],"updatedAt":"2026-11-25T22:58:50.554Z","epss":{"score":0.00244,"percentile":0.16659,"date":"2026-12-01T12:00:22.000Z"}}