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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-03-23T19:46:46

Updated: 2024-08-03T17:16:04.268Z

Reserved: 2021-12-21T00:00:00

Link: CVE-2021-4150

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-03-23T20:15:10.050

Modified: 2022-06-22T15:55:44.063

Link: CVE-2021-4150

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-09-07T00:00:00Z

Links: CVE-2021-4150 - Bugzilla