CVE-2026-68212
JSON

5.5medium

media: saa7134: Fix a possible memory leak in saa7134_video_init1

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: media: saa7134: Fix a possible memory leak in saa7134_video_init1 In saa7134_video_init1(), the return value of the first saa7134_pgtable_alloc() is not checked. If it fails, the function continues as if successful, leaving the driver with an invalid page table. Additionally, if vb2_queue_init() for the VBI queue fails after the video queue page table has been allocated, the allocated memory is not freed before returning. The second saa7134_pgtable_alloc() also lacks a return value check. Errors occur during device probing before the device is fully registered, the normal cleanup path in saa7134_finidev() is not executed, leading to memory leaks and potential use of uninitialized DMA resources. Check the return value of both saa7134_pgtable_alloc() calls and propagate errors. On failure of any later step, free allocated page tables to avoid memory leaks. Ensure control handlers are also released on error to prevent further resource leakage. Found by code review.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a00e68888d5d2b583b13d7d58204a27207af95fd before e773b1d4bd191e7520bf9e02cb676d62c1b20556, from a00e68888d5d2b583b13d7d58204a27207af95fd before 44e16e3e022bf4a26adf03bc05a6dd5ffc34ef6d, from a00e68888d5d2b583b13d7d58204a27207af95fd before 34082a48376fd225a5c3d971c8962eb1320a54e0, from a00e68888d5d2b583b13d7d58204a27207af95fd before 134c979dd721e22f196d71026432ee37d1f5cc38, from a00e68888d5d2b583b13d7d58204a27207af95fd before e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23, from a00e68888d5d2b583b13d7d58204a27207af95fd before b7936e8cbec1b96b126058eeb005e5b9111df38e, from a00e68888d5d2b583b13d7d58204a27207af95fd before 1731dd61b6c0b7435c139951d2b7eada6c9667a8, from a00e68888d5d2b583b13d7d58204a27207af95fd before f86ed548386e3050e5f8f25b450d09dc009d9a88 and 1 more
Not affected: before 3.16, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.148 up to 6.6.*, from 6.12.101 up to 6.12.*
CVE List
linux linux_kernelfrom 3.16 before 5.10.265, from 5.11 before 5.15.216, from 5.16 before 6.1.183, from 6.2 before 6.6.148, from 6.7 before 6.12.101, from 6.13 before 6.18.42, from 6.19 before 7.1.6NVD

Classification

CWE-772

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-68212 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-68212 changed 2026-12-01Public domain