CVE-2026-139585
published high CVSS 3.1 · 7.8media: iris: reference count video instances
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux38fc8beaba55e06c8831f21a96ec5e33e2f1978f to < 3ce4c550872276fa0b2a34fb26a35162fb058345 · 38fc8beaba55e06c8831f21a96ec5e33e2f1978f to < da146dab51d1470262a148a0b31762bf8f32f76f · 38fc8beaba55e06c8831f21a96ec5e33e2f1978f to < af5f7df6c8b33bed714ec0aea15a0a2f48900c0a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 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: 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.
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.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The free is iris_close() on a /dev/videoN fd for qcom-iris-decoder/encoder. The reader is the threaded IRQ handler (iris_hfi_isr_handler → iris_hfi_gen1/gen2 response handler → iris_get_instance()) processing VPU firmware messages. No network data is involved, only local open/ioctl/close on the V4L2 node. AC:L - placeholder PR:L - placeholder UI:N - placeholder S:U - placeholder C:H - placeholder I:H - placeholder A:H - placeholder
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 38fc8beaba55e06c8831f21a96ec5e33e2f1978f to < 3ce4c550872276fa0b2a34fb26a35162fb058345 (affected · git)38fc8beaba55e06c8831f21a96ec5e33e2f1978f to < da146dab51d1470262a148a0b31762bf8f32f76f (affected · git)38fc8beaba55e06c8831f21a96ec5e33e2f1978f to < af5f7df6c8b33bed714ec0aea15a0a2f48900c0a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
media: iris: reference count video instances
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b6a4245cb66743d8a4f90f0fccf9ba75aae6371e2a560f879e65a495e2cd3e32
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record