# CVE-2020-36777: media: dvbdev: Fix memory leak in dvb_media_device_free()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-27T18:40:26.245Z
- Modified: 2026-06-17T03:16:12.720Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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."

(As written by CVE List.)

## Affected

- Linux Linux: from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before 06854b943e0571ccbd7ad0a529babed1a98ff275; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before 32168ca1f123316848fffb85d059860adf3c409f; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before cd89f79be5d553c78202f686e8e4caa5fbe94e98; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before 9185b3b1c143b8da409c19ac5a785aa18d67a81b; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before 43263fd43083e412311fa764cd04a727b0c6a749; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before 9ad15e214fcd73694ea51967d86055f47b802066; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before cede24d13be6c2a62be6d7ceea63c2719b0cfa82; from 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a before bf9a40ae8d722f281a2721779595d6df1c33a0bf; 4.5 (not affected: before 4.5; from 4.9.269 up to 4.9.*; from 4.14.233 up to 4.14.*; from 4.19.191 up to 4.19.*; from 5.4.118 up to 5.4.*; from 5.10.36 up to 5.10.*; from 5.11.20 up to 5.11.*; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.5.0 before 4.9.269; from 4.10.0 before 4.14.233; from 4.15.0 before 4.19.191; from 4.20.0 before 5.4.118; from 5.5.0 before 5.10.36; from 5.11.0 before 5.11.20; from 5.12.0 before 5.12.3

## References

- <https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275> (patch)
- <https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409f> (patch)
- <https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98> (patch)
- <https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81b> (patch)
- <https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749> (patch)
- <https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066> (patch)
- <https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82> (patch)
- <https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bf> (patch)

## Sources

- CVE List: [CVE-2020-36777](https://www.cve.org/CVERecord?id=CVE-2020-36777), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2020-36777](https://nvd.nist.gov/vuln/detail/CVE-2020-36777), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36777 · Whole record: https://cve.day/CVE-2020-36777.json · Rebuilt by cve.day 2026-11-25T22:57:58.947Z
