CVE-2026-89895 (GCVE-0-2026-89895)
Vulnerability from cvelistv5
Published
2026-09-16 10:31
Modified
2026-10-19 08:54
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: cobalt: Avoid freeing ALSA private data twice snd_cobalt_card_create() stores cobsc in sc->private_data and installs snd_cobalt_card_private_free() as sc->private_free. From that point, snd_card_free(sc) releases cobsc through the ALSA card cleanup path. If cobalt_alsa_init() fails after snd_cobalt_card_create(), the err_exit_free path calls snd_card_free(sc) and then kfree(cobsc). That second free releases the same object again. Remove the explicit kfree(cobsc) and leave ownership with the ALSA card. This issue was found by a static analysis checker and confirmed by manual source review.
Impacted products
Vendor Product Version
Linux Linux Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Version: 85756a069c55e0315ac5990806899cfb607b987f
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/pci/cobalt/cobalt-alsa-main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "75bbf45e3a954e292ae26832d2df40ca2e3ee452",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "fe65028ee72a7e07e572b351891bd7a1f8917d33",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "61dfa8ded5efc3a25d331fa9ce5cebb85531fe70",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "42e00371f83c3fc7b99a36bf0229c74ad5d3c7d8",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "6cbc8a73b3464ebeccc49987b7233b6b087b8504",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "cb1218da234ea15fa14d90e2d049d686874d7aa3",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "8c6610e230b9355cf7df5a338a0592c0f088c00b",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            },
            {
              "lessThan": "3a7d6b9c4cb5ac18cbd3f1c7f8c7b159c42ba0b1",
              "status": "affected",
              "version": "85756a069c55e0315ac5990806899cfb607b987f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/pci/cobalt/cobalt-alsa-main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cobalt: Avoid freeing ALSA private data twice\n\nsnd_cobalt_card_create() stores cobsc in sc-\u003eprivate_data and installs\nsnd_cobalt_card_private_free() as sc-\u003eprivate_free. From that point,\nsnd_card_free(sc) releases cobsc through the ALSA card cleanup path.\n\nIf cobalt_alsa_init() fails after snd_cobalt_card_create(), the\nerr_exit_free path calls snd_card_free(sc) and then kfree(cobsc). That\nsecond free releases the same object again.\n\nRemove the explicit kfree(cobsc) and leave ownership with the ALSA card.\n\nThis issue was found by a static analysis checker and confirmed by\nmanual source review."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:54:28.227Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/75bbf45e3a954e292ae26832d2df40ca2e3ee452"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe65028ee72a7e07e572b351891bd7a1f8917d33"
        },
        {
          "url": "https://git.kernel.org/stable/c/61dfa8ded5efc3a25d331fa9ce5cebb85531fe70"
        },
        {
          "url": "https://git.kernel.org/stable/c/42e00371f83c3fc7b99a36bf0229c74ad5d3c7d8"
        },
        {
          "url": "https://git.kernel.org/stable/c/6cbc8a73b3464ebeccc49987b7233b6b087b8504"
        },
        {
          "url": "https://git.kernel.org/stable/c/cb1218da234ea15fa14d90e2d049d686874d7aa3"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c6610e230b9355cf7df5a338a0592c0f088c00b"
        },
        {
          "url": "https://git.kernel.org/stable/c/3a7d6b9c4cb5ac18cbd3f1c7f8c7b159c42ba0b1"
        }
      ],
      "title": "media: cobalt: Avoid freeing ALSA private data twice",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89895",
    "datePublished": "2026-09-16T10:31:56.817Z",
    "dateReserved": "2026-09-11T19:38:34.773Z",
    "dateUpdated": "2026-10-19T08:54:28.227Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…