CVE-2024-42067

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

State
Published
Severity
7.8 High
Published
Jul 29, 2024
Updated
Oct 21, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to before c20d0fa873039bce82d4b1b2ffcda8bb22242790Affected
  • d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to before 044da7ae7afd4ef60806d73654a2e6a79aa4ed7aAffected
  • d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to before e60adf513275c3a38e5cb67f7fd12387e43a3ff5Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.9.8 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.