Read the docs
TI-2022-25181 Aliases CVE-2022-49674GHSA-7522-w99f-pjfx

dm raid: fix accesses beyond end of raid member array

Priority LOW 31CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · High
Fix status
Partial Red Hat: 8 fixed, 3 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: 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).

Why it matters now

EPSS 0.00289 21st percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.14.287, 4.19.251, 5.4.204 +4Red Hat: 4 advisoriesRed Hat: 8 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.8 and later4.14.287, 4.19.251, 5.4.204, 5.10.129, 5.15.53, 5.18.10, 5.19Patch availableCNA
  • Linux VendorLinux Affected 4.8 and later Fixed in 4.14.287, 4.19.251, 5.4.204, 5.10.129, 5.15.53, 5.18.10, 5.19 Patch available CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*before 4.14.287; 4.15 to before 4.19.251; 4.20 to before 5.4.204; 5.5 to before 5.10.129; 5.11 to before 5.15.53; 5.16 to before 5.18.10VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*5.19 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*5.19 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*5.19 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.19:rc4:*:*:*:*:*:*5.19 rc4VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 4.14.287; 4.15 to before 4.19.251; 4.20 to before 5.4.204; 5.5 to before 5.10.129; 5.11 to before 5.15.53; 5.16 to before 5.18.10 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:* Versions 5.19 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:* Versions 5.19 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:* Versions 5.19 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.19:rc4:*:*:*:*:*:* Versions 5.19 rc4 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.14.287, 4.19.251, 5.4.204, 5.10.129, 5.15.53, 5.18.10, 5.19

Red Hat 4 advisories

  • RHSA-2026:7003 Released 2026-04-08 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux BaseOS AUS (v.8.4) bpftool-4.18.0-305.188.1.el8_4, kernel-4.18.0-305.188.1.el8_4, kernel-abi-stablelists-4.18.0-305.188.1.el8_4 +14
    • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) bpftool-4.18.0-305.188.1.el8_4, kernel-4.18.0-305.188.1.el8_4, kernel-abi-stablelists-4.18.0-305.188.1.el8_4 +14
  • RHSA-2026:6961 Released 2026-04-08 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.187.1.el8_6, kernel-4.18.0-372.187.1.el8_6, kernel-abi-stablelists-4.18.0-372.187.1.el8_6 +14
    • Red Hat Enterprise Linux BaseOS E4S (v.8.6) bpftool-4.18.0-372.187.1.el8_6, kernel-4.18.0-372.187.1.el8_6, kernel-abi-stablelists-4.18.0-372.187.1.el8_6 +19
    • Red Hat Enterprise Linux BaseOS TUS (v.8.6) bpftool-4.18.0-372.187.1.el8_6, kernel-4.18.0-372.187.1.el8_6, kernel-abi-stablelists-4.18.0-372.187.1.el8_6 +14
  • RHSA-2026:6953 Released 2026-04-08 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) bpftool-4.18.0-193.193.1.el8_2, kernel-4.18.0-193.193.1.el8_2, kernel-abi-whitelists-4.18.0-193.193.1.el8_2 +14
Show 1 more Red Hat advisories
  • RHSA-2022:7683 Released 2022-11-08 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-425.3.1.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-425.3.1.el8, kernel-4.18.0-425.3.1.el8, kernel-abi-stablelists-4.18.0-425.3.1.el8 +19

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Out of support scope
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2022:7683
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:7683
Red Hat Enterprise Linux BaseOS AUS (v. 8.2)Fixed RHSA-2026:6953
Red Hat Enterprise Linux BaseOS AUS (v.8.4)Fixed RHSA-2026:7003
Red Hat Enterprise Linux BaseOS AUS (v.8.6)Fixed RHSA-2026:6961
Red Hat Enterprise Linux BaseOS E4S (v.8.6)Fixed RHSA-2026:6961
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4)Fixed RHSA-2026:7003
Red Hat Enterprise Linux BaseOS TUS (v.8.6)Fixed RHSA-2026:6961
Not affected: 2 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-49674
  2. 2026-10-03 Alias added: GHSA-7522-w99f-pjfx

References

  • 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
See all 15278 →

Sources