Bug 2278404 (CVE-2024-27058)

Summary: CVE-2024-27058 kernel: tmpfs: fix race on handling dquot rbtree
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.24, kernel 6.7.12, kernel 6.8.3, kernel 6.9-rc2 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux Kernel's memory management subsystem, where a race condition while attempting to remove dquot information from the rb tree can lead to a kernel panic. The race condition occurs due to a lack of proper protections when fetching the rb_tree root node. Given the right timing, this could cause the shmem_relewase_dquot() function to trigger a panic because it cannot find a node in the tree, when the reason is that the root node was changed before the search starts. This issue can lead to 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: 2278405    
Bug Blocks: 2278552    

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

tmpfs: fix race on handling dquot rbtree

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024050130-CVE-2024-27058-e8f6@gregkh/T

Comment 1 Zack Miele 2024-05-01 20:12:51 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2278405]

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