cve-2020-36777
Vulnerability from cvelistv5
Published
2024-02-27 18:40
Modified
2024-12-19 07:25
Severity ?
Summary
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."
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409fPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81bPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bfPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409fPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81bPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bfPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82Patch
Impacted products
Vendor Product Version
Linux Linux Version: 4.5
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2020-36777",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-11T16:40:26.925342Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-07-05T17:22:13.278Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T17:37:07.001Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409f"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bf"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/dvb-core/dvbdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "06854b943e0571ccbd7ad0a529babed1a98ff275",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "32168ca1f123316848fffb85d059860adf3c409f",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "cd89f79be5d553c78202f686e8e4caa5fbe94e98",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "9185b3b1c143b8da409c19ac5a785aa18d67a81b",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "43263fd43083e412311fa764cd04a727b0c6a749",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "9ad15e214fcd73694ea51967d86055f47b802066",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "cede24d13be6c2a62be6d7ceea63c2719b0cfa82",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            },
            {
              "lessThan": "bf9a40ae8d722f281a2721779595d6df1c33a0bf",
              "status": "affected",
              "version": "0230d60e4661d9ced6fb0b9a30f182ebdafbba7a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/dvb-core/dvbdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.233",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.11.*",
              "status": "unaffected",
              "version": "5.11.20",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.12.*",
              "status": "unaffected",
              "version": "5.12.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvbdev: Fix memory leak in dvb_media_device_free()\n\ndvb_media_device_free() is leaking memory. Free `dvbdev-\u003eadapter-\u003econn`\nbefore setting it to NULL, as documented in include/media/media-device.h:\n\"The media_entity instance itself must be freed explicitly by the driver\nif required.\""
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T07:25:22.843Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275"
        },
        {
          "url": "https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409f"
        },
        {
          "url": "https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98"
        },
        {
          "url": "https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81b"
        },
        {
          "url": "https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749"
        },
        {
          "url": "https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066"
        },
        {
          "url": "https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82"
        },
        {
          "url": "https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bf"
        }
      ],
      "title": "media: dvbdev: Fix memory leak in dvb_media_device_free()",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2020-36777",
    "datePublished": "2024-02-27T18:40:26.245Z",
    "dateReserved": "2024-02-26T17:07:27.434Z",
    "dateUpdated": "2024-12-19T07:25:22.843Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2020-36777\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-02-27T19:04:05.760\",\"lastModified\":\"2024-11-21T05:30:17.220\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: dvbdev: Fix memory leak in dvb_media_device_free()\\n\\ndvb_media_device_free() is leaking memory. Free `dvbdev-\u003eadapter-\u003econn`\\nbefore setting it to NULL, as documented in include/media/media-device.h:\\n\\\"The media_entity instance itself must be freed explicitly by the driver\\nif required.\\\"\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: medios: dvbdev: corrige la p\u00e9rdida de memoria en dvb_media_device_free() dvb_media_device_free() est\u00e1 perdiendo memoria. Libere `dvbdev-\u0026gt;adapter-\u0026gt;conn` antes de configurarlo en NULL, como se documenta en include/media/media-device.h: \\\"La instancia media_entity debe ser liberada expl\u00edcitamente por el controlador si es necesario\\\".\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-401\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.5.0\",\"versionEndExcluding\":\"4.9.269\",\"matchCriteriaId\":\"8413F613-F1EE-430D-9972-52EEF6C49672\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.10.0\",\"versionEndExcluding\":\"4.14.233\",\"matchCriteriaId\":\"20505383-2EB8-41EF-A91B-F185B4FB81DF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15.0\",\"versionEndExcluding\":\"4.19.191\",\"matchCriteriaId\":\"B7281E1E-A00B-49C0-A849-9CE1CE780227\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20.0\",\"versionEndExcluding\":\"5.4.118\",\"matchCriteriaId\":\"5670AEA3-082C-42D6-A067-CD9ECED4B84B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5.0\",\"versionEndExcluding\":\"5.10.36\",\"matchCriteriaId\":\"C7148769-B830-4B8F-986F-E0C85A19FC7F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11.0\",\"versionEndExcluding\":\"5.11.20\",\"matchCriteriaId\":\"EFB425F0-C28C-4B44-8B4C-AD512AA832DE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.12.0\",\"versionEndExcluding\":\"5.12.3\",\"matchCriteriaId\":\"C3814FA3-8141-4313-A852-8C4212BE12AD\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/06854b943e0571ccbd7ad0a529babed1a98ff275\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/32168ca1f123316848fffb85d059860adf3c409f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/43263fd43083e412311fa764cd04a727b0c6a749\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9185b3b1c143b8da409c19ac5a785aa18d67a81b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9ad15e214fcd73694ea51967d86055f47b802066\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bf9a40ae8d722f281a2721779595d6df1c33a0bf\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cd89f79be5d553c78202f686e8e4caa5fbe94e98\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cede24d13be6c2a62be6d7ceea63c2719b0cfa82\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.