bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()
CVE-2024-42067 · published 29 Jul 2024
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2024-42067?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to < c20d0fa873039bce82d4b1b2ffcda8bb22242790, d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to < 044da7ae7afd4ef60806d73654a2e6a79aa4ed7a, d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to < e60adf513275c3a38e5cb67f7fd12387e43a3ff5
- Linux Linux: 6.2
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/c20d0fa873039bce82d4b1b2ffcda8bb22242790
- git.kernel.org/stable/c/044da7ae7afd4ef60806d73654a2e6a79aa4ed7a
- git.kernel.org/stable/c/e60adf513275c3a38e5cb67f7fd12387e43a3ff5
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON