Bug 2148513 (CVE-2022-45885)

Summary: CVE-2022-45885 kernel: use-after-free due to race condition occurring in dvb_frontend.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dvlasenk, ezulian, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A race condition flaw leading to a use-after-free issue was found in the Linux kernel media subsystem in the DVB core device driver. It could occur in the dvb_frontend() function when closing the device node of dvb_frontend if the device is disconnected. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2148514, 2153554, 2153555, 2153556, 2153557, 2153558, 2153559    
Bug Blocks: 2150349    

Description Guilherme de Almeida Suckevicz 2022-11-25 17:40:19 UTC
An issue was discovered in the Linux kernel through 6.0.9. drivers/media/dvb-core/dvb_frontend.c has a race condition that can cause a use-after-free when a device is disconnected.

References:
https://lore.kernel.org/linux-media/20221115131822.6640-2-imv4bel@gmail.com/
https://lore.kernel.org/linux-media/20221115131822.6640-1-imv4bel@gmail.com/

Comment 1 Guilherme de Almeida Suckevicz 2022-11-25 17:40:41 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2148514]

Comment 6 Justin M. Forbes 2023-09-25 16:54:36 UTC
This was fixed for Fedora with the 6.3.7 stable kernel updates.