Vulnerability CVE-2021-4150


Published: 2022-03-23

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.

Type:

CWE-416

(Use After Free)

CVSS2 => (AV:L/AC:L/Au:N/C:N/I:N/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.9/10
6.9/10
3.9/10
Exploit range
Attack complexity
Authentication
Local
Low
No required
Confidentiality impact
Integrity impact
Availability impact
None
None
Complete
Affected software
Linux -> Linux kernel 

 References:
https://lkml.org/lkml/2021/9/6/781
https://lkml.org/lkml/2021/10/18/485
https://bugzilla.redhat.com/show_bug.cgi?id=2025938

Copyright 2026, cxsecurity.com

 

Back to Top