Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / kernel | affected kernel 5.15 rc7 |
CWE
CWE-416
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2025938
- https://lkml.org/lkml/2021/10/18/485
- https://lkml.org/lkml/2021/9/6/781
ADP enrichment
No English description supplied.