{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56720","id":"CVE-2024-56720","title":"bpf, sockmap: Several fixes to bpf_msg_pop_data","description":"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 po","descriptionLong":"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.","published":"2024-12-29T11:29:58.345Z","updated":"2026-10-28T02:30:27.143085352Z","reserved":"2024-12-27T15:00:39.858Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"d3f5763b3062514a234114e97bbde74d8d702449","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"d26d977633d1d0b8bf9407278189bd0a8d973323","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"e1f54c61c4c9a5244eb8159dce60d248f7d97b32","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"f58d3aa457e77a3d9b3df2ab081dcf9950f6029f","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"98c7ea7d11f2588e8197db042e0291e4ac8f8346","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"785180bed9879680d8e5c5e1b54c8ae8d948f4c8","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"275a9f3ef8fabb0cb282a62b9e164dedba7284c5","status":"affected","versionType":"git"},{"version":"7246d8ed4dcce23f7509949a77be15fa9f0e3d28","lessThan":"5d609ba262475db450ba69b8e8a557bd768ac07a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.4.287","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.231","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.120","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401","CWE-193"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d3f5763b3062514a234114e97bbde74d8d702449","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d26d977633d1d0b8bf9407278189bd0a8d973323","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e1f54c61c4c9a5244eb8159dce60d248f7d97b32","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f58d3aa457e77a3d9b3df2ab081dcf9950f6029f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/98c7ea7d11f2588e8197db042e0291e4ac8f8346","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/785180bed9879680d8e5c5e1b54c8ae8d948f4c8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/275a9f3ef8fabb0cb282a62b9e164dedba7284c5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5d609ba262475db450ba69b8e8a557bd768ac07a","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56720.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56720","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00244,"epssPercentile":0.15863,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56720","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56720","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56720","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56720","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}