media: saa7134: Fix a possible memory leak in saa7134_video_init1

Summary

CVECVE-2026-68212
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-10 13:20:09 UTC
Updated2026-08-19 17:20:37 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002090000 probability, percentile 0.113400000 (date 2026-08-19)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd e773b1d4bd191e7520bf9e02cb676d62c1b20556 git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd 44e16e3e022bf4a26adf03bc05a6dd5ffc34ef6d git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd 34082a48376fd225a5c3d971c8962eb1320a54e0 git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd 134c979dd721e22f196d71026432ee37d1f5cc38 git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23 git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd b7936e8cbec1b96b126058eeb005e5b9111df38e git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd 1731dd61b6c0b7435c139951d2b7eada6c9667a8 git Not specified
CNA Linux Linux affected a00e68888d5d2b583b13d7d58204a27207af95fd f86ed548386e3050e5f8f25b450d09dc009d9a88 git Not specified
CNA Linux Linux affected 3.16 Not specified
CNA Linux Linux unaffected 3.16 semver Not specified
CNA Linux Linux unaffected 5.10.265 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.216 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.183 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.148 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.101 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.42 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.6 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1731dd61b6c0b7435c139951d2b7eada6c9667a8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/34082a48376fd225a5c3d971c8962eb1320a54e0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/134c979dd721e22f196d71026432ee37d1f5cc38 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/44e16e3e022bf4a26adf03bc05a6dd5ffc34ef6d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e1ef361ee31d1dba5dcae2cdd50f9c1352df0c23 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b7936e8cbec1b96b126058eeb005e5b9111df38e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f86ed548386e3050e5f8f25b450d09dc009d9a88 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e773b1d4bd191e7520bf9e02cb676d62c1b20556 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report