In the Linux kernel, the following vulnerability has been resolved:
dm raid: fix accesses beyond end of raid member array
On dm-raid table load (using raid_ctr), dm-raid allocates an array rs->devs[rs->raid_disks] for the raid device members. rs->raid_disks is defined by the number of raid metadata and image tupples passed into the target's constructor.
In the case of RAID layout changes being requested, that number can be different from the current number of members for existing raid sets as defined in their superblocks. Example RAID layout changes include: - raid1 legs being added/removed - raid4/5/6/10 number of stripes changed (stripe reshaping) - takeover to higher raid level (e.g. raid5 -> raid6)
When accessing array members, rs->raid_disks must be used in control loops instead of the potentially larger value in rs->md.raid_disks. Otherwise it will cause memory access beyond the end of the rs->devs array.
Fix this by changing code that is prone to out-of-bounds access. Also fix validate_raid_redundancy() to validate all devices that are added. Also, use braces to help clean up raid_iterate_devices().
The out-of-bounds memory accesses was discovered using KASAN.
This commit was verified to pass all LVM2 RAID tests (with KASAN enabled).
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-debuginfoUpgrade kernel-livepatch-5.15.54-25.126Upgrade kernel-tools-develUpgrade kernel-livepatch-5.10.130-118.517Upgrade kernel-tools-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade python-perf-debuginfoUpgrade kernelUpgrade kernel-develUpgrade kernel-livepatch-4.14.287-215.504Upgrade kernel-debuginfo-common-aarch64Upgrade perfUpgrade python-perfUpgrade bpftoolUpgrade bpftool-debuginfoUpgrade perf-debuginfoUpgrade kernel-tools | May 21, 2025 | Feb 26, 2025 |
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Huawei Euleros 2_0_sp10 | — | Upgrade perfUpgrade kernel-toolsUpgrade kernel-tools-libs-develUpgrade bpftoolUpgrade kernelUpgrade kernel-headersUpgrade kernel-develUpgrade kernel-tools-libs | May 13, 2025 | Feb 26, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernel-tools-libsUpgrade python3-perfUpgrade kernelUpgrade kernel-toolsUpgrade bpftoolUpgrade kernel-abi-stablelists | Jul 1, 2025 | Feb 26, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-azure-fde-5.15Upgrade linux-gkeUpgrade linux-gcp-fipsUpgrade linux-aws-fipsUpgrade linux-intel-iotgUpgrade linux-ibm-5.4Upgrade linux-hwe-5.4Upgrade linux-gkeopUpgrade linux-gcp-5.4Upgrade linux-fipsUpgrade linux-awsUpgrade linux-azure-fipsUpgrade linux-oracle-5.4Upgrade linuxUpgrade linux-riscv-5.15Upgrade linux-gcpUpgrade linux-azure-5.15Upgrade linux-raspi-5.4Upgrade linux-gcp-5.15Upgrade linux-kvmUpgrade linux-intel-iotg-5.15Upgrade linux-bluefieldUpgrade linux-lowlatencyUpgrade linux-azureUpgrade linux-realtimeUpgrade linux-gcp-4.15Upgrade linux-aws-5.15Upgrade linux-azure-5.4Upgrade linux-hwe-5.15Upgrade linux-azure-4.15Upgrade linux-oracle-5.15Upgrade linux-raspiUpgrade linux-oracleUpgrade linux-ibmUpgrade linux-lowlatency-hwe-5.15Upgrade linux-aws-5.4Upgrade linux-azure-fdeUpgrade linux-iotUpgrade linux-hweUpgrade linux-aws-hweUpgrade linux-nvidia | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub