PREVAIL
PREVAIL: Non-singleton typeset in add() skips offset update, allowing OOB access to pass eBPF verification
PREVAIL is a Polynomial-Runtime EBPF Verifier using an Abstract Interpretation Layer. Prior to version 0.2.4, in the Prevail eBPF verifier, EbpfTransformer::add() silently skips offset-variable updates when the destination register carries a non-singleton typeset (two or more simultaneously possible pointer types). Subsequent bounds checks use the stale offset and accept out-of-bounds memory accesses, so a crafted BPF program passes verification even though it would corrupt memory at runtime. This issue has been patched in version 0.2.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.2.4
Fixed in 0.2.4
Mitigation
Upgrade prevail to 0.2.4 or later.
References
- Vendor advisory github.com/vbpf/prevail/security/advisories/GH…
- Patch github.com/vbpf/prevail/commit/2b209bc4e3d612f…
- Release notes github.com/vbpf/prevail/releases/tag/v0.2.4
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.