{"id":"CVE-2026-139586","summary":"media: iris: take core lock when scanning the instance list","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: take core lock when scanning the instance list\n\niris_check_session_supported() walks core-\u003einstances to confirm the\ncurrent instance is registered, but does so without holding core-\u003elock.\nA concurrent iris_close() takes core-\u003elock and removes a (possibly\ndifferent) instance from the list via list_del_init() before freeing it,\nso the lockless traversal can follow a freed pointer and dereference it,\nresulting in a use-after-free.\n\nHold core-\u003elock across the list traversal, matching the other iterators\nover core-\u003einstances such as iris_check_core_mbpf(). The lock is dropped\nbefore iris_check_core_mbpf() is called so the nesting is unchanged.","modified":"2026-12-01T21:02:39.003867872Z","published":"2026-11-30T13:36:07.528Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139586.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/428e6f95e685a06a73868aee95dd94dca7b3a027"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46c2a699e74cdb2ecc675a5c865e67cd9971c6c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c45a2271619a3e6e56a5040dfc924b868b68cb04"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139586.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139586"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bdbe1cac0c10a50eaf5ba1472429f6d721dffba4"},{"fixed":"c45a2271619a3e6e56a5040dfc924b868b68cb04"},{"fixed":"46c2a699e74cdb2ecc675a5c865e67cd9971c6c3"},{"fixed":"428e6f95e685a06a73868aee95dd94dca7b3a027"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139586.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139586.json"}}],"schema_version":"1.9.2"}