Bug 2267943 (CVE-2021-47082)

Summary: CVE-2021-47082 kernel: tun: avoid double free in tun_free_netdev
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, 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 4.19.280, kernel 5.4.240, kernel 5.10.136, kernel 5.15.12, kernel 5.16 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: 2268185    
Bug Blocks: 2268181    

Description Zack Miele 2024-03-05 16:14:52 UTC
In the Linux kernel, the following vulnerability has been resolved:

tun: avoid double free in tun_free_netdev

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024030451-CVE-2021-47082-b12c@gregkh/T

Comment 1 Zack Miele 2024-03-06 14:28:11 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2268185]

Comment 3 Justin M. Forbes 2024-03-06 14:40:39 UTC
This was fixed for Fedora with the 5.15.12 stable kernel updates.

Comment 5 Alex 2024-06-09 16:47:52 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47082 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags KASAN LOCK DANGER INIT NOMEMCHK RACE  ; 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.