Bug 2281838 (CVE-2024-35993)

Summary: CVE-2024-35993 kernel: mm: turn folio_test_hugetlb into a PageType
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
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.30, kernel 6.8.9, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's memory management system, specifically affecting the handling of hugetlb (huge page) memory. The issue arises from the `folio_test_hugetlb()` function, which can be misled by a concurrent folio split, potentially returning incorrect results for folios that do not belong to hugetlbfs. This can lead to problems in memory failure handling, compaction, and procfs, and may cause kernel crashes (oops) when `CONFIG_DEBUG_VM` is enabled.
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: 2281840    
Bug Blocks: 2282028    

Description Robb Gatica 2024-05-20 15:53:00 UTC
In the Linux kernel, the following vulnerability has been resolved:

mm: turn folio_test_hugetlb into a PageType

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052021-CVE-2024-35993-0309@gregkh/T

Comment 1 Robb Gatica 2024-05-20 15:53:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281840]

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