media: nuvoton: npcm-video: quiesce VCD IRQ before teardown

Summary

CVECVE-2026-139031
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:07 UTC
Updated2026-11-30 14:18:07 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 46c15a4ff1f4fe078c5b250fb2570020211eab38 8937d384205b6d385ce1c1bea6c16145de72d9b4 git Not specified
CNA Linux Linux affected 46c15a4ff1f4fe078c5b250fb2570020211eab38 79800ff17a5f487c8cb75481eb71f14ab949eaa4 git Not specified
CNA Linux Linux affected 46c15a4ff1f4fe078c5b250fb2570020211eab38 c39241f34edf70e5150e69c71597651e168f3946 git Not specified
CNA Linux Linux affected 46c15a4ff1f4fe078c5b250fb2570020211eab38 ae8a4b51df30e39c07704efd5500361d8138c4d0 git Not specified
CNA Linux Linux affected 6.7 Not specified
CNA Linux Linux unaffected 6.7 semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/79800ff17a5f487c8cb75481eb71f14ab949eaa4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c39241f34edf70e5150e69c71597651e168f3946 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8937d384205b6d385ce1c1bea6c16145de72d9b4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ae8a4b51df30e39c07704efd5500361d8138c4d0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report