CVE-2024-42067
bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()
Reported by linux · Published July 29, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e60adf513275c3a38e5cb67f7fd12387e43a3ff5, c20d0fa873039bce82d4b1b2ffcda8bb22242790, 6.2, 044da7ae7afd4ef60806d73654a2e6a79aa4ed7a |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d48567c9a0d1e605639f8a8705a61bbb55fb4e84, d48567c9a0d1e605639f8a8705a61bbb55fb4e84, d48567c9a0d1e605639f8a8705a61bbb55fb4e84 |
| Linux | Linux | 6.2, 0, 6.6.160 |
| Linux | Linux | 6.6.160, 0, 6.9.8 |
| linux | linux_kernel | 6.2, 6.2, 6.2 |
Timeline
- Jul 29, 2024 CVE Published
- Jul 30, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Jan 7, 2026 Security Advisory (355 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (237 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-42067
vulnetix vdb fixes CVE-2024-42067
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42067/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart