Bug 2025938 (CVE-2021-4150)

Summary: CVE-2021-4150 kernel: Block subsystem mishandles reference counts
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, brdeoliv, bskeggs, chwhite, crwood, dhoward, dvlasenk, fhrbata, fpacheco, hdegoede, hkrzesin, jarod, jarodwilson, jburrell, jeremy, jforbes, jglisse, jlelli, jonathan, josef, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-18 07:30:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2026492, 2034666    

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