{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89877",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89877"
  ],
  "published": "2026-09-16T10:32:03Z",
  "summary": "media: saa7164: fix cleanup on resource allocation failure",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: saa7164: fix cleanup on resource allocation failure\n\nsaa7164_dev_setup() adds the device to the global saa7164_devlist before\nrequesting the PCI BAR memory regions.\n\nIf get_resources() fails, saa7164_dev_setup() decrements the device count\nand returns an error, but leaves the device on saa7164_devlist. The probe\nerror path then frees the device, leaving a dangling entry on the global\nlist.\n\nReuse the existing MMIO mapping error path to remove the device from\nsaa7164_devlist and decrement the device count before returning.\n\nAlso release BAR0 if it was successfully requested but the BAR2 request\nfails.",
  "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-89877"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/daa5b32cdf7db81a07ee2a91ce092a363e7754aa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/77f216f8de6221efb6f6c471bc9e598f1879825b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/69259c627009bf7621010ae9e997dad2dad3339c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4d2048466af9e2c960c5be6dcd317e3b657d268b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fc65623524b5bf23baddc6ae688d954fba0d5de2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/28e84c6e2e6753ed238ea097b2842a32a6a6879b"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-16T14:40:32Z"
  }
}
