U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-50022 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/09cf99bace7789d91caa8d10fbcfc8b2fb35857f kernel.org
https://git.kernel.org/stable/c/104212471b1c1817b311771d817fb692af983173 kernel.org
https://git.kernel.org/stable/c/5d8325fd15892c8ab1146edc1d7ed8463de39636 kernel.org
https://git.kernel.org/stable/c/7470a4314b239e9a9580f248fdf4c9a92805490e kernel.org
https://git.kernel.org/stable/c/d9b94c3ace549433de8a93eeb27b0391fc8ac406 kernel.org
https://git.kernel.org/stable/c/e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13 kernel.org
https://git.kernel.org/stable/c/eb3a4f73f43f839df981dda5859e8e075067a360 kernel.org
https://git.kernel.org/stable/c/f5d46f1b47f65da1faf468277b261eb78c8e25b5 kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-50022
NVD Published Date:
06/18/2025
NVD Last Modified:
06/18/2025
Source:
kernel.org