CVE-2022-49674
publisheddm raid: fix accesses beyond end of raid member array
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux33e53f06850f44ec9722e08a993ecf8816e447a5 to < 5e161a8826b63c0b8b43e4a7fad1f956780f42ab · 33e53f06850f44ec9722e08a993ecf8816e447a5 to < df1a5ab0dd0775f2ea101c71f2addbc4c0ea0f85 · 33e53f06850f44ec9722e08a993ecf8816e447a5 to < 90de15357504c8097ab29769dc6852e16281e9e8 · 33e53f06850f44ec9722e08a993ecf8816e447a5 to < 9bf2b0757b04c78dc5d6e3a198acca98457b32a1 · 33e53f06850f44ec9722e08a993ecf8816e447a5 to < 6352b2f4d8e95ec0ae576d7705435d64cfa29503 · 33e53f06850f44ec9722e08a993ecf8816e447a5 to < bcff98500ea3b4e7615ec31d2bdd326bc1ef5134 · 33e53f06850f44ec9722e08a993ecf8816e447a5 to < 332bd0778775d0cf105c4b9e03e460b590749916 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 4.14.287 through 4.14.* (unaffected · semver) · 4.19.251 through 4.19.* (unaffected · semver) · 5.4.204 through 5.4.* (unaffected · semver) · 5.10.129 through 5.10.* (unaffected · semver) · 5.15.53 through 5.15.* (unaffected · semver) · 5.18.10 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1825 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-018 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-005 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-033 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-whitelistsnoarch | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-193.193.1.el8_2 | RHSA-2026:6953 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-305.188.1.el8_4 | RHSA-2026:7003 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-372.187.1.el8_6 | RHSA-2026:6961 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 33e53f06850f44ec9722e08a993ecf8816e447a5 to < 5e161a8826b63c0b8b43e4a7fad1f956780f42ab (affected · git)33e53f06850f44ec9722e08a993ecf8816e447a5 to < df1a5ab0dd0775f2ea101c71f2addbc4c0ea0f85 (affected · git)33e53f06850f44ec9722e08a993ecf8816e447a5 to < 90de15357504c8097ab29769dc6852e16281e9e8 (affected · git)33e53f06850f44ec9722e08a993ecf8816e447a5 to < 9bf2b0757b04c78dc5d6e3a198acca98457b32a1 (affected · git)33e53f06850f44ec9722e08a993ecf8816e447a5 to < 6352b2f4d8e95ec0ae576d7705435d64cfa29503 (affected · git)33e53f06850f44ec9722e08a993ecf8816e447a5 to < bcff98500ea3b4e7615ec31d2bdd326bc1ef5134 (affected · git)33e53f06850f44ec9722e08a993ecf8816e447a5 to < 332bd0778775d0cf105c4b9e03e460b590749916 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.8 (affected)0 to < 4.8 (unaffected · semver)4.14.287 through 4.14.* (unaffected · semver)4.19.251 through 4.19.* (unaffected · semver)5.4.204 through 5.4.* (unaffected · semver)5.10.129 through 5.10.* (unaffected · semver)5.15.53 through 5.15.* (unaffected · semver)5.18.10 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/332bd0778775d0cf105c4b9e03e460b590749916
- https://git.kernel.org/stable/c/5e161a8826b63c0b8b43e4a7fad1f956780f42ab
- https://git.kernel.org/stable/c/6352b2f4d8e95ec0ae576d7705435d64cfa29503
- https://git.kernel.org/stable/c/90de15357504c8097ab29769dc6852e16281e9e8
- https://git.kernel.org/stable/c/9bf2b0757b04c78dc5d6e3a198acca98457b32a1
- https://git.kernel.org/stable/c/bcff98500ea3b4e7615ec31d2bdd326bc1ef5134
- https://git.kernel.org/stable/c/df1a5ab0dd0775f2ea101c71f2addbc4c0ea0f85
Provider assertions
1Linux · cna
dm raid: fix accesses beyond end of raid member array
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 341663d2fd63dd643003035cd06f3c22f039f6a7e5a784f6730f446c25147ec7
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record