CVE Database
/

CVE-2022-50022

Back to search

CVE-2022-50022

Published: Jun 18, 2025

Modified: May 11, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
59fc630b8b5f9f21c8ce3ba153341c107dce1b0c - < 7470a4314b239e9a9580f248fdf4c9a92805490e
affected
59fc630b8b5f9f21c8ce3ba153341c107dce1b0c - < 09cf99bace7789d91caa8d10fbcfc8b2fb35857f
affected
59fc630b8b5f9f21c8ce3ba153341c107dce1b0c - < e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13
affected
59fc630b8b5f9f21c8ce3ba153341c107dce1b0c - < f5d46f1b47f65da1faf468277b261eb78c8e25b5
affected
59fc630b8b5f9f21c8ce3ba153341c107dce1b0c - < 5d8325fd15892c8ab1146edc1d7ed8463de39636

+3 more versions

Linux

Linux

affected
4.1
unaffected
0 - < 4.1
unaffected
4.9.326 - <= 4.9.*
unaffected
4.14.291 - <= 4.14.*
unaffected
4.19.256 - <= 4.19.*

+5 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now