{"id":"CVE-2024-42067","published":"2024-07-29T15:52:31Z","modified":"2026-10-21T12:34:57Z","title":"bpf: Take return from set_memory_rox() into account with bpf_jit_binary_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_rox() into account with bpf_jit_binary_lock_ro()\n\nset_memory_rox() can fail, leaving memory unprotected.\n\nCheck return and bail out when bpf_jit_binary_lock_ro() returns\nan 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.00329,"percentile":0.18409,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c20d0fa873039bce82d4b1b2ffcda8bb22242790","tags":[]},{"url":"https://git.kernel.org/stable/c/044da7ae7afd4ef60806d73654a2e6a79aa4ed7a","tags":[]},{"url":"https://git.kernel.org/stable/c/e60adf513275c3a38e5cb67f7fd12387e43a3ff5","tags":[]},{"url":"https://git.kernel.org/stable/c/08f6c05feb1db21653e98ca84ea04ca032d014c7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/9fef36cad60d4226f9d06953cd56d1d2f9119730","tags":["x_transferred"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":3.68},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d48567c9a0d1e605639f8a8705a61bbb55fb4e84, < c20d0fa873039bce82d4b1b2ffcda8bb22242790",">= d48567c9a0d1e605639f8a8705a61bbb55fb4e84, < 044da7ae7afd4ef60806d73654a2e6a79aa4ed7a",">= d48567c9a0d1e605639f8a8705a61bbb55fb4e84, < e60adf513275c3a38e5cb67f7fd12387e43a3ff5"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:19:56.137791Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39899","exploited":false,"provenance":"source"}}