Vulnerability Details : CVE-2021-4150
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.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2021-4150
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.15:*:*:*:*:*:*:*
Threat overview for CVE-2021-4150
Top countries where our scanners detected CVE-2021-4150
Top open port discovered on systems with this issue
49152
IPs affected by CVE-2021-4150 400,840
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2021-4150!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2021-4150
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-4150
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.9
|
MEDIUM | AV:L/AC:L/Au:N/C:N/I:N/A:C |
3.9
|
6.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-4150
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-4150
-
https://bugzilla.redhat.com/show_bug.cgi?id=2025938
2025938 – (CVE-2021-4150) CVE-2021-4150 kernel: Block subsystem mishandles reference countsIssue Tracking;Third Party Advisory
-
https://lkml.org/lkml/2021/10/18/485
LKML: Zqiang: [PATCH v3] block: fix incorrect references to disk objectsExploit;Third Party Advisory
-
https://lkml.org/lkml/2021/9/6/781
LKML: Hao Sun: WARNING in __init_workExploit;Third Party Advisory
Jump to