# CVE-2026-142851: media: em28xx: fix inverted tuner capability check for VBI device

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:20:58.034Z
- **Modified:** 2026-12-03T04:18:22.007Z

## Who should check

- Anyone running Linux \>= 8e53399c63c3152fd572596acedcdaea4cabbc45, \< d4855cfbaf1c41a35a5fc54d6245d7924934e14b; \>= 8e53399c63c3152fd572596acedcdaea4cabbc45, \< a8296bfabd1112e690aad9acc7de3c431f39d0e6
- Anyone running Linux 7.1

## Description

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.

## Affected and fixed versions

- Linux: \>= 8e53399c63c3152fd572596acedcdaea4cabbc45, \< d4855cfbaf1c41a35a5fc54d6245d7924934e14b; \>= 8e53399c63c3152fd572596acedcdaea4cabbc45, \< a8296bfabd1112e690aad9acc7de3c431f39d0e6 (cvelist)
- Linux: 7.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142851. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142851.md
Affected: Linux >= 8e53399c63c3152fd572596acedcdaea4cabbc45, < d4855cfbaf1c41a35a5fc54d6245d7924934e14b; >= 8e53399c63c3152fd572596acedcdaea4cabbc45, < a8296bfabd1112e690aad9acc7de3c431f39d0e6; Linux 7.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142851 being exploited?

There is no confirmed exploitation: CVE-2026-142851 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142851?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142851?

Linux \>= 8e53399c63c3152fd572596acedcdaea4cabbc45, \< d4855cfbaf1c41a35a5fc54d6245d7924934e14b; \>= 8e53399c63c3152fd572596acedcdaea4cabbc45, \< a8296bfabd1112e690aad9acc7de3c431f39d0e6; Linux 7.1.

### Is there a fix for CVE-2026-142851?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142851?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/d4855cfbaf1c41a35a5fc54d6245d7924934e14b>
- other: <https://git.kernel.org/stable/c/a8296bfabd1112e690aad9acc7de3c431f39d0e6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142851>

HTML: <https://flawdb.com/CVE-2026-142851> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142851>
