Linux Kernel
CVE-2025-38445
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local RAID-admin privileges (CAP_SYS_ADMIN)
-
DeliveryTrigger reshape of active RAID1 array
-
Exploitconf->r1bio_pool.wait.head left on returned stack frame
-
Executionmempool_alloc failure invokes wake_up on stale address
-
ImpactKernel panic (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires local access with privileges to administer the Linux software-RAID (md) subsystem and an active RAID1 array that is being reshaped via raid1_reshape(); this is operator/admin-dependent (CAP_SYS_ADMIN), not remote or unauthenticated. The fault is reached only after the reshape reassigns conf->r1bio_pool from a stack-allocated newpool and a later r1bio mempool_alloc failure pushes curr_nr below min_nr, so mempool_free() calls wake_up() on the stale stack address. Limiting factors: local vector only (AV:L), privileged RAID management, dependence on a memory-allocation-failure path the attacker does not directly control, and applicability only to kernels carrying the vulnerable md/raid1 code (notably 6.16-rc1 through rc3 and unpatched stable backports). |
| Impact | This is a locally-triggered, privilege-dependent denial-of-service in the Linux kernel md/raid1 driver, not a broadly exploitable remote threat. The input CVSS of 7.1 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H) already reflects local access and some privilege requirement; the real-world signals reinforce low urgency: EPSS is only 0.20% (10th percentile), there is no CISA KEV listing, and no public exploit or PoC reference appears in the sources. The vuln.today decision label is 'this_week', consistent with a fixable kernel bug rather than an emergency. One conflict worth flagging: the input vector asserts C:H, but the described mechanism is a stack use-after-return in raid1_reshape() where conf->r1bio_pool.wait.head is left pointing at a returned stack frame, and a later wake_up() on that stale address causes a kernel panic - that is an availability impact, so the C:H rating appears overstated relative to the described behavior (CWE-125 out-of-bounds read is the assigned weakness, but the documented outcome is a crash). Also note the input uses PR:L, whereas initiating a RAID1 reshape realistically requires RAID administration privileges (CAP_SYS_ADMIN), arguing for PR:H. The affected CPEs center on 6.16 release candidates (rc1-rc3), which are not production-deployed, further lowering practical risk; patched stable backports exist (eight kernel.org commits). Net: a genuine stability bug that administrators should patch on schedule, but not a priority emergency. |
| Exploit ScenarioDerived | A local actor with privileges to manage the software-RAID subsystem initiates a reshape of an active RAID1 array; afterwards, conf->r1bio_pool.wait.head references a freed stack address. When a subsequent r1bio mempool allocation fails and mempool_free() drives curr_nr below min_nr, wake_up() dereferences the stale stack pointer and panics the kernel. No public exploit code is identified in the sources, and the path depends on an allocation-failure condition rather than a directly controllable input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Local, privilege-dependent denial of service in the Linux kernel md/raid1 driver: raid1_reshape() creates a mempool_t on the stack and copies it into conf->r1bio_pool, so the pool's wait-queue head keeps pointing at reclaimed stack memory. When a later r1bio allocation fails and mempool_free() takes the wake_up() path, the kernel dereferences that stale address and panics, meaning an operator with privileges to administer Linux software RAID (CAP_SYS_ADMIN) can crash a system that is reshaping a RAID1 array. Exploitation requires local access and administrator-level RAID control, and the fault additionally depends on a memory-allocation-failure path the attacker does not directly control; no public exploit code was identified at time of analysis, EPSS is 0.20% (10th percentile), and the issue is not in CISA KEV.
RemediationAI
Patch available per vendor advisory: update to a kernel build that contains the upstream md/raid1 corrections listed in the references (the Linux stable commits 12b00ec99624f8da8c325f2dd6e807df26df0025, 48da050b4f54ed639b66278d0ae6f4107b2c4e2d, 5f35e48b76655e45522df338876dfef88dafcc71, 61fd5e93006cf82ec8ee5c115ab5cf4bbd104bdb, 776e6186dc9ecbdb8a1b706e989166c8a99bbf64, d67ed2ccd2d1dcfda9292c0ea8697a9d0f2f0d98, d8a6853d00fbaa810765c8ed2f452a5832273968 and df5894014a92ff0196dbc212a7764e97366fd2b7); released patched version numbers for each distribution are not independently confirmed here, so apply the kernel update published by your vendor, with Debian LTS guidance at https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html and https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html. Until the fixed kernel is running, the practical compensating control is to defer RAID1 reshape operations on affected hosts, since the stale wait-queue pointer is only consumed after raid1_reshape() has reassigned conf->r1bio_pool - the trade-off is that intended capacity, layout or redundancy reconfiguration stays pending. Restrict who can administer md arrays (mdadm/ioctl access gated by CAP_SYS_ADMIN), which reduces exposure to the privileged local actor the assessed vector requires but does not remove the latent defect for legitimate operators. Note that a reshape already in progress should be allowed to complete before patching, as interrupting it carries its own array-synchronization risk.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The md/raid1 personality of the Linux kernel's software RAID (md) subsystem allocates its r1bio mempool during raid1_reshape(). In the vulnerable code the replacement mempool (newpool) is declared as a stack local, initialized with mempool_init(), and then assigned by value into the persistent conf->r1bio_pool. The mempool_t embeds a wait_queue_head_t, so the assignment leaves conf->r1bio_pool.wait.head pointing at an address inside raid1_reshape()'s stack frame that is invalid once the function returns - a stack use-after-return that maps to the CWE-125 out-of-bounds/out-of-scope read class, since the kernel later reads memory it no longer owns. The stale pointer is only consumed on the error path: if mempool_alloc() fails during alloc_r1bio() from raid1_read_request() or raid1_write_request(), remove_element() decrements curr_nr below min_nr, and a subsequent mempool_free() enters the branch that calls wake_up() on the corrupted wait queue, producing a kernel panic. The upstream fix reinitializes conf->r1bio_pool.wait after the newpool assignment so the wait queue references valid, heap-resident kernel memory. Consistent with the assessed vector, impact is availability-only denial of service for kernels carrying the vulnerable md/raid1 code, including the 6.16-rc1 through 6.16-rc3 development snapshots and unpatched stable backports; the trigger depends on reshape administration plus an allocation failure, and is not a data-confidentiality issue despite the CWE-125 classification and the buffer-overflow/information-disclosure tags attached to the CVE record.
Know when Debian Linux gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Reshape requires RAID-admin privileges (PR:H) and the panic depends on an allocation-failure path not attacker-controlled (AC:H); impact is a kernel panic, so A:H with C:N/I:N.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
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.wait after assigning newpool.
Executive ViewAI
A high-severity vulnerability in the Linux kernel's md/raid1 driver can cause system crashes during RAID1 reshape operations. Only administrators with local access and specific privileges can trigger the flaw, and exploitation depends on a memory allocation failure that is not under attacker control. While the impact is limited to availability and requires privileged access, any unplanned downtime of critical Linux servers could disrupt business operations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
More in Debian Linux
View allApache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB