Bug 2282418 (CVE-2021-47341)

Summary: CVE-2021-47341 kernel: KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
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, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, trathi, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.4.134, kernel 5.10.52, kernel 5.12.19, kernel 5.13.4, kernel 5.14 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel’s KVM subsystem in the kvm_vm_ioctl_unregister_coalesced_mmio function, where an uninitialized memory value could be accessed if a certain operation failed. This could lead to unpredictable behavior or system crashes due to the use of freed memory.
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: 2282499    

Description ybuenos 2024-05-22 11:28:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052137-CVE-2021-47341-f4e9@gregkh/T

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