Skip to main content
Network Thinking Solutions Logo

CVE-2022-50022

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.

All CVEs
CVE-2022-50022Published 6/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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
6/18/2025
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.1, < 4.9.326

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.138

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.63

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.4

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < 7470a4314b239e9a9580f248fdf4c9a92805490e

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < 09cf99bace7789d91caa8d10fbcfc8b2fb35857f

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < f5d46f1b47f65da1faf468277b261eb78c8e25b5

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < 5d8325fd15892c8ab1146edc1d7ed8463de39636

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < d9b94c3ace549433de8a93eeb27b0391fc8ac406

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < eb3a4f73f43f839df981dda5859e8e075067a360

Verify advisory

Source
Linux
Linux
≥ 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c, < 104212471b1c1817b311771d817fb692af983173

Verify advisory

Source
Linux
Linux
4.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.