CVE-2026-142851

Source
https://cve.org/CVERecord?id=CVE-2026-142851
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142851.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142851
Downstream
Published
2026-12-03T03:20:58Z
Modified
2026-12-03T05:00:49Z
Summary
media: em28xx: fix inverted tuner capability check for VBI device
Details

In the Linux kernel, the following vulnerability has been resolved:

media: em28xx: fix inverted tuner capability check for VBI device

Commit 8e53399c63c3 ("media: em28xx: Add support for Empia em2828X bridge") changed the condition for setting V4L2_CAP_TUNER on the VBI device from "dev->tuner_type != TUNER_ABSENT" to a check of the video device's capabilities, but inverted it: the VBI node now advertises a tuner only when the video node does not have one.

On boards without a tuner (e.g. the MyGica iGrabber, card=105) the VBI device's device_caps therefore contain V4L2_CAP_TUNER, while the shared vidioc_querycap() correctly omits it from cap->capabilities. This trips the sanity check in v4l_querycap() whenever the VBI node is queried, for example by udev's v4l_id on every hotplug:

WARNING: drivers/media/v4l2-core/v4l2-ioctl.c:1119 at v4l_querycap+0xff/0x110 [videodev] (cap->capabilities & (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)) != (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)

It also leaves the tuner ioctls enabled on the VBI node of tuner-less boards and disables them on boards that do have a tuner.

Restore the intended logic so the VBI device has V4L2_CAP_TUNER exactly when the video device does.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142851.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8e53399c63c3152fd572596acedcdaea4cabbc45
Fixed
d4855cfbaf1c41a35a5fc54d6245d7924934e14b
Fixed
a8296bfabd1112e690aad9acc7de3c431f39d0e6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142851.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142851.json"