CVE-2025-22069
Description
A flaw was found in the Linux kernel's RISC-V architecture implementation. When function tracing is enabled, a mismatch between the stack layout and the expected register structure during function return handling can corrupt execution context. A privileged local user can exploit this vulnerability while enabling dynamic trace probes, resulting in kernel warnings, unexpected behavior, or a Denial of Service (DoS) caused by system instability.
Statement
This vulnerability does not present a security risk to Red Hat Enterprise Linux as the affected code is not present in supported kernel releases. The flaw is confined to the function graph tracer stack implementation specific to the RISC-V architecture. Because Red Hat does not ship the upstream kernel versions containing this architecture-specific issue, supported environments remain unaffected.
Understanding the Weakness (CWE)
Other,Access Control
Technical Impact: Quality Degradation; Gain Privileges or Assume Identity; Unexpected State; Varies by Context
This weakness can cause unintended, always-incorrect behavior. It can lead to additional weaknesses such as allowing an attacker to gain unintended access to system resources.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.