CVE-2024-42068

I

n the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro() set_memory_ro() can fail, leaving memory unprotected. Check its return and take it into account as an error.

Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

03 Nov 2025, 22:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html -

21 Nov 2024, 09:33

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/05412471beba313ecded95aa17b25fe84bb2551a - Patch () https://git.kernel.org/stable/c/05412471beba313ecded95aa17b25fe84bb2551a - Patch
References () https://git.kernel.org/stable/c/7d2cc63eca0c993c99d18893214abf8f85d566d8 - Patch () https://git.kernel.org/stable/c/7d2cc63eca0c993c99d18893214abf8f85d566d8 - Patch
References () https://git.kernel.org/stable/c/a359696856ca9409fb97655c5a8ef0f549cb6e03 - Patch () https://git.kernel.org/stable/c/a359696856ca9409fb97655c5a8ef0f549cb6e03 - Patch
References () https://git.kernel.org/stable/c/e3540e5a7054d6daaf9a1415a48aacb092112a89 - Patch () https://git.kernel.org/stable/c/e3540e5a7054d6daaf9a1415a48aacb092112a89 - Patch
References () https://git.kernel.org/stable/c/e4f602e3ff749ba770bf8ff10196e18358de6720 - Patch () https://git.kernel.org/stable/c/e4f602e3ff749ba770bf8ff10196e18358de6720 - Patch
References () https://git.kernel.org/stable/c/fdd411af8178edc6b7bf260f8fa4fba1bedd0a6d - Patch () https://git.kernel.org/stable/c/fdd411af8178edc6b7bf260f8fa4fba1bedd0a6d - Patch

30 Jul 2024, 19:02

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-29 16:15

Updated : 2025-11-03 22:17


NVD link : CVE-2024-42068

Mitre link : CVE-2024-42068

CVE.ORG link : CVE-2024-42068


JSON object : View

Products Affected
CWE
CWE-252

Unchecked Return Value