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. 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.
CVSS

No CVSS.

Configurations

No configuration.

History

18 Jun 2025, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 11:15

Updated : 2025-06-18 13:46


NVD link : CVE-2022-50022

Mitre link : CVE-2022-50022

CVE.ORG link : CVE-2022-50022


JSON object : View

Products Affected

No product.

CWE

No CWE.