CVE-2026-139031

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139032In the Linux kernel, the following vulnerability has been resolved: media: stv0900: bound DiSEqC reply length to msg[] size The FIFO_BYTENCVE-2026-139033In the Linux kernel, the following vulnerability has been resolved: media: stv090x: bound DiSEqC reply length to msg[] size The FIFO_BYTENCVE-2026-139034In the Linux kernel, the following vulnerability has been resolved: media: adv7604: avoid negative array index in log_status when cp_read fCVE-2026-139035In the Linux kernel, the following vulnerability has been resolved: media: stm32: csi: unregister async notifier on cleanup stm32_csi_parsCVE-2026-139036In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: fix PM runtime leak in AWB work handler Early reCVE-2026-139037In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: do not touch WB registers when not streaming iscCVE-2026-139038In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: disable histogram and flush AWB work on teardown CVE-2026-139039In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: synchronize the IRQ before disabling clocks on stCVE-2026-139046.5Inappropriate implementation in Safe Browsing in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker to bypass navigation CVE-2026-139040In the Linux kernel, the following vulnerability has been resolved: media: vidtv: fix frontend reference leak on unbind dvb_register_frontCVE-2026-139041In the Linux kernel, the following vulnerability has been resolved: media: vicodec: make encoder CAPTURE dimensions read-only Setting the CVE-2026-1390427.8In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix out-of-bounds write on under-rounded coded dimensio
CVE-2026-139031: Unscored | Vulnix