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.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 8.5.1.5 |
| Linux | Linux | 8.5.2.4 |
| Linux | Linux | Omron PLC CJ series, all versions, Omron PLC CS series, all versions |
| Linux | Linux | x64-based Systems Service Pack 2 (Server Core installation) |