VDB

CVE-2022-50022

CVE-2022-50022 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published June 18, 2025

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.

EPSS 0.26% · 17.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux4.14.291-218.527.amzn2
kernel-develAmazon Linux4.14.291-218.527.amzn2
kernel-toolsAmazon Linux4.14.291-218.527.amzn2
kernel-livepatch-4.14.291-218.527Amazon Linux1.0-0.amzn2
LinuxLinuxeb3a4f73f43f839df981dda5859e8e075067a360, e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13, 5d8325fd15892c8ab1146edc1d7ed8463de39636, 09cf99bace7789d91caa8d10fbcfc8b2fb35857f

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.26%
17.5th percentile

Affected products

VendorProductVersions
LinuxLinux59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c
LinuxLinux4.1, 0, 4.9.326
amazon:2kernel0
amazon:2kernel-devel0
amazon:2kernel-tools0
amazon:2kernel-livepatch-4.14.291-218.5270
LinuxLinux59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, 0, 4.9.326
amazon:2kernel-headers0
amazon:2perf0
amazon:2kernel-tools-devel0
linuxlinux_kernel4.1, 4.1, 4.1
amazon:2python-perf0

Timeline

  • Jun 18, 2025 CVE Published
  • Jun 29, 2025 EPSS Score (29 in total, the first dated here)
  • May 23, 2026 Coalition ESS Score
  • Jun 2, 2026 Security Advisory (255 in total, the first dated here)
  • Aug 8, 2026 Distribution Patch (244 in total, the first dated here)
  • Oct 13, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-50022
vulnetix vdb fixes CVE-2022-50022

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-50022/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›