CVE-2026-138928

media: tw686x: fix V4L2 device lifetime on probe failure

7.0 high EPSS 0.18%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-138928

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138928 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

media: tw686x: fix V4L2 device lifetime on probe failure

tw686x_video_init() registers the V4L2 device, which initializes its reference count. Successfully registered video devices take additional references to the V4L2 device as well.

The probe failure paths currently tear down the PCI resources and then free the channel arrays and the tw686x device directly. This bypasses the V4L2 device reference count and the tw686x_dev_release() callback.

If a video device still holds a reference, its eventual release will drop a reference to the already freed V4L2 device. Even when no extra references remain, directly freeing the device bypasses the lifetime management established by v4l2_device_register().

After cleaning up the PCI resources, check whether the V4L2 device was registered. If so, mark the hardware unavailable and drop the driver's V4L2 device reference, letting tw686x_dev_release() free the backing objects when the final reference is released. Keep the existing direct free path for failures that occur before V4L2 device registration.

This issue was found by manual code inspection.

Severity (CVSS)

7.0 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.14% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before 3cf093341c49293e3ca9d43a7053753fcb6532fa
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before b407fbdb19ac4e79cd58fcaaa0f00d619db7e48d
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before 5f6c914516b4c0b1bd18d4122ee6d01b05339e3a
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before bd24b2b9f49f4b00c8217d01f636d1f3c5913661
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before 75e716e458f3093ee5cf5d38383b08c43821f435
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before c1b1e81ed8b2bae7299243c5722332451b0c3338
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before 546536807ad441e63c92ee902860318e245182c1
affected from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49, before ce6c6dd632b3b4a2c2bfc9efd8f656f4d2137dbd
Other versions: unaffected
Linux
affected 4.7
unaffected before 4.7
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138928 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138928

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-138928
trivy image --scanners vuln IMAGE | grep CVE-2026-138928

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-138928 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.