CVEvulnerability
CVE-2021-4150
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-03-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.9 MEDIUM — AV:L/AC:L/Au:N/C:N/I:N/A:C
- Weaknesses
- CWE-416
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 configurations
• linux linux kernel (< 5.15)
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2025938 Issue Tracking, Third Party Advisory
- https://lkml.org/lkml/2021/10/18/485 Exploit, Third Party Advisory
- https://lkml.org/lkml/2021/9/6/781 Exploit, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2025938 Issue Tracking, Third Party Advisory
- https://lkml.org/lkml/2021/10/18/485 Exploit, Third Party Advisory
- https://lkml.org/lkml/2021/9/6/781 Exploit, Third Party Advisory