CVE-2021-4150Use After Free in Kernel

CWE-416Use After Free6 documents6 sources
Severity
5.5MEDIUMNVD
EPSS
0.0%
top 87.02%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 23
Latest updateMar 24

Description

A use-after-free flaw was found in the add_partition in block/partitions/core.c in the Linux kernel. A local attacker with user privileges could cause a denial of service on the system. The issue results from the lack of code cleanup when device_add call fails when adding a partition to the disk.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

🔴Vulnerability Details

2
GHSA
GHSA-wf58-5834-37vc: A use-after-free flaw was found in the add_partition in block/partitions/core2022-03-24
OSV
CVE-2021-4150: A use-after-free flaw was found in the add_partition in block/partitions/core2022-03-23

📋Vendor Advisories

3
Microsoft
A use-after-free flaw was found in the add_partition in block/partitions/core.c in the Linux kernel. A local attacker with user privileges could cause a denial of service on the system. The issue resu2022-03-08
Red Hat
kernel: Block subsystem mishandles reference counts2021-09-07
Debian
CVE-2021-4150: linux - A use-after-free flaw was found in the add_partition in block/partitions/core.c ...2021