CVE-2024-57945
Description
A flaw was found in the Linux kernel's RISC-V memory management subsystem. When initializing memory pages under the sparse virtual memory map model, an improper offset calculation can produce an out-of-bounds memory address when the physical RAM base is not aligned with the section boundary. A local attacker could leverage this issue to trigger a system crash, resulting in a Denial of Service (DoS), or potentially cause memory corruption.
Statement
This vulnerability does not impact Red Hat Enterprise Linux or other Red Hat offerings because the flaw resides entirely within the RISC-V architecture memory management subsystem. Red Hat does not support or distribute kernels for the RISC-V hardware platform. As a result, supported Red Hat environments are not affected by this flaw.
Understanding the Weakness (CWE)
Integrity,Availability
Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart
Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash.
Integrity,Confidentiality,Availability,Access Control,Other
Technical Impact: Execute Unauthorized Code or Commands; Modify Memory; Bypass Protection Mechanism; Other
If the corrupted memory can be effectively controlled, it may be possible to execute arbitrary code. If the corrupted memory is data rather than instructions, the system will continue to function with improper changes, possibly in violation of an implicit or explicit policy. The consequences would only be limited by how the affected data is used, such as an adjacent memory location that is used to specify whether the user has special privileges.
Access Control,Other
Technical Impact: Bypass Protection Mechanism; Other
When the consequence is arbitrary code execution, this can often be used to subvert any other security service.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.