CVE-2022-50022

HIGH

Linux Kernel - Use-After-Free in RAID5 Stripe Release

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0021
EPSS Percentile 11.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (26)
linux/Kernel 4.1.0 - 4.9.326linux
linux/Kernel 4.10.0 - 4.14.291linux
linux/Kernel 4.15.0 - 4.19.256linux
linux/Kernel 4.20.0 - 5.4.211linux
linux/Kernel 5.11.0 - 5.15.63linux
linux/Kernel 5.16.0 - 5.19.4linux
linux/Kernel 5.5.0 - 5.10.138linux
Linux/Linux < 4.1
Linux/Linux 4.1
Linux/Linux 4.14.291 - 4.14.*
... and 16 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026