CVE-2022-50022
drivers:md:fix a potential use-after-free bug
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jun 18, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < 7470a4314b239e9a9580f248fdf4c9a92805490e 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < 09cf99bace7789d91caa8d10fbcfc8b2fb35857f 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < f5d46f1b47f65da1faf468277b261eb78c8e25b5 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < 5d8325fd15892c8ab1146edc1d7ed8463de39636 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < d9b94c3ace549433de8a93eeb27b0391fc8ac406 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < eb3a4f73f43f839df981dda5859e8e075067a360 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c < 104212471b1c1817b311771d817fb692af983173
Linux / Linux
4.1
References
git.kernel.org: https://git.kernel.org/stable/c/7470a4314b239e9a9580f248fdf4c9a92805490e git.kernel.org: https://git.kernel.org/stable/c/09cf99bace7789d91caa8d10fbcfc8b2fb35857f git.kernel.org: https://git.kernel.org/stable/c/e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13 git.kernel.org: https://git.kernel.org/stable/c/f5d46f1b47f65da1faf468277b261eb78c8e25b5 git.kernel.org: https://git.kernel.org/stable/c/5d8325fd15892c8ab1146edc1d7ed8463de39636 git.kernel.org: https://git.kernel.org/stable/c/d9b94c3ace549433de8a93eeb27b0391fc8ac406 git.kernel.org: https://git.kernel.org/stable/c/eb3a4f73f43f839df981dda5859e8e075067a360 git.kernel.org: https://git.kernel.org/stable/c/104212471b1c1817b311771d817fb692af983173