Bug 2589408 (CVE-2026-142851) - CVE-2026-142851 kernel: kernel: em28xx: Denial of service via inverted VBI tuner capability check
Summary: CVE-2026-142851 kernel: kernel: em28xx: Denial of service via inverted VBI tu...
Keywords:
Status: NEW
Alias: CVE-2026-142851
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 05:13 UTC by OSIDB Bzimport
Modified: 2026-12-03 10:14 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 05:13:02 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.