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-38445

7.1 · HIGH
Published Jul 25, 2025 linux CWE-125 EPSS 0.17% (6th pctl)

Overview

CVE-2025-38445 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.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, 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:

md/raid1: Fix stack memory use after return in raid1_reshape

In the raid1_reshape function, newpool is

allocated on the stack and assigned to conf->r1bio_pool.

This results in conf->r1bio_pool.wait.head pointing

to a stack address.

Accessing this address later can lead to a kernel panic.

Example access path:

raid1_reshape()

{

// newpool is on the stack

mempool_t newpool, oldpool;

// initialize newpool.wait.head to stack address

mempool_init(&newpool, ...);

conf->r1bio_pool = newpool;

}

raid1_read_request() or raid1_write_request()

{

alloc_r1bio()

{

mempool_alloc()

{

// if pool->alloc fails

remove_element()

{

--pool->curr_nr;

}

}

}

}

mempool_free()

{

if (pool->curr_nr < pool->min_nr) {

// pool->wait.head is a stack address

// wake_up() will try to access this invalid address

// which leads to a kernel panic

return;

wake_up(&pool->wait);

}

}

Fix:

reinit conf->r1bio_pool.wa

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 >= 4.18, < 5.4.296 Affected

Frequently Asked Questions

What is CVE-2025-38445?

CVE-2025-38445 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.1 (HIGH).

How severe is CVE-2025-38445?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-38445?

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-38445?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38445 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.