CVE-2024-42068: bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()
Vulnerability summary
CVE-2024-42068 is a high (CVSS 7.8) Unchecked Return Value vulnerability in linux. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 29Timeline
- 29-07-2024PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu130 products
- linuxAll versions (No fix recorded) | < 4.15.0-235.247 | < 5.4.0-202.222 | < 5.15.0-121.131 | < 6.8.0-48.48
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1178.191 | < 5.4.0-1136.146 | < 5.15.0-1069.75 | < 6.8.0-1018.20
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 60a3b2253c413cf601783b070507d7dd6620c954, < a359696856ca9409fb97655c5a8ef0f549cb6e03 | ≥ 60a3b2253c413cf601783b070507d7dd6620c954, < e4f602e3ff749ba770bf8ff10196e18358de6720 | ≥ 60a3b2253c413cf601783b070507d7dd6620c954, < 2bbfffa802adc30b772d0e0f881a13c3804a965c | ≥ 60a3b2253c413cf601783b070507d7dd6620c954, < 05412471beba313ecded95aa17b25fe84bb2551a | ≥ 60a3b2253c413cf601783b070507d7dd6620c954, < 7d2cc63eca0c993c99d18893214abf8f85d566d8 | 3.18
- linux_kernel< 5.15.162 | ≥ 5.16, < 6.1.97 | ≥ 6.2, < 6.6.37 | ≥ 6.7, < 6.9.8
Debian1 product
- linux< 6.1.98-1 | < 6.9.8-1
3 vendors · 133 products