CVE-2026-139049 media: hws: Wait for IRQ handler before returning buffers

Published Updated

CVSS score

High

7.0/10

CVSS 3.1 · Scored by the Linux kernel CNA Breakdown
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
Local or same network
Any signed-in user, no user action

What is CVE-2026-139049?

CVE-2026-139049 is a high-severity vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

media: hws: Wait for IRQ handler before returning buffers

hws_stop_streaming() disables capture and then collects the active and queued buffers straight away. Clearing cap_active and setting stop_requested only stops a VDONE handler that has not checked them yet; one already running on another CPU has passed those checks and cannot be recalled.

That handler snapshots v->active into a local pointer and drops irq_lock before it touches the buffer, so stop_streaming can run in between. Without a next_prepared buffer both paths complete the same buffer, and the second vb2_buffer_done() hits the WARN_ON for a buffer that is no longer active. With a next_prepared buffer the snapshot is the only remaining reference to the old active buffer, so stop_streaming returns without it and vb2 reports "stop_streaming operation is leaving buffer %u in active state" before completing it with an error.

Either way the driver breaks the vb2 rule that stop_streaming has to give back every buffer it owns before it returns.

Wait for the handler once the hardware is disabled and before the buffers are collected. The live mode change and the channel cleanup paths already do this around the same collect helper.

How severe is CVE-2026-139049?

CVE-2026-139049 scores 7.0 out of 10 under CVSS 3.1, which is high severity. It was scored by the Linux kernel CNA.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-139049?

How do I fix CVE-2026-139049?

Upgrade to a fixed version.

Is CVE-2026-139049 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-139049, GHSA-vf2h-876w-443p, UBUNTU-CVE-2026-139049.

Is CVE-2026-139049 in your software?

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

Check your SBOMs for free