CVE-2021-4150

kernel: Block subsystem mishandles reference counts

Published Mar 23, 2022 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:16 PM
Reserved
Dec 21, 2021, 12:00 AM
Status
Modified
Published
Mar 23, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:19 AM
Severity
Moderate
Public date
Sep 7, 2021, 12:00 AM