CVE-2021-4150

medium

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.

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

Details

Source: Mitre, NVD

Published: 2022-03-23

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00016