Linux kernelのVideo driverに解放済みメモリを使う脆弱性
Summary
Linux kernelのmedia: irisドライバーに、ユーザーが同じファイルディスクリプターを閉じた際に解放済みのメモリを参照する脆弱性が見つかりました。CVSSは7.8で、影響を受けるのは6.15.0以降6.18.65未満と6.19.0以降7.3.6未満です。修正版は6.18.65と7.3.6で、利用中のカーネルのバージョンを確認し、修正版への更新を検討してください。
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のmedia: irisドライバーに、ユーザーが同じファイルディスクリプターを閉じた際に解放済みのメモリを参照する脆弱性が見つかりました。CVSSは7.8で、影響を受けるのは6.15.0以降6.18.65未満と6.19.0以降7.3.6未満です。修正版は6.18.65と7.3.6で、利用中のカーネルのバージョンを確認し、修正版への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.15.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
6.18.65 7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-139585 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139585 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
media: iris: reference count video instances
iris_get_instance() looks up an instance on core->instances and returns
it after dropping core->lock, without taking any reference. The threaded
interrupt handler uses this to find the instance a firmware response
belongs to and then takes inst->lock. Meanwhile userspace may close the
same file descriptor: iris_close() removes the instance from the list,
destroys inst->lock and frees the instance. The interrupt handler then
operates on freed memory and a destroyed mutex, a use-after-free.
Add a kref to struct iris_inst. iris_get_instance() takes a reference
under core->lock, so an instance it returns cannot be freed until the
caller drops that reference with iris_inst_put(). The instance is
released (mutexes destroyed, memory freed) only when the last reference
goes away, whether that is held by the closing thread or the interrupt
handler.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com