Skip to content
High 7.0

Linux kernelの脆弱性、メディアドライバーで停止時にバッファーが正しく返されず不具合

CVE-2026-139049 First seen on SecPulse

Summary

Linux kernelのメディアドライバー(hws)で、ストリーミング停止時に割り込み処理の完了を待たずにバッファーを回収するため、不具合が起きる脆弱性です。7.2.0以降7.3.4未満が影響を受け、7.3.4で修正されています。直ちに修正版へ更新することをおすすめします。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux kernelのメディアドライバー(hws)で、ストリーミング停止時に割り込み処理の完了を待たずにバッファーを回収するため、不具合が起きる脆弱性です。7.2.0以降7.3.4未満が影響を受け、7.3.4で修正されています。直ちに修正版へ更新することをおすすめします。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 7.2.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details