Use After Free in Linux Kernel

CVE-2021-4150

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.

Vulnerability class: Use-After-Free

EPSS: 0.003 (26.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-4150?
CVE-2021-4150 is a medium-severity vulnerability in Linux Kernel, classified under Use After Free. CVSS score: 5.5/10. Published 2022-03-23.
How severe is CVE-2021-4150?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2021-4150 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.