CVE-2026-43162

media: tegra-video: Fix memory leak in __tegra_channel_try_format()

Published May 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: tegra-video: Fix memory leak in __tegra_channel_try_format()

The state object allocated by __v4l2_subdev_state_alloc() must be freed
with __v4l2_subdev_state_free() when it is no longer needed.

In __tegra_channel_try_format(), two error paths return directly after
v4l2_subdev_call() fails, without freeing the allocated 'sd_state'
object. This violates the requirement and causes a memory leak.

Fix this by introducing a cleanup label and using goto statements in the
error paths to ensure that __v4l2_subdev_state_free() is always called
before the function returns.

Analysis

AI-generated

Technical impact

A memory leak exists in Linux's Tegra video driver function __tegra_channel_try_format(). The bug occurs when v4l2_subdev_call() fails and the allocated state object is not freed, violating cleanup requirements and consuming kernel memory over time. This flaw falls under CWE-772 (Improper Resource Shutdown or Release) and CWE-401 (Memory Leak). The leak can lead to gradual system slowdown or a full denial of service, but does not provide direct code execution or privilege escalation.

Affected Systems

Linux systems that use the Tegra video subsystem and include the legacy __tegra_channel_try_format() implementation are affected. Any kernel version prior to the commit that introduced the cleanup label and proper deallocation is vulnerable. Devices employing Tegra hardware or applications that load the Tegra video driver are at risk.

Risk and Exploitability

The vulnerability can be exploited through local interaction with an application or service that triggers __tegra_channel_try_format(). The CVE description does not specify required privilege levels; it is inferred that an attacker would need at least local access to invoke the vulnerable path, though the exact access requirement is not clarified. The CVSS score of 5.5 indicates moderate severity, and the EPSS score of <1% suggests a very low exploitation probability. The issue is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update your Linux kernel to a version that includes the patch fixing the memory leak in the Tegra video driver
  • Reboot the system to ensure the new kernel is loaded and the vulnerable code is replaced
  • If the Tegra driver is not required for your workload, unload or disable the driver to prevent the leak from occurring

Generated by OpenCVE AI on May 13, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Metrics 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'}

Type Values Removed Values Added
Weaknesses CWE-754
Type Values Removed Values Added
Weaknesses CWE-754
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: tegra-video: Fix memory leak in __tegra_channel_try_format() The state object allocated by __v4l2_subdev_state_alloc() must be freed with __v4l2_subdev_state_free() when it is no longer needed. In __tegra_channel_try_format(), two error paths return directly after v4l2_subdev_call() fails, without freeing the allocated 'sd_state' object. This violates the requirement and causes a memory leak. Fix this by introducing a cleanup label and using goto statements in the error paths to ensure that __v4l2_subdev_state_free() is always called before the function returns.
Title media: tegra-video: Fix memory leak in __tegra_channel_try_format()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 10:18 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 6, 2026, 12:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Public date
May 6, 2026, 12:00 AM