CVE-2026-142851: media: em28xx: fix inverted tuner capability check for VBI device
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 V4L2CAPTUNER on the VBI device from "dev->tunertype != TUNERABSENT" 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 devicecaps therefore contain V4L2CAPTUNER, while the shared vidiocquerycap() correctly omits it from cap->capabilities. This trips the sanity check in v4lquerycap() whenever the VBI node is queried, for example by udev's v4lid on every hotplug:
WARNING: drivers/media/v4l2-core/v4l2-ioctl.c:1119 at v4lquerycap+0xff/0x110 [videodev] (cap->capabilities & (vfd->devicecaps | V4L2CAPDEVICECAPS)) != (vfd->devicecaps | V4L2CAPDEVICECAPS)
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 V4L2CAPTUNER exactly when the video device does.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch 8e53399c63c3
Event History
Frequently Asked Questions
Which systems are affected in practice?
Systems using em28xx media devices with a VBI node are affected when that node is queried. Tuner-less boards such as the MyGica iGrabber (card=105) incorrectly advertise tuner capability, while boards with a tuner have tuner ioctls incorrectly disabled on the VBI node.
What observable behavior indicates the issue is present?
Querying the VBI node can trigger a v4l_querycap() sanity-check warning in drivers/media/v4l2-core/v4l2-ioctl.c. This may occur automatically during device hotplug when udev runs v4l_id.
Does exploitation require a remote attacker or special access?
The described trigger is a capability query against the local VBI device node. The provided information does not describe a remote attack path.