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

Published Nov 30, 2026
·
Updated

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 npcmvideoremove() frees the video object before devres releases that IRQ. The threaded handler dereferences video->vcdregmap before checking VIDEOSTREAMING, so an interrupt in that interval can access freed memory.

Request the IRQ with IRQFNOAUTOEN. Enable it after starting capture and setting VIDEOSTREAMING, and disable it first in stopstreaming(). disableirq() waits for an in-flight threaded handler to finish, after which stopstreaming() can mask and reset the VCD without a handler re-enabling it.

Use vb2videounregisterdevice() during remove. It releases the vb2 queue and calls stopstreaming() 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, IRQFNOAUTOEN keeps the IRQ disabled until devres releases it.

This issue was found by an in-house static analysis tool.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Request the VCD IRQ with IRQF_NO_AUTOEN, enable it after starting capture and setting VIDEO_STREAMING, and disable it first in stop_streaming().

    Linux kernel Nuvoton npcm-video driver VCD IRQ lifecycle = IRQF_NO_AUTOEN
  2. Compensating control

    Call vb2_video_unregister_device() during npcm_video_remove() to unregister the video device during teardown.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203