CVE-2025-71225

Medium

In the Linux kernel, the following vulnerability has been resolved: md: suspend array while updating raid_disks via sysfs In raid1_reshape(), freeze_array() is called before modifying the r1bio memory pool (conf->r1bio_pool) and conf->raid_disks, and unfreeze_array() is called after the update is completed. However, freeze_array() only waits until nr_sync_pending and (nr_pending - nr_queued) of all buckets reaches zero. When an I/O error occurs, nr_queued is increased and the corresponding r1bio is queued to either retry_list or bio_end_io_list. As a result, freeze_array() may unblock before these r1bios are released. This can lead to a situation where conf->raid_disks and the mempool have already been updated while queued r1bios, allocated with the old raid_disks value, are later released. Consequently, free_r1bio() may access memory out of bounds in put_all_bios() and release r1bios of the wrong size to the new mempool, potentially causing issues with the mempool as well. Since only normal I/O might increase nr_queued while an I/O error occurs, suspending the array avoids this issue. Note: Updating raid_disks via ioctl SET_ARRAY_INFO already suspends the array. Therefore, we suspend the array when updating raid_disks via sysfs to avoid this issue too.

Package Linux Kernel
Published 2026-02-18
Last modified 2026-03-18
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.3

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H

Weakness type

CWE-367

CVE-2025-71225 is classified as CWE-367

See CWE-367 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 3.4.59, 3.9.7, 3.10 and later are affected. Fixed in 6.12.70, 6.18.10, 6.19 and their respective stable series.

Affected from
≥ 3.4.59 ≥ 3.9.7 ≥ 3.10
Fixed in
✓ 6.12.70 6.12.x ✓ 6.18.10 6.18.x ✓ 6.19

References

The following references provide additional information about CVE-2025-71225 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2025-71225?

    CVE-2025-71225 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.3 out of 10 . It affects Linux kernel versions from 3.4.59 onward and has been patched in 6.12.70, 6.18.10 and 6.19. CVE-2025-71225 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2025-71225?

    CVE-2025-71225 has a CVSS score of 5.3 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H .

  • Is there a patch available for CVE-2025-71225?

    Yes — CVE-2025-71225 has been patched. Fixed versions include 6.12.70, 6.18.10 and 6.19. If you are running Linux kernel 3.4.59 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2025-71225 actively exploited?

    No — CVE-2025-71225 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.