{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "82e3a496eb56da0b9f29fdc5b63cedb3289e91de"
            },
            {
              "fixed": "3ad6cf27505017a6794f5f96c31218c2291e951b"
            },
            {
              "fixed": "c4acac8cdc005b2d14b6cef5e215d264212857f3"
            },
            {
              "fixed": "4d99d8d0d895489064783601a516bd45812fa992"
            },
            {
              "fixed": "f1c4f3885df1f09bcab5296d86834d104f865e86"
            },
            {
              "fixed": "672dbccf4351370dad002d3c78dbb29ca1588f22"
            },
            {
              "fixed": "0735e0b5a96761a9ce277a238e834008ad92a0a5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "bd01629315ffd5b63da91d0bd529a77d30e55028"
            },
            {
              "last_affected": "ff3357bffd9fb78f59762d8955afc7382a279079"
            },
            {
              "last_affected": "c1ba65100a359fe28cfe37e09e10c99f247cbf1e"
            },
            {
              "last_affected": "1e501ec38796f43e995731d1bcd4173cb1ccfce0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.10.110"
            },
            {
              "fixed": "5.11"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.33"
            },
            {
              "fixed": "5.16"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.16.19"
            },
            {
              "fixed": "5.17"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.17.2"
            },
            {
              "fixed": "5.18"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.18.0"
            },
            {
              "fixed": "6.1.188"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.157"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.51"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89870.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: zoran: Avoid freeing a registered video_device twice\n\nzoran_init_video_device() installs zoran_vdev_release() as the\nvideo_device release callback through zoran_template. After\nvideo_register_device() succeeds, video_unregister_device() drops the\nregistered video_device reference and the V4L2 core eventually invokes\nthat release callback, which kfree()s the video_device.\n\nzoran_exit_video_devices() called video_unregister_device() and then\nkfree(zr-\u003evideo_dev), so device teardown could free the same\nvideo_device twice.\n\nRemove the direct kfree() and clear the cached pointer after\nunregistering. The pre-registration failure path keeps its manual free\nbecause the video_device was not registered there.\n\nThis issue was found by a static analysis checker and confirmed by\nmanual source review.",
  "id": "CVE-2026-89870",
  "modified": "2026-09-18T03:30:30.825334704Z",
  "published": "2026-09-16T10:31:39.271Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0735e0b5a96761a9ce277a238e834008ad92a0a5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3ad6cf27505017a6794f5f96c31218c2291e951b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4d99d8d0d895489064783601a516bd45812fa992"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/672dbccf4351370dad002d3c78dbb29ca1588f22"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c4acac8cdc005b2d14b6cef5e215d264212857f3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f1c4f3885df1f09bcab5296d86834d104f865e86"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89870.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89870"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "media: zoran: Avoid freeing a registered video_device twice"
}