Use-After-Free Vulnerability in Linux Kernel's add_partition Function

Use-After-Free Vulnerability in Linux Kernel's add_partition Function

CVE-2021-4150 · MEDIUM Severity

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

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.