CVE-2024-56720

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56720
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56720.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56720
Downstream
Related
Published
2024-12-29T11:29:58.345Z
Modified
2025-11-27T19:34:43.296736Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
bpf, sockmap: Several fixes to bpf_msg_pop_data
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf, sockmap: Several fixes to bpfmsgpop_data

Several fixes to bpfmsgpopdata, 1. In skmsgshiftleft, we should putpage 2. if (len == 0), return early is better 3. pop the entire skmsg (last == msg->sg.size) should be supported 4. Fix for the value of variable "a" 5. In skmsgshiftleft, after shifting, i has already pointed to the next element. Addtional skmsgitervar_next may result in BUG.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2024/56xxx/CVE-2024-56720.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
d3f5763b3062514a234114e97bbde74d8d702449
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
d26d977633d1d0b8bf9407278189bd0a8d973323
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
e1f54c61c4c9a5244eb8159dce60d248f7d97b32
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
f58d3aa457e77a3d9b3df2ab081dcf9950f6029f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
98c7ea7d11f2588e8197db042e0291e4ac8f8346
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
785180bed9879680d8e5c5e1b54c8ae8d948f4c8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
275a9f3ef8fabb0cb282a62b9e164dedba7284c5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7246d8ed4dcce23f7509949a77be15fa9f0e3d28
Fixed
5d609ba262475db450ba69b8e8a557bd768ac07a

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.64
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.11
Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2