CVE-2025-38434
MinimOS vulnerability analysis and mitigation

Overview

CVE-2025-38434 is a vulnerability discovered in the Linux kernel related to the TASK_SIZE_MAX implementation for the __access_ok() function on RISC-V architecture. The vulnerability was disclosed on July 25, 2025, and affects the Linux kernel's memory access validation mechanism (NVD, RedHat).

Technical details

The vulnerability stems from a change that set TASK_SIZE_MAX to LONG_MAX to optimize access_ok() function, instead of using the default TASK_SIZE value. While the optimization was intended to simplify kernel address filtering (as user addresses are less than LONG_MAX and kernel addresses are greater than LONG_MAX), it introduced a security flaw. The issue occurs because addresses between TASK_SIZE and LONG_MAX, while not valid user addresses, were being allowed to pass through access_ok(). The vulnerability becomes particularly problematic with get_user_pages_fast() function, which accepts addresses in this range, affecting services like futex() (RedHat).

Impact

The vulnerability has been assigned a moderate severity rating with a CVSS 3.1 base score indicating local access requirements (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). The primary impact is on system availability, as the flaw could potentially lead to system instability or crashes when exploited (RedHat).

Mitigation and workarounds

The vulnerability has been resolved by reverting the commit that changed TASK_SIZE_MAX to LONG_MAX. The fix returns TASK_SIZE_MAX to its default value of TASK_SIZE. While this solution results in reduced performance due to more expensive computation requirements, it prioritizes security over optimization (RedHat).

Additional resources


SourceThis report was generated using AI

Related MinimOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22771HIGH8.8
  • MinimOSMinimOS
  • datadog-agent-7
NoYesJan 12, 2026
CVE-2026-22801MEDIUM6.8
  • OpenJDK JDKOpenJDK JDK
  • libpng1.6
NoYesJan 12, 2026
CVE-2026-22695MEDIUM6.1
  • OpenJDK JDKOpenJDK JDK
  • mingw32-libpng
NoYesJan 12, 2026
CVE-2026-22772MEDIUM5.8
  • WolfiWolfi
  • slsa-verifier
NoYesJan 12, 2026
CVE-2026-22703MEDIUM5.5
  • WolfiWolfi
  • github.com/sigstore/cosign/v2
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management