{"id":"CVE-2024-42068","published":"2024-07-29T15:52:32Z","modified":"2026-10-21T12:34:58Z","title":"bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()\n\nset_memory_ro() can fail, leaving memory unprotected.\n\nCheck its return and take it into account as an error.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0033,"percentile":0.18632,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a359696856ca9409fb97655c5a8ef0f549cb6e03","tags":[]},{"url":"https://git.kernel.org/stable/c/e4f602e3ff749ba770bf8ff10196e18358de6720","tags":[]},{"url":"https://git.kernel.org/stable/c/2bbfffa802adc30b772d0e0f881a13c3804a965c","tags":[]},{"url":"https://git.kernel.org/stable/c/05412471beba313ecded95aa17b25fe84bb2551a","tags":[]},{"url":"https://git.kernel.org/stable/c/7d2cc63eca0c993c99d18893214abf8f85d566d8","tags":[]},{"url":"https://git.kernel.org/stable/c/fdd411af8178edc6b7bf260f8fa4fba1bedd0a6d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e3540e5a7054d6daaf9a1415a48aacb092112a89","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":3.73},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 60a3b2253c413cf601783b070507d7dd6620c954, < a359696856ca9409fb97655c5a8ef0f549cb6e03",">= 60a3b2253c413cf601783b070507d7dd6620c954, < e4f602e3ff749ba770bf8ff10196e18358de6720",">= 60a3b2253c413cf601783b070507d7dd6620c954, < 2bbfffa802adc30b772d0e0f881a13c3804a965c",">= 60a3b2253c413cf601783b070507d7dd6620c954, < 05412471beba313ecded95aa17b25fe84bb2551a",">= 60a3b2253c413cf601783b070507d7dd6620c954, < 7d2cc63eca0c993c99d18893214abf8f85d566d8"]},{"vendor":"Linux","product":"Linux","versions":["3.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:19:52.600102Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39900","exploited":false,"provenance":"source"}}