CVE-2021-4150
publishedkernel: Block subsystem mishandles reference counts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernelkernel 5.15 rc7 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | kernel 5.15 rc7 (affected) | redhat · cna |
Weaknesses
1- CWE-416
References
3Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7b8831dc54dadb0dc907dfeb643a9440a8778ca2ae991e0a85743a5d8bf2679b
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record