CVE-2024-42068: bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()

Published Jul 29, 2024
·
Updated

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

11 affected componentsFixes available
Linux Linux kernel<5.15.162
Linux Linux kernel>=5.16<6.1.97
Linux Linux kernel>=6.2<6.6.37
Linux Linux kernel>=6.7<6.9.8
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Microsoft cbl2 kernel 5.15.160.1-1
Microsoft cbl2 kernel 5.15.160.1-1
Microsoft azl3 kernel 6.6.43.1-7
Microsoft azl3 kernel 6.6.35.1-5
Microsoft cbl2 kernel 5.15.162.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1

Event History

Jul 29, 2024
CVE Published
via MITRE·03:52 PM
Data Sourced
via MITRE·03:52 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 8, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 14, 2024
Data Sourced
via Launchpad·10:44 AM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:32 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-42068?

CVE-2024-42068 has been classified as a high severity vulnerability in the Linux kernel.

2

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.

3

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.

4

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().

5

Is there a public reference for CVE-2024-42068?

Yes, CVE-2024-42068 has associated public references available in the Linux kernel Git repository.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203