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.
Published: 2026-08-10
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The saa7134 driver contains a flaw in its initialization routine where failures of two memory allocation functions are ignored. The driver continues as if the allocations succeeded, leaving an invalid page table and potentially never freeing allocated memory if subsequent steps fail. This oversight results in memory leaks, uninitialised DMA resources, and unreleased kernel objects such as control handlers. The weakness is reflected by CWE‑772.

Affected Systems

Any Linux kernel that includes the saa7134 media driver and has not received the patch committed in 134c979dd721e22f196d71026432ee37d5f5cc38 is vulnerable. The exact kernel versions are not enumerated, so all releases prior to the application of that commit should be treated as susceptible unless a later patch version is installed.

Risk and Exploitability

The EPSS score of less than 1% indicates a very low probability of exploitation, and the CVSS score of 5.5 denotes moderate severity. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires loading the saa7134 module or triggering a device probe that exercises the faulty allocation paths, which typically requires privileged access. An attacker could repeatedly provoke allocation failures to exhaust kernel memory and force a denial‑of‑service, but this would need local privileged execution or the presence of vulnerable hardware. Overall, the risk is moderate; the flaw does not provide an arbitrary code execution path but can degrade system stability when repeatedly triggered.

Generated by OpenCVE AI on August 13, 2026 at 07:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that contains commit 134c979dd721e22f196d71026432ee37d5f5cc38, which corrects the memory‑leak logic
  • If an update is not yet available, unload or disable the saa7134 driver on systems that do not use a compatible capture device
  • Configure the module loading policy (e.g., via /etc/modprobe.d or insserv) so that saa7134 is not automatically loaded on untrusted hardware
  • Monitor kernel memory usage for signs of abnormal growth that may indicate a lingering resource leak

Generated by OpenCVE AI on August 13, 2026 at 07:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Thu, 13 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-401

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Mon, 10 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-401

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values 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.
Title media: saa7134: Fix a possible memory leak in saa7134_video_init1
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:31:37.074Z

Reserved: 2026-07-30T09:28:09.375Z

Link: CVE-2026-68212

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:09.020

Modified: 2026-08-19T17:20:37.103

Link: CVE-2026-68212

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T00:00:00Z

Links: CVE-2026-68212 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T07:45:17Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime