Back to CVE records
High 7.8Published Jul 29, 2024

CVE-2024-42068bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In 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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 21, 2026
First seen by InfoSec Signals
Oct 21, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 60a3b2253c413cf601783b070507d7dd6620c954 before a359696856ca9409fb97655c5a8ef0f549cb6e03; from 60a3b2253c413cf601783b070507d7dd6620c954 before e4f602e3ff749ba770bf8ff10196e18358de6720; 60a3b2253c413cf601783b070507d7dd6620c954 builds before 2bbfffa802adc30b772d0e0f881a13c3804a965c; from 60a3b2253c413cf601783b070507d7dd6620c954 before 05412471beba313ecded95aa17b25fe84bb2551a; 60a3b2253c413cf601783b070507d7dd6620c954 builds before 7d2cc63eca0c993c99d18893214abf8f85d566d8
CNA record
linux linux_kernel
linux:linux_kernel
before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.