Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.1, < 4.9.326 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/09cf99bace7789d91caa8d10fbcfc8b2fb35857fPatch
- https://git.kernel.org/stable/c/104212471b1c1817b311771d817fb692af983173Patch
- https://git.kernel.org/stable/c/5d8325fd15892c8ab1146edc1d7ed8463de39636Patch
- https://git.kernel.org/stable/c/7470a4314b239e9a9580f248fdf4c9a92805490ePatch
- https://git.kernel.org/stable/c/d9b94c3ace549433de8a93eeb27b0391fc8ac406Patch
- https://git.kernel.org/stable/c/e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13Patch
- https://git.kernel.org/stable/c/eb3a4f73f43f839df981dda5859e8e075067a360Patch
- https://git.kernel.org/stable/c/f5d46f1b47f65da1faf468277b261eb78c8e25b5Patch
FAQ
What is CVE-2022-50022?
CVE-2022-50022 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2022-50022?
CVE-2022-50022 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50022?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.