CVE-2024-42067
JSON

7.8high

bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro() set_memory_rox() can fail, leaving memory unprotected. Check return and bail out when bpf_jit_binary_lock_ro() returns an error.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d48567c9a0d1e605639f8a8705a61bbb55fb4e84 before c20d0fa873039bce82d4b1b2ffcda8bb22242790, from d48567c9a0d1e605639f8a8705a61bbb55fb4e84 before 044da7ae7afd4ef60806d73654a2e6a79aa4ed7a, from d48567c9a0d1e605639f8a8705a61bbb55fb4e84 before e60adf513275c3a38e5cb67f7fd12387e43a3ff5, 6.2
Not affected: before 6.2, from 6.6.160 up to 6.6.*, from 6.9.8 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelbefore 6.6.37, from 6.7 before 6.9.8NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-252

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro() set_memory_rox() can fail, leaving memory unprotected. Check return and bail out when bpf_jit_binary_lock_ro() returns an error.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42067 changed 2026-10-21CVE Terms of Use
NVDCVE-2024-42067 changed 2026-10-21Public domain