Vulnerability database / CVE-2021-4150
CVE-2021-4150
MEDIUM 5.5 CVSS 3.1 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.
Published 23 Mar 2022
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-416 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.9
AV:L/AC:L/Au:N/C:N/I:N/A:C
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
< 5.15
5.15 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:*:*:*:*:*:*:*
= 5.15
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
= 5.15
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*
= 5.15
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*
= 5.15
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*
= 5.15
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
= 5.15
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*
= 5.15
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Mar 2022)