{"id":"CVE-2024-42067","summary":"bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()","details":"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.","modified":"2026-04-16T04:41:59.922947189Z","published":"2024-07-29T15:52:31.825Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42067.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/044da7ae7afd4ef60806d73654a2e6a79aa4ed7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08f6c05feb1db21653e98ca84ea04ca032d014c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fef36cad60d4226f9d06953cd56d1d2f9119730"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e60adf513275c3a38e5cb67f7fd12387e43a3ff5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42067.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42067"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d48567c9a0d1e605639f8a8705a61bbb55fb4e84"},{"fixed":"044da7ae7afd4ef60806d73654a2e6a79aa4ed7a"},{"fixed":"e60adf513275c3a38e5cb67f7fd12387e43a3ff5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42067.json"}}],"schema_version":"1.7.5"}