linux-cve-announce.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CVE-2020-36777: media: dvbdev: Fix memory leak in dvb_media_device_free()
@ 2024-02-27 18:40 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2024-02-27 18:40 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

media: dvbdev: Fix memory leak in dvb_media_device_free()

dvb_media_device_free() is leaking memory. Free `dvbdev->adapter->conn`
before setting it to NULL, as documented in include/media/media-device.h:
"The media_entity instance itself must be freed explicitly by the driver
if required."

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


Affected and fixed versions
===========================

	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 4.9.269 with commit 06854b943e05
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 4.14.233 with commit 32168ca1f123
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 4.19.191 with commit cd89f79be5d5
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 5.4.118 with commit 9185b3b1c143
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 5.10.36 with commit 43263fd43083
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 5.11.20 with commit 9ad15e214fcd
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 5.12.3 with commit cede24d13be6
	Issue introduced in 4.5 with commit 0230d60e4661 and fixed in 5.13 with commit bf9a40ae8d72

Please see https://www.kernel.org or a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2020-36777
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/media/dvb-core/dvbdev.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275
	https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409f
	https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98
	https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81b
	https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749
	https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066
	https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82
	https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-27 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 18:40 CVE-2020-36777: media: dvbdev: Fix memory leak in dvb_media_device_free() Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).