CVE-2026-139031
media: nuvoton: npcm-video: quiesce VCD IRQ before teardown
Check your servers for CVE-2026-139031
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-139031 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
media: nuvoton: npcm-video: quiesce VCD IRQ before teardown
The VCD IRQ is devm-requested, but npcm_video_remove() frees the video object before devres releases that IRQ. The threaded handler dereferences video->vcd_regmap before checking VIDEO_STREAMING, so an interrupt in that interval can access freed memory.
Request the IRQ with IRQF_NO_AUTOEN. Enable it after starting capture and setting VIDEO_STREAMING, and disable it first in stop_streaming(). disable_irq() waits for an in-flight threaded handler to finish, after which stop_streaming() can mask and reset the VCD without a handler re-enabling it.
Use vb2_video_unregister_device() during remove. It releases the vb2 queue and calls stop_streaming() for an active stream, ensuring that the IRQ is disabled before the video object is freed. Do not release the queue separately.
If streaming is never started, IRQF_NO_AUTOEN keeps the IRQ disabled until devres releases it.
This issue was found by an in-house static analysis tool.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 46c15a4ff1f4fe078c5b250fb2570020211eab38, before 8937d384205b6d385ce1c1bea6c16145de72d9b4 affected from 46c15a4ff1f4fe078c5b250fb2570020211eab38, before 79800ff17a5f487c8cb75481eb71f14ab949eaa4 affected from 46c15a4ff1f4fe078c5b250fb2570020211eab38, before c39241f34edf70e5150e69c71597651e168f3946 affected from 46c15a4ff1f4fe078c5b250fb2570020211eab38, before ae8a4b51df30e39c07704efd5500361d8138c4d0
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 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-139031 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139031
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-139031
trivy image --scanners vuln IMAGE | grep CVE-2026-139031
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
- https://git.kernel.org/stable/c/8937d384205b6d385ce1c1bea6c16145de72d9b4 git.kernel.org
- https://git.kernel.org/stable/c/79800ff17a5f487c8cb75481eb71f14ab949eaa4 git.kernel.org
- https://git.kernel.org/stable/c/c39241f34edf70e5150e69c71597651e168f3946 git.kernel.org
- https://git.kernel.org/stable/c/ae8a4b51df30e39c07704efd5500361d8138c4d0 git.kernel.org
Source: the record CVE-2026-139031 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.
Vulnpocalypse