{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8e53399c63c3152fd572596acedcdaea4cabbc45"
            },
            {
              "fixed": "d4855cfbaf1c41a35a5fc54d6245d7924934e14b"
            },
            {
              "fixed": "a8296bfabd1112e690aad9acc7de3c431f39d0e6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142851.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: em28xx: fix inverted tuner capability check for VBI device\n\nCommit 8e53399c63c3 (\"media: em28xx: Add support for Empia em2828X\nbridge\") changed the condition for setting V4L2_CAP_TUNER on the VBI\ndevice from \"dev-\u003etuner_type != TUNER_ABSENT\" to a check of the video\ndevice's capabilities, but inverted it: the VBI node now advertises a\ntuner only when the video node does not have one.\n\nOn boards without a tuner (e.g. the MyGica iGrabber, card=105) the VBI\ndevice's device_caps therefore contain V4L2_CAP_TUNER, while the shared\nvidioc_querycap() correctly omits it from cap-\u003ecapabilities. This trips\nthe sanity check in v4l_querycap() whenever the VBI node is queried,\nfor example by udev's v4l_id on every hotplug:\n\n  WARNING: drivers/media/v4l2-core/v4l2-ioctl.c:1119 at v4l_querycap+0xff/0x110 [videodev]\n  (cap-\u003ecapabilities \u0026 (vfd-\u003edevice_caps | V4L2_CAP_DEVICE_CAPS)) != (vfd-\u003edevice_caps | V4L2_CAP_DEVICE_CAPS)\n\nIt also leaves the tuner ioctls enabled on the VBI node of tuner-less\nboards and disables them on boards that do have a tuner.\n\nRestore the intended logic so the VBI device has V4L2_CAP_TUNER exactly\nwhen the video device does.",
  "id": "CVE-2026-142851",
  "modified": "2026-12-03T04:46:09.824273453Z",
  "published": "2026-12-03T03:20:58.034Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a8296bfabd1112e690aad9acc7de3c431f39d0e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4855cfbaf1c41a35a5fc54d6245d7924934e14b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142851.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142851"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "media: em28xx: fix inverted tuner capability check for VBI device"
}