CVE-2026-139031 media: nuvoton: npcm-video: quiesce VCD IRQ before teardown

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139031?

CVE-2026-139031 is a vulnerability in Linux, published on 30 Nov 2026.

Official 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.

Which versions are affected by CVE-2026-139031?

How do I fix CVE-2026-139031?

Upgrade to a fixed version.

Is CVE-2026-139031 being exploited?

There is no known exploitation of CVE-2026-139031 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139031, DEBIAN-CVE-2026-139031, GHSA-jf6c-rj95-34gf, UBUNTU-CVE-2026-139031.

Is CVE-2026-139031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free