{"api_version":"1","generated_at":"2026-12-03T07:06:51+00:00","cve":"CVE-2026-142851","urls":{"html":"https://cve.report/CVE-2026-142851","api":"https://cve.report/api/cve/CVE-2026-142851.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142851","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142851"},"summary":{"title":"media: em28xx: fix inverted tuner capability check for VBI device","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:22","updated_at":"2026-12-03 04:18:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d4855cfbaf1c41a35a5fc54d6245d7924934e14b","name":"https://git.kernel.org/stable/c/d4855cfbaf1c41a35a5fc54d6245d7924934e14b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a8296bfabd1112e690aad9acc7de3c431f39d0e6","name":"https://git.kernel.org/stable/c/a8296bfabd1112e690aad9acc7de3c431f39d0e6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142851","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142851","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e53399c63c3152fd572596acedcdaea4cabbc45 d4855cfbaf1c41a35a5fc54d6245d7924934e14b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e53399c63c3152fd572596acedcdaea4cabbc45 a8296bfabd1112e690aad9acc7de3c431f39d0e6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/media/usb/em28xx/em28xx-video.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d4855cfbaf1c41a35a5fc54d6245d7924934e14b","status":"affected","version":"8e53399c63c3152fd572596acedcdaea4cabbc45","versionType":"git"},{"lessThan":"a8296bfabd1112e690aad9acc7de3c431f39d0e6","status":"affected","version":"8e53399c63c3152fd572596acedcdaea4cabbc45","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/media/usb/em28xx/em28xx-video.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.1"},{"lessThan":"7.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"7.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:20:58.034Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142851","datePublished":"2026-12-03T03:20:58.034Z","dateReserved":"2026-12-03T03:10:28.333Z","dateUpdated":"2026-12-03T03:20:58.034Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:22","lastModifiedDate":"2026-12-03 04:18:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142851","Ordinal":"1","Title":"media: em28xx: fix inverted tuner capability check for VBI devic","CVE":"CVE-2026-142851","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142851","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"media: em28xx: fix inverted tuner capability check for VBI devic"}]}}}