{"id":"CVE-2026-68212","summary":"media: saa7134: Fix a possible memory leak in saa7134_video_init1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: saa7134: Fix a possible memory leak in saa7134_video_init1\n\nIn saa7134_video_init1(), the return value of the first\nsaa7134_pgtable_alloc() is not checked. If it fails, the function\ncontinues as if successful, leaving the driver with an invalid page\ntable. Additionally, if vb2_queue_init() for the VBI queue fails after\nthe video queue page table has been allocated, the allocated memory is\nnot freed before returning. The second saa7134_pgtable_alloc() also\nlacks a return value check. Errors occur during device probing before\nthe device is fully registered, the normal cleanup path in\nsaa7134_finidev() is not executed, leading to memory leaks and\npotential use of uninitialized DMA resources.\n\nCheck the return value of both saa7134_pgtable_alloc() calls and\npropagate errors. On failure of any later step, free allocated page\ntables to avoid memory leaks. Ensure control handlers are also\nreleased on error to prevent further resource leakage.\n\nFound by code review.","modified":"2026-08-12T04:18:46.693921630Z","published":"2026-08-10T12:00:31.498Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68212.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/134c979dd721e22f196d71026432ee37d1f5cc38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1731dd61b6c0b7435c139951d2b7eada6c9667a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7936e8cbec1b96b126058eeb005e5b9111df38e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f86ed548386e3050e5f8f25b450d09dc009d9a88"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68212.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68212"},{"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":"a00e68888d5d2b583b13d7d58204a27207af95fd"},{"fixed":"134c979dd721e22f196d71026432ee37d1f5cc38"},{"fixed":"e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23"},{"fixed":"b7936e8cbec1b96b126058eeb005e5b9111df38e"},{"fixed":"1731dd61b6c0b7435c139951d2b7eada6c9667a8"},{"fixed":"f86ed548386e3050e5f8f25b450d09dc009d9a88"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68212.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.16.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68212.json"}}],"schema_version":"1.9.0"}