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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-34018 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

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 : Modified

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

Modified: 2024-11-21T06:37:00.623

Link: CVE-2021-4150

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2021-4150 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses