Files
CVEs-PoC/2021/CVE-2021-4150.md
2025-09-29 21:09:30 +02:00

19 lines
838 B
Markdown

### [CVE-2021-4150](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4150)
![](https://img.shields.io/static/v1?label=Product&message=kernel&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=kernel%205.15%20rc7%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-416&color=brightgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/sam8k/Dynamic-and-Static-Analysis-of-SOUPs