CVE-2022-50022

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJun 18, 2025
First seenJun 18, 2025

How to fix

Update
  • linux linux_kernel4.9.326, 4.14.291, 4.19.256, 5.4.211, 5.10.138, 5.15.63, 5.19.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.1 ≤ v < 4.9.326, 4.10 ≤ v < 4.14.291, 4.15 ≤ v < 4.19.256, 4.20 ≤ v < 5.4.211, 5.5 ≤ v < 5.10.138, 5.11 ≤ v < 5.15.63, 5.16 ≤ v < 5.19.44.9.326, 4.14.291, 4.19.256, 5.4.211, 5.10.138, 5.15.63, 5.19.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.