{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89895",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89895"
  ],
  "published": "2026-09-16T10:32:03Z",
  "summary": "media: cobalt: Avoid freeing ALSA private data twice",
  "details": "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->private_data and installs\nsnd_cobalt_card_private_free() as sc->private_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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-89895"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/75bbf45e3a954e292ae26832d2df40ca2e3ee452"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fe65028ee72a7e07e572b351891bd7a1f8917d33"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/61dfa8ded5efc3a25d331fa9ce5cebb85531fe70"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/42e00371f83c3fc7b99a36bf0229c74ad5d3c7d8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6cbc8a73b3464ebeccc49987b7233b6b087b8504"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cb1218da234ea15fa14d90e2d049d686874d7aa3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8c6610e230b9355cf7df5a338a0592c0f088c00b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3a7d6b9c4cb5ac18cbd3f1c7f8c7b159c42ba0b1"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-16T10:32:03Z"
  }
}
