Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-71225— md: suspend array while updating raid_disks via sysfs

EPSS 0.01% · P2
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-71225

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
md: suspend array while updating raid_disks via sysfs
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于通过sysfs更新raid_disks时未正确挂起阵列,可能导致越界内存访问和内存池问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux e2d59925221cd562e07fee38ec8839f7209ae603 ~ 165d1359f945b72c5f90088f60d48ff46115269e -
LinuxLinux 3.10 -

II. Public POCs for CVE-2025-71225

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-71225

登录查看更多情报信息。

Same Patch Batch · Linux · 2026-02-18 · 31 CVEs total

CVE-2026-232308.8 HIGHsmb: client: split cached_fid bitfields to avoid shared-byte RMW races
CVE-2026-232268.8 HIGHksmbd: add chann_lock to protect ksmbd_chann_list xarray
CVE-2026-232277.8 HIGHdrm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to
CVE-2026-232257.8 HIGHsched/mmcid: Don't assume CID is CPU owned on mode switch
CVE-2026-232247.8 HIGHerofs: fix UAF issue for file-backed mounts w/ directio option
CVE-2026-232227.8 HIGHcrypto: omap - Allocate OMAP_CRYPTO_FORCE_COPY scatterlists correctly
CVE-2025-71234wifi: rtl8xxxu: fix slab-out-of-bounds in rtl8xxxu_sta_add
CVE-2026-23229crypto: virtio - Add spinlock protection with virtqueue notification
CVE-2026-23228smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
CVE-2026-23223xfs: fix UAF in xchk_btree_check_block_owner
CVE-2026-23221bus: fsl-mc: fix use-after-free in driver_override_show()
CVE-2026-23220ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
CVE-2025-71237nilfs2: Fix potential block overflow that cause system hang
CVE-2025-71236scsi: qla2xxx: Validate sp before freeing associated memory
CVE-2025-71235scsi: qla2xxx: Delay module unload while fabric scan in progress
CVE-2026-23211mm, swap: restore swap_space attr aviod kernel panic
CVE-2025-71233PCI: endpoint: Avoid creating sub-groups asynchronously
CVE-2025-71232scsi: qla2xxx: Free sp in error path to fix system crash
CVE-2025-71231crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode
CVE-2025-71230hfs: ensure sb->s_fs_info is always cleaned up

Showing top 20 of 31 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2025-71225

No comments yet


Leave a comment