{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-89896",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-89896"
  ],
  "published": "2026-09-16T10:32:03Z",
  "summary": "media: cedrus: fix memory leak in cedrus_init_ctrls()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cedrus: fix memory leak in cedrus_init_ctrls()\n\nIn cedrus_init_ctrls(), the V4L2 control handler is initialized before\nallocating memory for ctx->ctrls. If this allocation fails, the function\nreturns -ENOMEM without freeing the previously allocated handler\nresources, leading to a memory leak.\n\nFix this by calling v4l2_ctrl_handler_free() on the ctx->ctrls allocation\nfailure path.\n\nThe bug was first flagged by an experimental analysis tool we are\ndeveloping for kernel memory-management bugs while analyzing\nv6.13-rc1. The tool is still under development and is not yet publicly\navailable. Manual inspection confirms that the bug is still\npresent in v7.1.1.\n\nAn x86_64 allyesconfig build showed no new warnings. As we do not have an\nAllwinner SoC or board with a Cedrus VPU available to test with, no\nruntime testing was able to be performed.",
  "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-89896"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6fabacc3b79a528450aef4c32464da2ec681049e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/729a1ffab968b3c493f61d1cd683f5bafec500ea"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ce5693b6e3a693fcdc3800af309363f6250104c8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/22441be29ec27c693f40c1ef499093275ef529d1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/79fd0b0161506fc9507bf7a6fe4c975a857a5be8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f78cf36cabf911da348ea80e4e9f430d74f6905c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/81aa608ac3a56cdd4aab0bd12442ed529a24ba31"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9df2fbe563194da1967a5db083442186c1323efe"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-16T10:32:03Z"
  }
}
