Bug 2025938 (CVE-2021-4150) - CVE-2021-4150 kernel: Block subsystem mishandles reference counts
Summary: CVE-2021-4150 kernel: Block subsystem mishandles reference counts
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-4150
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2026492 2034666
TreeView+ depends on / blocked
 
Reported: 2021-11-23 12:40 UTC by Pedro Sampaio
Modified: 2022-01-18 07:30 UTC (History)
42 users (show)

Fixed In Version: kernel 5.15 rc7
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2022-01-18 07:30:39 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2021-11-23 12:40:45 UTC
The block subsystem in the Linux kernel before 5.14 mishandles reference counts, which allows local users to cause a denial of service (use-after-free) or possibly have unspecified other impacts via a crafted user space program related to the disk object reference count.

References:

https://lkml.org/lkml/2021/9/6/781
https://lkml.org/lkml/2021/10/18/485

Comment 5 Product Security DevOps Team 2022-01-18 07:30:35 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-4150


Note You need to log in before you can comment on or make changes to this bug.