Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-38434

7.8 · HIGH
Published Jul 25, 2025 linux EPSS 0.17% (7th pctl)

Overview

CVE-2025-38434 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 25, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

Revert "riscv: Define TASK_SIZE_MAX for __access_ok()"

This reverts commit ad5643cf2f69 ("riscv: Define TASK_SIZE_MAX for

__access_ok()").

This commit changes TASK_SIZE_MAX to be LONG_MAX to optimize access_ok(),

because the previous TASK_SIZE_MAX (default to TASK_SIZE) requires some

computation.

The reasoning was that all user addresses are less than LONG_MAX, and all

kernel addresses are greater than LONG_MAX. Therefore access_ok() can

filter kernel addresses.

Addresses between TASK_SIZE and LONG_MAX are not valid user addresses, but

access_ok() let them pass. That was thought to be okay, because they are

not valid addresses at hardware level.

Unfortunately, one case is missed: get_user_pages_fast() happily accepts

addresses between TASK_SIZE and LONG_MAX. futex(), for instance, uses

get_user_pages_fast(). This causes the problem reported by Robert [1].

Therefore, revert this commit. TASK_SIZE_MAX is changed t

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.10, < 6.12.36 Affected

Frequently Asked Questions

What is CVE-2025-38434?

CVE-2025-38434 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 25, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38434?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38434?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38434?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38434 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.