CVE-2022-50022drivers:md:fix a potential use-after-free bug
- 7.8HighCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 80% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 80% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < 7470a4314b239e9a9580f248fdf4c9a92805490e
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < 09cf99bace7789d91caa8d10fbcfc8b2fb35857f
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < f5d46f1b47f65da1faf468277b261eb78c8e25b5
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < 5d8325fd15892c8ab1146edc1d7ed8463de39636
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < d9b94c3ace549433de8a93eeb27b0391fc8ac406
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < eb3a4f73f43f839df981dda5859e8e075067a360
- affected 59fc630b8b5f9f21c8ce3ba153341c107dce1b0c – < 104212471b1c1817b311771d817fb692af983173
- affected 4.1
- unaffected < 4.1
- unaffected 4.9.326 – ≤ 4.9.*
- unaffected 4.14.291 – ≤ 4.14.*
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.138 – ≤ 5.10.*
- unaffected 5.15.63 – ≤ 5.15.*
- unaffected 5.19.4 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References
References8
- https://git.kernel.org/stable/c/7470a4314b239e9a9580f248fdf4c9a92805490e (opens in a new tab)
- https://git.kernel.org/stable/c/09cf99bace7789d91caa8d10fbcfc8b2fb35857f (opens in a new tab)
- https://git.kernel.org/stable/c/e5b3dd2d92c4511e81f6e4ec9c5bb7ad25e03d13 (opens in a new tab)
- https://git.kernel.org/stable/c/f5d46f1b47f65da1faf468277b261eb78c8e25b5 (opens in a new tab)
- https://git.kernel.org/stable/c/5d8325fd15892c8ab1146edc1d7ed8463de39636 (opens in a new tab)
- https://git.kernel.org/stable/c/d9b94c3ace549433de8a93eeb27b0391fc8ac406 (opens in a new tab)
- https://git.kernel.org/stable/c/eb3a4f73f43f839df981dda5859e8e075067a360 (opens in a new tab)
- https://git.kernel.org/stable/c/104212471b1c1817b311771d817fb692af983173 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55207 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50022)Record last updated .