{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142851",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.333Z",
        "datePublished": "2026-12-03T03:20:58.034Z",
        "dateUpdated": "2026-12-03T03:20:58.034Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:20:58.034Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->tuner_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->capabilities. 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->capabilities & (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)) != (vfd->device_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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/usb/em28xx/em28xx-video.c"
                    ],
                    "versions": [
                        {
                            "version": "8e53399c63c3152fd572596acedcdaea4cabbc45",
                            "lessThan": "d4855cfbaf1c41a35a5fc54d6245d7924934e14b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8e53399c63c3152fd572596acedcdaea4cabbc45",
                            "lessThan": "a8296bfabd1112e690aad9acc7de3c431f39d0e6",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/usb/em28xx/em28xx-video.c"
                    ],
                    "versions": [
                        {
                            "version": "7.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d4855cfbaf1c41a35a5fc54d6245d7924934e14b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a8296bfabd1112e690aad9acc7de3c431f39d0e6"
                }
            ],
            "title": "media: em28xx: fix inverted tuner capability check for VBI device",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}