CVE-2026-139031
publishedmedia: nuvoton: npcm-video: quiesce VCD IRQ before teardown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux46c15a4ff1f4fe078c5b250fb2570020211eab38 to < 8937d384205b6d385ce1c1bea6c16145de72d9b4 · 46c15a4ff1f4fe078c5b250fb2570020211eab38 to < 79800ff17a5f487c8cb75481eb71f14ab949eaa4 · 46c15a4ff1f4fe078c5b250fb2570020211eab38 to < c39241f34edf70e5150e69c71597651e168f3946 · 46c15a4ff1f4fe078c5b250fb2570020211eab38 to < ae8a4b51df30e39c07704efd5500361d8138c4d0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 46c15a4ff1f4fe078c5b250fb2570020211eab38 to < 8937d384205b6d385ce1c1bea6c16145de72d9b4 (affected · git)46c15a4ff1f4fe078c5b250fb2570020211eab38 to < 79800ff17a5f487c8cb75481eb71f14ab949eaa4 (affected · git)46c15a4ff1f4fe078c5b250fb2570020211eab38 to < c39241f34edf70e5150e69c71597651e168f3946 (affected · git)46c15a4ff1f4fe078c5b250fb2570020211eab38 to < ae8a4b51df30e39c07704efd5500361d8138c4d0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
media: nuvoton: npcm-video: quiesce VCD IRQ before teardown
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de6c304c78396a218538e6c8339dfb9d41b6e758cc669a0c2681b087a707cc22
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record