Bug 2282519 (CVE-2021-47278)

Summary: CVE-2021-47278 kernel: bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove()
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mbenatto, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.12.11, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's MHI PCI driver, where the mhi_pci_remove() function could lead to a use-after-free error. This happens because the function stops a timer without ensuring that its associated handler has finished running, allowing it to access freed memory, which could cause system instability.
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:    
Bug Blocks: 2282972    

Description ybuenos 2024-05-22 13:52:36 UTC
In the Linux kernel, the following vulnerability has been resolved:

bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove()

The Linux kernel CVE team has assigned CVE-2021-47278 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052152-CVE-2021-47278-8b68@gregkh/T

Comment 2 Alex 2024-06-09 14:13:38 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47278 is: 	SKIP	No affected files built, so skip this CVE	NO			-	-	unknown	 (where first YES/NO value means if related sources built).