CVE-2026-68212
media: saa7134: Fix a possible memory leak in saa7134_video_init1
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.
INFO
Published Date :
Aug. 10, 2026, 1:20 p.m.
Last Modified :
Aug. 17, 2026, 5:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Check return values of saa7134_pgtable_alloc calls.
- Propagate errors from memory allocation functions.
- Free allocated page tables on failure.
- Release control handlers on error.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-68212.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-68212 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-68212
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-68212 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-68212 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': '134c979dd721e22f196d71026432ee37d1f5cc38', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'b7936e8cbec1b96b126058eeb005e5b9111df38e', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': '1731dd61b6c0b7435c139951d2b7eada6c9667a8', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'f86ed548386e3050e5f8f25b450d09dc009d9a88', 'versionType': 'git'}], 'programFiles': ['drivers/media/pci/saa7134/saa7134-video.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/pci/saa7134/saa7134-video.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': '134c979dd721e22f196d71026432ee37d1f5cc38', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'b7936e8cbec1b96b126058eeb005e5b9111df38e', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': '1731dd61b6c0b7435c139951d2b7eada6c9667a8', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'f86ed548386e3050e5f8f25b450d09dc009d9a88', 'versionType': 'git'}], 'programFiles': ['drivers/media/pci/saa7134/saa7134-video.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/pci/saa7134/saa7134-video.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': '134c979dd721e22f196d71026432ee37d1f5cc38', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'b7936e8cbec1b96b126058eeb005e5b9111df38e', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': '1731dd61b6c0b7435c139951d2b7eada6c9667a8', 'versionType': 'git'}, {'status': 'affected', 'version': 'a00e68888d5d2b583b13d7d58204a27207af95fd', 'lessThan': 'f86ed548386e3050e5f8f25b450d09dc009d9a88', 'versionType': 'git'}], 'programFiles': ['drivers/media/pci/saa7134/saa7134-video.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/pci/saa7134/saa7134-video.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/134c979dd721e22f196d71026432ee37d1f5cc38 Added Reference https://git.kernel.org/stable/c/1731dd61b6c0b7435c139951d2b7eada6c9667a8 Added Reference https://git.kernel.org/stable/c/b7936e8cbec1b96b126058eeb005e5b9111df38e Added Reference https://git.kernel.org/stable/c/e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23 Added Reference https://git.kernel.org/stable/c/f86ed548386e3050e5f8f25b450d09dc009d9a88