CVE-2025-40079
Description
A flaw was found in the Linux kernel. A local attacker can trigger a Denial of Service (DoS) through a system crash on 64-bit RISC-V systems by running crafted BPF (Berkeley Packet Filter) programs. This issue occurs because the BPF just-in-time (JIT) compiler improperly sign-extends pointer return values for structure operations, leading to an invalid memory dereference.
Statement
This vulnerability does not present a security risk to Red Hat Enterprise Linux as Red Hat does not build or support kernels for the RISC-V architecture. The issue is confined strictly to the 64-bit RISC-V BPF just-in-time compiler when processing return values for structure operations. Deployments across all supported enterprise architectures remain unaffected.
Understanding the Weakness (CWE)
Other,Integrity
Technical Impact: Unexpected State; Quality Degradation
The program could wind up using the wrong number and generate incorrect results. If the number is used to allocate resources or make a security decision, then this could introduce a vulnerability.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.