CVE-2024-42068: bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()
bpf: Take return from setmemoryro() into account with bpfproglockro()
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 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-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-42068?
CVE-2024-42068 has been classified as a high severity vulnerability in the Linux kernel.
How do I fix CVE-2024-42068?
To remediate CVE-2024-42068, upgrade to the latest versions of the Linux kernel specified as patches in the advisory.
Which versions of the Linux kernel are affected by CVE-2024-42068?
CVE-2024-42068 affects Linux kernel versions prior to 5.15.162 and versions between 5.16 and 6.1.97, as well as from 6.2 to 6.6.37, and 6.7 to 6.9.8.
What specific error does CVE-2024-42068 address in the Linux kernel?
CVE-2024-42068 addresses an issue where memory protection may fail due to unchecked return values from set_memory_ro().
Is there a public reference for CVE-2024-42068?
Yes, CVE-2024-42068 has associated public references available in the Linux kernel Git repository.