Bug 2269861 (CVE-2021-47116)

Summary: CVE-2021-47116 kernel: ext4: fix memory leak in ext4_mb_init_backend on error path.
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jforbes, 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 5.10.43, kernel 5.12.10, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
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: 2269862    
Bug Blocks: 2269857    

Description Avinash Hanwate 2024-03-16 18:36:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

ext4: fix memory leak in ext4_mb_init_backend on error path.

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024031508-CVE-2021-47116-8383@gregkh/T/#u

Comment 1 Avinash Hanwate 2024-03-16 18:37:13 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2269862]

Comment 2 Justin M. Forbes 2024-03-26 16:18:41 UTC
This was fixed for Fedora with the 5.12.10 stable kernel updates.

Comment 4 Alex 2024-06-09 16:48:40 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47116 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags DISK INIT SIMPLEFIX LEAK ERRORPATH  ; these flags parsed automatically based on patch 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.