Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-42067

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to < c20d0fa873039bce82d4b1b2ffcda8bb22242790affected
  • d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to < 044da7ae7afd4ef60806d73654a2e6a79aa4ed7aaffected
  • d48567c9a0d1e605639f8a8705a61bbb55fb4e84 to < e60adf513275c3a38e5cb67f7fd12387e43a3ff5affected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.9.8 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References