{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "634fe5033951b80ef4b98d8f047cb1083d29170d"
            },
            {
              "fixed": "c9081e2655188d2d134a741aec837dc70439d505"
            },
            {
              "fixed": "75089cea32e5055773bd13116236d08fdc98678a"
            },
            {
              "fixed": "155d0378ae0d6305cc4840583a6b42d2d0595bff"
            },
            {
              "fixed": "6e4ea90fdc6608cd5fac342e146ab6ae15d430bc"
            },
            {
              "fixed": "a9a8c37ddda9fa3687b142be9098e1c37b8faf35"
            },
            {
              "fixed": "297fee023f46d771a844520675692ea089d80d9d"
            },
            {
              "fixed": "c6749ac8f59cc80eb1b2d52f167fdf13e12655cc"
            },
            {
              "fixed": "2f378dc45e685fc825d2dd08e7864666d6fcc009"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.17.0"
            },
            {
              "fixed": "5.10.270"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.221"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.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-89901.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: airspy: use vb2_video_unregister_device() on disconnect to fix NULL deref\n\nairspy_disconnect() clears s-\u003eudev under v4l2_lock, but\nairspy_stop_streaming() unconditionally calls airspy_ctrl_msg() and\nairspy_free_stream_bufs() afterwards. If a streaming user closes the\ndevice after disconnect, stop_streaming() runs and dereferences the\nNULL s-\u003eudev:\n\n  airspy_stop_streaming()\n    airspy_ctrl_msg(s, CMD_RECEIVER_MODE, 0, 0, NULL, 0)\n      usb_sndctrlpipe(s-\u003eudev, 0)         /* NULL deref */\n    airspy_free_stream_bufs(s)\n      usb_free_coherent(s-\u003eudev, ...)     /* NULL deref */\n\nThe airspy driver uses vb2_fop_release() in its file_operations, so\nreplace video_unregister_device(\u0026s-\u003evdev) with\nvb2_video_unregister_device(\u0026s-\u003evdev) and move it before clearing\ns-\u003eudev. vb2_video_unregister_device() releases the vb2 queue, which\nsynchronously runs airspy_stop_streaming() if streaming is active, so\nthe URBs, coherent DMA stream buffers and the hardware stop control\nmessage all execute while s-\u003eudev is still valid.\n\nvb2_video_unregister_device() locks vdev-\u003equeue-\u003elock (vb_queue_lock)\ninternally, and stop_streaming() locks v4l2_lock, so the previous outer\nmutex_lock(\u0026s-\u003evb_queue_lock) / mutex_lock(\u0026s-\u003ev4l2_lock) pair around\nthe unregister sequence would self-deadlock and has been removed. A\nshort v4l2_lock critical section around s-\u003eudev = NULL remains so any\nioctl path that still holds the file descriptor sees coherent state.\n\nIssue identified by automated review of the INV-003 series at\nhttps://sashiko.dev/",
  "id": "CVE-2026-89901",
  "modified": "2026-09-18T03:30:57.445330972Z",
  "published": "2026-09-16T10:32:00.997Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/155d0378ae0d6305cc4840583a6b42d2d0595bff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/297fee023f46d771a844520675692ea089d80d9d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2f378dc45e685fc825d2dd08e7864666d6fcc009"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6e4ea90fdc6608cd5fac342e146ab6ae15d430bc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/75089cea32e5055773bd13116236d08fdc98678a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a9a8c37ddda9fa3687b142be9098e1c37b8faf35"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c6749ac8f59cc80eb1b2d52f167fdf13e12655cc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c9081e2655188d2d134a741aec837dc70439d505"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89901.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89901"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "media: airspy: use vb2_video_unregister_device() on disconnect to fix NULL deref"
}