Bug 2282556 (CVE-2021-47254)

Summary: CVE-2021-47254 kernel: gfs2: Fix use-after-free in gfs2_glock_shrink_scan
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, mbenatto, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.4.274, kernel 4.9.274, kernel 4.14.238, kernel 4.19.196, kernel 5.4.127, kernel 5.10.45, kernel 5.12.12, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in Linux kernel's GFS2 file system, in the gfs2_glock_shrink_scan function, causing a use-after-free issue. This problem occurs when a lock object is incorrectly handled, potentially leading to memory corruption
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: 2313027    
Bug Blocks: 2282973    

Description ybuenos 2024-05-22 14:43:56 UTC
In the Linux kernel, the following vulnerability has been resolved:

gfs2: Fix use-after-free in gfs2_glock_shrink_scan

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052145-CVE-2021-47254-41d1@gregkh/T

Comment 2 Alex 2024-06-09 15:38:39 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47254 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags DISK SIMPLEFIX RACE UAF  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.