Bug 2268325 (CVE-2023-52590)

Summary: CVE-2023-52590 kernel: ocfs2: Avoid touching renamed directory if parent does not change
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jfaracco, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, ldoskova, lgoncalv, mleitner, mmilgram, mstowell, nmurray, ptalbert, rhel-process-autobot, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, watson-tool-maintainers, wcosta, williams, wmealing, ycote, ykopkova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.7.4, kernel 6.8-rc1 Doc Type: If docs needed, set a value
Doc Text:
This Linux kernel bug affects the Oracle Cluster File System v2 (OCFS2). The issue arises during directory rename operations when a moved directory's parent remains the same, a scenario where the Virtual File System (VFS) does not natively lock the directory. Because the OCFS2 code was previously touching the renamed directory without ensuring it was properly locked, this flaw could potentially be triggered by a local user to cause filesystem corruption. Patched kernel versions resolve the vulnerability by updating the OCFS2 rename code to avoid touching the renamed directory if its parent does not change, preventing the unsafe, lockless operations that could corrupt data on disk.
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: 2268326    
Bug Blocks: 2268346    

Description Zack Miele 2024-03-06 22:24:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

ocfs2: Avoid touching renamed directory if parent does not change

The Linux kernel CVE team has assigned CVE-2023-52590 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024030644-CVE-2023-52590-fca9@gregkh/T

Comment 1 Zack Miele 2024-03-06 22:24:59 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2268326]

Comment 2 Justin M. Forbes 2024-03-07 23:44:24 UTC
This was fixed for Fedora with the 6.7.4 stable kernel updates.

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