Vulnerability · Published Mar 23, 2022 · Assigned by redhat
CVE-2021-4150
Medium 5.5
In plain English
A medium-severity use-after-free in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities).
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 72.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
Weakness: CWE-416
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2025938 x_refsource_MISC
- https://lkml.org/lkml/2021/10/18/485 x_refsource_MISC
- https://lkml.org/lkml/2021/9/6/781 x_refsource_MISC