CVE-2025-38434

Description

A flaw was found in the Linux kernel's RISC-V architecture implementation. An improper memory boundary check allows out-of-range memory addresses to pass access validation. A local attacker can exploit this issue by supplying invalid addresses to kernel memory handling routines, potentially leading to system instability or a denial of service.

Statement

This vulnerability does not affect Red Hat Enterprise Linux as the affected RISC-V architecture code is not present in supported Red Hat kernel packages. The flaw stems from improper user-space memory boundary validation within upstream RISC-V implementations, which could permit local processes to supply out-of-range user memory addresses to kernel memory handling routines. Because Red Hat products do not include this architecture-specific change, there is no operational or security risk to Red Hat deployments.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the dereferencing operation is for a read, then the attack might allow reading of sensitive data, cause a crash, or set a variable to an unexpected value (since the value will be read from an unexpected memory location).

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the untrusted pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" or larger than expected by a read or write operation, the application may terminate unexpectedly.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands; Modify Memory

If the pointer is dereferenced for a write operation, the attack might allow modification of critical state variables, cause a crash, or execute code. If the untrusted pointer is used in a function call, then the attacker might be able to call arbitrary functions.

Frequently Asked Questions

Want to get errata notifications? Sign up here.