What’s Vulnerable › Vulnerabilities

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

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro() set_memory_ro() can fail, leaving memory unprotected. Check its return and take it into account as an error.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.162, 6.1.97, 6.6.37, 6.9.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-42068 or the next vulnerability affects your stack