← CVE Intelligence

CVE-2024-42068

bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro() PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 60a3b2253c413cf601783b070507d7dd6620c954 before a359696856ca9409fb97655c5a8ef0f549cb6e03; affected 60a3b2253c413cf601783b070507d7dd6620c954 before e4f602e3ff749ba770bf8ff10196e18358de6720; affected 60a3b2253c413cf601783b070507d7dd6620c954 before 2bbfffa802adc30b772d0e0f881a13c3804a965c; affected 60a3b2253c413cf601783b070507d7dd6620c954 before 05412471beba313ecded95aa17b25fe84bb2551a; affected 60a3b2253c413cf601783b070507d7dd6620c954 before 7d2cc63eca0c993c99d18893214abf8f85d566d8
Linux / Linuxaffected 3.18; unaffected 0 before 3.18; unaffected 5.15.162 through 5.15.*; unaffected 6.1.97 through 6.1.*; unaffected 6.6.160 through 6.6.*; unaffected 6.9.8 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.