What’s Vulnerable › Vulnerabilities

CVE-2024-42067: bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro() set_memory_rox() can fail, leaving memory unprotected. Check return and bail out when bpf_jit_binary_lock_ro() returns an error.

Affected products

How to fix

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

References

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