CVEvulnerability
CVE-2024-42067
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-29
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-252
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 configurations
• linux linux kernel (< 6.6.37)
• linux linux kernel (>= 6.7 < 6.9.8)
Related
Weakness · CWE (1)
- CWE-252 Unchecked Return Value weakness
References
- https://git.kernel.org/stable/c/044da7ae7afd4ef60806d73654a2e6a79aa4ed7a Patch
- https://git.kernel.org/stable/c/c20d0fa873039bce82d4b1b2ffcda8bb22242790 git.kernel.org
- https://git.kernel.org/stable/c/e60adf513275c3a38e5cb67f7fd12387e43a3ff5 Patch
- https://git.kernel.org/stable/c/044da7ae7afd4ef60806d73654a2e6a79aa4ed7a Patch
- https://git.kernel.org/stable/c/08f6c05feb1db21653e98ca84ea04ca032d014c7 Patch
- https://git.kernel.org/stable/c/9fef36cad60d4226f9d06953cd56d1d2f9119730 Patch
- https://git.kernel.org/stable/c/e60adf513275c3a38e5cb67f7fd12387e43a3ff5 Patch