Bug 2269839 (CVE-2021-47125)

Summary: CVE-2021-47125 kernel: sch_htb: fix refcount leak in htb_parent_to_leaf_offload
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
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, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, 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 5.12.10, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel. The sch_htb component caused reference count leaks due to inconsistent handling of NULL pointers, leading to mismatched queue pointers.
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: 2269840    
Bug Blocks: 2269857    

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

sch_htb: fix refcount leak in htb_parent_to_leaf_offload

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024031511-CVE-2021-47125-9c33@gregkh/T/#u

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

Affects: fedora-all [bug 2269840]

Comment 5 Justin M. Forbes 2024-03-26 16:25:01 UTC
This was fixed for Fedora with the 5.12.10 stable kernel updates.

Comment 7 Alex 2024-06-09 15:08:10 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47125 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags REMOTE NULLPTR SIMPLEFIX LEAK NETWORK IMPROVEONLY  ; 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.