Skip to main content
← All vulnerabilities
CVE-2021-4150

A use-after-free flaw was found in the add_partition in block/partitions/core.c in the Linux kernel.

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a kernel

    kernel 5.15 rc7

References 3

bugzilla.redhat.com

lkml.org