md: suspend array while updating raid_disks via sysfs
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.4.59 to before 3.5; 3.9.7 to before 3.10 | 3.5, 3.10 | Patch available | CNA |
| Linux | Linux | 3.10 and later | 6.6.160, 6.12.70, 6.18.10, 6.19 | Patch available | CNA |
- Linux VendorLinux Affected 3.4.59 to before 3.5; 3.9.7 to before 3.10 Fixed in 3.5, 3.10 Patch available CNA
- Linux VendorLinux Affected 3.10 and later Fixed in 6.6.160, 6.12.70, 6.18.10, 6.19 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.4.59 to before 3.5; 3.9.7 to before 3.10; 3.10.1 to before 6.12.70; 6.13 to before 6.18.10 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.10:-:*:*:*:*:*:* | 3.10 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.10:rc6:*:*:*:*:*:* | 3.10 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:3.10:rc7:*:*:*:*:*:* | 3.10 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* | 6.19 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* | 6.19 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* | 6.19 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.4.59 to before 3.5; 3.9.7 to before 3.10; 3.10.1 to before 6.12.70; 6.13 to before 6.18.10 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.10:-:*:*:*:*:*:* Versions 3.10 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.10:rc6:*:*:*:*:*:* Versions 3.10 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:3.10:rc7:*:*:*:*:*:* Versions 3.10 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* Versions 6.19 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* Versions 6.19 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* Versions 6.19 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 3.5, 3.10
- Fix · CNA Linux (Linux) Fixed in 6.6.160, 6.12.70, 6.18.10, 6.19
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71225
- 2026-10-03 Alias added: GHSA-hr98-gm7c-926r
- 2026-10-19 Weakness changed · CISA ADP
- 2026-10-21 Fix available: Linux/[email protected], Linux/Linux@863b9b7be824a6b2c0587532d3ece3022c6dd451 · CNA
- 2026-10-21 1 new reference · CNA
References
Patch 3
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-71225 · CVE Program
- CVE-2025-71225 · NVD
- FIRST EPSS
- GHSA-hr98-gm7c-926r · GitHub Advisory Database · CC BY 4.0
- CVE-2025-71225 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences