Linux kernelの脆弱性、メディアドライバーで停止時にバッファーが正しく返されず不具合
概要
Linux kernelのメディアドライバー(hws)で、ストリーミング停止時に割り込み処理の完了を待たずにバッファーを回収するため、不具合が起きる脆弱性です。7.2.0以降7.3.4未満が影響を受け、7.3.4で修正されています。直ちに修正版へ更新することをおすすめします。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux kernelのメディアドライバー(hws)で、ストリーミング停止時に割り込み処理の完了を待たずにバッファーを回収するため、不具合が起きる脆弱性です。7.2.0以降7.3.4未満が影響を受け、7.3.4で修正されています。直ちに修正版へ更新することをおすすめします。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
7.2.0 以上 7.3.4 未満→ 7.3.4 |
7.3.4 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-139049 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-139049 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 166 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com