2084AI Security Observatory

CVE

CVE-2022-50022

CVE-2022-50022HIGH 7.8EPSS 20%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 5.16, < 5.19.4Fixed in 5.19.4
  • ≥ 5.11, < 5.15.63Fixed in 5.15.63
  • ≥ 5.5, < 5.10.138Fixed in 5.10.138
  • ≥ 4.20, < 5.4.211Fixed in 5.4.211
  • ≥ 4.15, < 4.19.256Fixed in 4.19.256
  • ≥ 4.10, < 4.14.291Fixed in 4.14.291
  • ≥ 4.1, < 4.9.326Fixed in 4.9.326

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.