{"id":"CVE-2026-139672","summary":"media: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link()\n\ndevice_link_add() only takes a reference to the supplier when the\nlink is created successfully.  When it fails it returns NULL without\ntaking one, so the put_device(csi_dev) before the error check can\ndrop the last reference to csi_dev and dev_name(csi_dev) then\ndereferences a freed device.\n\nMove the put_device() below the error check and release the\nreference through the existing err_put label on the failure path so\nthat csi_dev is no longer touched after it has been put.","modified":"2026-12-01T21:02:39.160257506Z","published":"2026-11-30T13:36:55.012Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139672.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/b0af3a1c14ac93c51a3061eabd7f69b3723bdd56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9be93338c2fbaffdbda4f89045e879932e827ca"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139672.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139672"},{"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":"765abb76f51f217405fe91176c680dff4d7b8c25"},{"fixed":"b0af3a1c14ac93c51a3061eabd7f69b3723bdd56"},{"fixed":"f9be93338c2fbaffdbda4f89045e879932e827ca"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139672.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"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-139672.json"}}],"schema_version":"1.9.2"}