CVE-2022-49987

MEDIUM

Linux Kernel 4.12-5.19.6 - Use-After-Free in MD RAID1 Destructor

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: md: call __md_stop_writes in md_stop From the link [1], we can see raid1d was running even after the path raid_dtr -> md_stop -> __md_stop. Let's stop write first in destructor to align with normal md-raid to fix the KASAN issue. [1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.gmail.com/T/#m7f12bf90481c02c6d2da68c64aeed4779b7df74a

Scores

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

Details

Status published
Products (24)
linux/Kernel 4.12.0 - 4.14.292linux
linux/Kernel 4.15.0 - 4.19.257linux
linux/Kernel 4.20.0 - 5.4.212linux
linux/Kernel 5.11.0 - 5.15.64linux
linux/Kernel 5.16.0 - 5.19.6linux
linux/Kernel 5.5.0 - 5.10.140linux
Linux/Linux < 4.12
Linux/Linux 4.12
Linux/Linux 4.14.292 - 4.14.*
Linux/Linux 4.19.257 - 4.19.*
... and 14 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026