CVE-2024-56720: bpf, sockmap: Several fixes to bpf_msg_pop_data
In the Linux kernel, the following vulnerability has been resolved:
bpf, sockmap: Several fixes to bpfmsgpopdata
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 skmsgitervarnext may result in BUG.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56720?
CVE-2024-56720 has a medium severity rating due to potential impacts on system stability.
How do I fix CVE-2024-56720?
To fix CVE-2024-56720, update your Linux kernel to a version that includes the patch from the upstream repository.
What versions of the Linux kernel are affected by CVE-2024-56720?
CVE-2024-56720 affects Linux kernel versions from 5.0 up to 6.12.2 across various ranges.
What is the impact of CVE-2024-56720 on my system?
The impact of CVE-2024-56720 could lead to potential data loss or system crashes under specific conditions.
Is CVE-2024-56720 a remote or local vulnerability?
CVE-2024-56720 is considered a local vulnerability, requiring local access to exploit.