Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50022

published high CVSS 3.1 · 7.8

drivers:md:fix a potential use-after-free bug

Published
18 Jun 2025, 11:01:25 UTC
Updated
05 Aug 2026, 08:57:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 7470a4314b239e9a9580f248fdf4c9a92805490e · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 09cf99bace7789d91caa8d10fbcfc8b2fb35857f · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13 · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < f5d46f1b47f65da1faf468277b261eb78c8e25b5 · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 5d8325fd15892c8ab1146edc1d7ed8463de39636 · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < d9b94c3ace549433de8a93eeb27b0391fc8ac406 · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < eb3a4f73f43f839df981dda5859e8e075067a360 · 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 104212471b1c1817b311771d817fb692af983173 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.1 (affected) · 0 to < 4.1 (unaffected · semver) · 4.9.326 through 4.9.* (unaffected · semver) · 4.14.291 through 4.14.* (unaffected · semver) · 4.19.256 through 4.19.* (unaffected · semver) · 5.4.211 through 5.4.* (unaffected · semver) · 5.10.138 through 5.10.* (unaffected · semver) · 5.15.63 through 5.15.* (unaffected · semver) · 5.19.4 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2022-1838 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-020 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2022-008 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-036 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 bpftoolx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Red Hat Enterprise Linux RHEL-7 bpftoolppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 7 kernelx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-abi-whitelistsx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-debugx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-debug-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-docx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-headersx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-toolsx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-tools-libsx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-tools-libs-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 python-perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Red Hat Enterprise Linux RHEL-7 bpftoolppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 bpftools390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 bpftoolx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfoppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfoppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfos390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfox86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernelppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernelppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernels390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernelsrc Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernelx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-abi-whitelistsnoarch Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-bootwrapperppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-bootwrapperppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debugppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debugppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debugs390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debugx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfoppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfoppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfos390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfox86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-develppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-develppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-devels390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debug-develx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfoppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfoppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfos390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfox86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-ppc64ppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-ppc64leppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-s390xs390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-x86_64x86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-develppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-develppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-devels390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-develx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-docnoarch Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-kdumps390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-kdump-debuginfos390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-kdump-devels390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-rtsrc Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rtx86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-debugx86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-debug-debuginfox86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-debug-develx86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-debuginfox86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-debuginfo-common-x86_64x86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-develx86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-docnoarch Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-tracex86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-trace-debuginfox86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-rt-trace-develx86_64 Advisory build 3.10.0-1160.137.1.rt56.1289.el7 RHSA-2025:14746
Red Hat Enterprise Linux RHEL-7 kernel-toolsppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-toolsppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-toolsx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-debuginfoppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-debuginfoppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-debuginfox86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-libsppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-libsppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-libsx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-libs-develppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-libs-develppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 kernel-tools-libs-develx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perfppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perfppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perfs390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perfx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perf-debuginfoppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perf-debuginfoppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perf-debuginfos390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 perf-debuginfox86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perfppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perfppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perfs390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perfx86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfoppc64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfoppc64le Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfos390x Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfox86_64 Advisory build 3.10.0-1160.137.1.el7 RHSA-2025:14748
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-372.157.1.el8_6 RHSA-2025:13776
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-372.157.1.el8_6 RHSA-2025:13776

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: drivers:md:fix a potential use-after-free bug In line 2884, "raid5_release_stripe(sh);" drops the reference to sh and may cause sh to be released. However, sh is subsequently used in lines 2886 "if (sh->batch_head && sh != sh->batch_head)". This may result in an use-after-free bug. It can be fixed by moving "raid5_release_stripe(sh);" to the bottom of the function.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is the md/raid5 local write-completion callback (raid5_end_write_request), reached via writes to a RAID5/6 array or a filesystem on it through md_submit_bio → raid5_make_request → ops_run_io; it does not parse network protocol input. AC:L - An unprivileged attacker can drive full-stripe sequential writes that enable stripe batching and concurrent I/O to pressure stripe reclaim; per kernel CNA guidance, use-after-free bugs are AC:L unless a race is wholly outside attacker influence. PR:L - md_submit_bio/raid5 I/O paths perform no capability checks; any unprivileged local user who can write a file on a RAID5/6-backed filesystem (typical NAS/server deployment) triggers the completion path without init-namespace root. UI:N - The attacker’s own write syscalls generate the batched stripe I/O whose completion hits the buggy release-then-use sequence; no separate victim action is required. S:U - The use-after-free corrupts kernel stripe_head heap state within the same host kernel authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - Use-after-free of stripe_head lets an attacker reclaim and spray the freed object, then observe or control subsequent reads of sh->batch_head and related fields, yielding a kernel information-disclosure primitive. I:H - Reclaiming the freed stripe_head and then calling raid5_release_stripe on a attacker-influenced batch_head pointer provides a write/refcount primitive against kernel heap objects, enabling corruption and control-flow hijacking. A:H - Use-after-free on a live stripe_head in the RAID5 write-completion path causes kernel oops/panic or storage-stack corruption, taking down the array and potentially the machine.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 7470a4314b239e9a9580f248fdf4c9a92805490e (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 09cf99bace7789d91caa8d10fbcfc8b2fb35857f (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13 (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < f5d46f1b47f65da1faf468277b261eb78c8e25b5 (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 5d8325fd15892c8ab1146edc1d7ed8463de39636 (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < d9b94c3ace549433de8a93eeb27b0391fc8ac406 (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < eb3a4f73f43f839df981dda5859e8e075067a360 (affected · git)59fc630b8b5f9f21c8ce3ba153341c107dce1b0c to < 104212471b1c1817b311771d817fb692af983173 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.1 (affected)0 to < 4.1 (unaffected · semver)4.9.326 through 4.9.* (unaffected · semver)4.14.291 through 4.14.* (unaffected · semver)4.19.256 through 4.19.* (unaffected · semver)5.4.211 through 5.4.* (unaffected · semver)5.10.138 through 5.10.* (unaffected · semver)5.15.63 through 5.15.* (unaffected · semver)5.19.4 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

drivers:md:fix a potential use-after-free bug

Provenance

Schema
5.2
Searchable
yes
Content hash
24525af96100f8a39c53c6943f34e956c435e59003f4d01a3f0e26450c8add50
Ingested
23 Sep 2026, 08:04:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected