CVE-2022-50022CWE-416

CVE-2022-50022

High · published June 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
16.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00258 · 16.5th percentile
Weakness
CWE-416 · Use After Free
Published
2025-06-18T15:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 4.1, < 4.9.3264.9.326
linux/linux_kernel≥ 4.10, < 4.14.2914.14.291
linux/linux_kernel≥ 4.15, < 4.19.2564.19.256
linux/linux_kernel≥ 4.20, < 5.4.2115.4.211
linux/linux_kernel≥ 5.5, < 5.10.1385.10.138
linux/linux_kernel≥ 5.11, < 5.15.635.15.63
linux/linux_kernel≥ 5.16, < 5.19.45.19.4
References (8)
EPSS history
Timeline
  • 18 JUN 11:01Z
    drivers:md:fix a potential use-after-free bug
    cvelistv5