{"id":"CVE-2026-139585","aliases":["CVE-2026-139585"],"related":[],"kind":"vulnerability","state":"published","title":"media: iris: reference count video instances","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: reference count video instances\n\niris_get_instance() looks up an instance on core->instances and returns\nit after dropping core->lock, without taking any reference. The threaded\ninterrupt handler uses this to find the instance a firmware response\nbelongs to and then takes inst->lock. Meanwhile userspace may close the\nsame file descriptor: iris_close() removes the instance from the list,\ndestroys inst->lock and frees the instance. The interrupt handler then\noperates on freed memory and a destroyed mutex, a use-after-free.\n\nAdd a kref to struct iris_inst. iris_get_instance() takes a reference\nunder core->lock, so an instance it returns cannot be freed until the\ncaller drops that reference with iris_inst_put(). The instance is\nreleased (mutexes destroyed, memory freed) only when the last reference\ngoes away, whether that is held by the closing thread or the interrupt\nhandler.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: reference count video instances\n\niris_get_instance() looks up an instance on core->instances and returns\nit after dropping core->lock, without taking any reference. The threaded\ninterrupt handler uses this to find the instance a firmware response\nbelongs to and then takes inst->lock. Meanwhile userspace may close the\nsame file descriptor: iris_close() removes the instance from the list,\ndestroys inst->lock and frees the instance. The interrupt handler then\noperates on freed memory and a destroyed mutex, a use-after-free.\n\nAdd a kref to struct iris_inst. iris_get_instance() takes a reference\nunder core->lock, so an instance it returns cannot be freed until the\ncaller drops that reference with iris_inst_put(). The instance is\nreleased (mutexes destroyed, memory freed) only when the last reference\ngoes away, whether that is held by the closing thread or the interrupt\nhandler.","source":"cvelist"}],"published":"2026-11-30T13:36:06.956Z","modified":"2026-12-01T06:17:46.113Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"38fc8beaba55e06c8831f21a96ec5e33e2f1978f","fixed":"3ce4c550872276fa0b2a34fb26a35162fb058345","status":"affected"},{"type":"git","introduced":"38fc8beaba55e06c8831f21a96ec5e33e2f1978f","fixed":"da146dab51d1470262a148a0b31762bf8f32f76f","status":"affected"},{"type":"git","introduced":"38fc8beaba55e06c8831f21a96ec5e33e2f1978f","fixed":"af5f7df6c8b33bed714ec0aea15a0a2f48900c0a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3ce4c550872276fa0b2a34fb26a35162fb058345","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da146dab51d1470262a148a0b31762bf8f32f76f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af5f7df6c8b33bed714ec0aea15a0a2f48900c0a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139585","url":"https://www.cve.org/CVERecord?id=CVE-2026-139585","licence":"CVE Terms of Use","modified":"2026-12-01T05:42:51.599Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139585","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139585","licence":"Public domain","modified":"2026-12-01T06:17:46.113Z"}],"updatedAt":"2026-12-01T06:32:24.440Z","epss":{"score":0.00133,"percentile":0.03045,"date":"2026-12-01T12:00:22.000Z"}}