{"id":"CVE-2026-89877","summary":"media: saa7164: fix cleanup on resource allocation failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: saa7164: fix cleanup on resource allocation failure\n\nsaa7164_dev_setup() adds the device to the global saa7164_devlist before\nrequesting the PCI BAR memory regions.\n\nIf get_resources() fails, saa7164_dev_setup() decrements the device count\nand returns an error, but leaves the device on saa7164_devlist. The probe\nerror path then frees the device, leaving a dangling entry on the global\nlist.\n\nReuse the existing MMIO mapping error path to remove the device from\nsaa7164_devlist and decrement the device count before returning.\n\nAlso release BAR0 if it was successfully requested but the BAR2 request\nfails.","modified":"2026-09-18T03:48:33.663094180Z","published":"2026-09-16T10:31:44.194Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89877.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/28e84c6e2e6753ed238ea097b2842a32a6a6879b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d2048466af9e2c960c5be6dcd317e3b657d268b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69259c627009bf7621010ae9e997dad2dad3339c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77f216f8de6221efb6f6c471bc9e598f1879825b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/daa5b32cdf7db81a07ee2a91ce092a363e7754aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc65623524b5bf23baddc6ae688d954fba0d5de2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89877.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89877"},{"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":"443c1228d50518f3c550e1fef490a2c9d9246ce7"},{"fixed":"daa5b32cdf7db81a07ee2a91ce092a363e7754aa"},{"fixed":"77f216f8de6221efb6f6c471bc9e598f1879825b"},{"fixed":"69259c627009bf7621010ae9e997dad2dad3339c"},{"fixed":"4d2048466af9e2c960c5be6dcd317e3b657d268b"},{"fixed":"fc65623524b5bf23baddc6ae688d954fba0d5de2"},{"fixed":"28e84c6e2e6753ed238ea097b2842a32a6a6879b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89877.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.32"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89877.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}