Vulnerability Name:

CVE-2021-4150 (CCN-222533)

Assigned:2021-12-21
Published:2022-01-18
Updated:2022-06-22
Summary: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.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
4.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
5.1 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)
4.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:4.9 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
4.0 Medium (CCN CVSS v2 Vector: AV:L/AC:H/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-416
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-4150

Source: CCN
Type: Red Hat Bugzilla – Bug 2025938
(CVE-2021-4150) - CVE-2021-4150 kernel: Block subsystem mishandles reference counts

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2025938

Source: XF
Type: UNKNOWN
linux-kernel-cve20214150-dos(222533)

Source: MISC
Type: Exploit, Third Party Advisory
https://lkml.org/lkml/2021/10/18/485

Source: MISC
Type: Exploit, Third Party Advisory
https://lkml.org/lkml/2021/9/6/781

Source: CCN
Type: Kernel Web site
The Linux Kernel Archives

Vulnerable Configuration:Configuration 1:
  • cpe:/o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*
  • OR cpe:/o:linux:linux_kernel:*:*:*:*:*:*:*:* (Version < 5.15)
  • OR cpe:/o:linux:linux_kernel:5.15:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:linux:linux_kernel:5.15:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    linux linux kernel 5.15 rc2
    linux linux kernel 5.15 rc3
    linux linux kernel 5.15 rc5
    linux linux kernel 5.15 rc1
    linux linux kernel 5.15 rc4
    linux linux kernel 5.15 rc6
    linux linux kernel *
    linux linux kernel 5.15
    linux linux kernel 5.15 -