CVE-2025-40124

Description

A flaw was found in the Linux kernel's SPARC architecture implementation during memory copy operations on UltraSPARC III hardware. When handling a fault while copying data between user space and kernel space, the exception handling routine incorrectly calculates the number of remaining uncopied bytes. A local user could exploit this issue to return invalid byte counts to kernel subsystems, triggering an internal kernel failure and leading to a system crash that causes a Denial of Service (DoS).

Statement

This vulnerability does not affect Red Hat Enterprise Linux as Red Hat does not build or support kernels for the SPARC architecture. The flaw is confined to exception handling routines during memory copy operations on UltraSPARC III hardware. Consequently, supported Red Hat platforms are not impacted.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, an attacker can still cause a denial of service if they can trigger an assert statement, and if the scope of the assert() extends beyond the attacker's own session. For example, if a server handles multiple simultaneous connections, if an assert() occurs in one single connection that causes all other connections to be dropped, this could be a significant denial of service.

Frequently Asked Questions

Want to get errata notifications? Sign up here.