Bug 2266746 (CVE-2020-36777)

Summary: CVE-2020-36777 kernel: media: dvbdev: Fix memory leak in dvb_media_device_free()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
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.9.269, kernel 4.14.233, kernel 4.19.191, kernel 5.4.118, kernel 5.10.36, kernel 5.11.20, kernel 5.12.3, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. A missing memory release in the dvb_media_device_free function in the drivers/media/dvb-core/dvbdev.c file can result in a memory leak.
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: 2266747    
Bug Blocks: 2267043    

Description Mauro Matteo Cascella 2024-02-28 21:27:42 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: dvbdev: Fix memory leak in dvb_media_device_free()

The Linux kernel CVE team has assigned CVE-2020-36777 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/20240227184057.2368370-2-gregkh@linuxfoundation.org/T/#u

Comment 1 Mauro Matteo Cascella 2024-02-28 21:28:15 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266747]

Comment 4 Justin M. Forbes 2024-03-01 22:44:33 UTC
This was fixed for Fedora with the 5.11.20 stable kernel updates.

Comment 5 errata-xmlrpc 2024-06-05 00:30:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3618 https://access.redhat.com/errata/RHSA-2024:3618

Comment 6 errata-xmlrpc 2024-06-05 10:01:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3627 https://access.redhat.com/errata/RHSA-2024:3627

Comment 7 Alex 2024-06-09 16:51:07 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2020-36777 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags INIT SIMPLEFIX LEAK  ; 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.