CVE-2022-49674
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49674 is a vulnerability in the Linux kernel's dm-raid module that was discovered and fixed in 2022. The issue occurs during dm-raid table load operations where the device allocates an array rs->devs[rs->raid_disks] for raid device members. The vulnerability manifests when RAID layout changes are requested, as the number of members can differ from the current configuration defined in their superblocks (Kernel Git).

Technical details

The vulnerability stems from improper array access control in the dm-raid module. When accessing array members, the code incorrectly used rs->md.raid_disks instead of rs->raid_disks in control loops, potentially causing memory access beyond the end of the rs->devs array. This issue particularly affects scenarios involving RAID layout changes such as raid1 legs being added/removed, raid4/5/6/10 number of stripes being changed (stripe reshaping), or takeover to higher raid level (e.g., raid5 -> raid6). The out-of-bounds memory access was initially discovered using KASAN (Kernel Address Sanitizer) (Kernel Git).

Impact

The vulnerability could lead to out-of-bounds memory access in the Linux kernel's dm-raid module. This type of vulnerability typically can result in system crashes, memory corruption, or potential privilege escalation, though specific impact details were not publicly disclosed (Kernel Git).

Mitigation and workarounds

The issue was fixed by modifying the code to use rs->raid_disks instead of rs->md.raid_disks in control loops, and adding proper validation for all devices being added. The fix also included cleanup of the raid_iterate_devices() function with proper bracing. The patch was verified to pass all LVM2 RAID tests with KASAN enabled (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management