Bug 2278378 (CVE-2024-27066)

Summary: CVE-2024-27066 kernel: virtio: packed: fix unmap leak for indirect desc table
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
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, 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 6.6.23, kernel 6.7.11, kernel 6.8.2, kernel 6.9-rc1 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's virtio virtio_ring.c driver, which can lead to memory leakage caused by improper checks. This issue can occur when use_dma_api and premapped are true, causing do_unmap to be false, preventing the detach_buf_packed() function from calling vring_unmap_extra_packed(), leaving the indirect description table mapped. This can lead to resource exhaustion over time.
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: 2278379    
Bug Blocks: 2278552    

Description Zack Miele 2024-05-01 19:59:09 UTC
In the Linux kernel, the following vulnerability has been resolved:

virtio: packed: fix unmap leak for indirect desc table

The Linux kernel CVE team has assigned CVE-2024-27066 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024050132-CVE-2024-27066-686a@gregkh/T

Comment 1 Zack Miele 2024-05-01 19:59:40 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2278379]

Comment 2 Alex 2024-06-09 13:28:58 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-27066 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: b319940f83c21bb4c1fabffe68a862be879a6193	YES			NO	NO	unknown (where first YES/NO value means if related sources built).