Skip to main content
← All vulnerabilities
CVE-2024-42067

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.160, 6.9.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From d48567c9a0d1e605639f8a8705a61bbb55fb4e84 · fixed in c20d0fa873039bce82d4b1b2ffcda8bb22242790; From d48567c9a0d1e605639f8a8705a61bbb55fb4e84 · fixed in 044da7ae7afd4ef60806d73654a2e6a79aa4ed7a; From d48567c9a0d1e605639f8a8705a61bbb55fb4e84 · fixed in e60adf513275c3a38e5cb67f7fd12387e43a3ff5

  • Linux Linux

    6.2

  • KernelLinux

    From 6.2.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.9.8

References 3

git.kernel.org