{"id":"CVE-2024-42067","aliases":["CVE-2024-42067"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: bpf: Tener en cuenta el retorno de set_memory_rox() con bpf_jit_binary_lock_ro() set_memory_rox() puede fallar, dejando la memoria desprotegida. Verifique la devolución y el rescate cuando bpf_jit_binary_lock_ro() devuelva un error.","source":"nvd"}],"published":"2024-07-29T15:52:31.825Z","modified":"2026-10-21T13:17:45.390Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"type":"git","introduced":"d48567c9a0d1e605639f8a8705a61bbb55fb4e84","fixed":"c20d0fa873039bce82d4b1b2ffcda8bb22242790","status":"affected"},{"type":"git","introduced":"d48567c9a0d1e605639f8a8705a61bbb55fb4e84","fixed":"044da7ae7afd4ef60806d73654a2e6a79aa4ed7a","status":"affected"},{"type":"git","introduced":"d48567c9a0d1e605639f8a8705a61bbb55fb4e84","fixed":"e60adf513275c3a38e5cb67f7fd12387e43a3ff5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.8","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.6.37"},{"status":"affected","introduced":"6.7","fixed":"6.9.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c20d0fa873039bce82d4b1b2ffcda8bb22242790","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/044da7ae7afd4ef60806d73654a2e6a79aa4ed7a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e60adf513275c3a38e5cb67f7fd12387e43a3ff5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08f6c05feb1db21653e98ca84ea04ca032d014c7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9fef36cad60d4226f9d06953cd56d1d2f9119730","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:19:56.137Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42067","url":"https://www.cve.org/CVERecord?id=CVE-2024-42067","licence":"CVE Terms of Use","modified":"2026-10-21T12:34:57.072Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42067","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42067","licence":"Public domain","modified":"2026-10-21T13:17:45.390Z"}],"updatedAt":"2026-11-25T22:58:43.334Z","epss":{"score":0.00303,"percentile":0.24903,"date":"2026-12-01T12:00:22.000Z"}}