CVE-2026-43162

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

MEDIUM
5.5
CVSS Score
Published: May 6, 2026 at 11:27 AM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 6.1.1675.10 ≤ v < 6.12.775.10 ≤ v < 6.18.175.10 ≤ v < 6.19.65.10 ≤ v < 6.6.1305.10 ≤ v < 7.06.13 ≤ v < 6.18.176.19 ≤ v < 6.19.66.2 ≤ v < 6.6.1306.7 ≤ v < 6.12.771ebaeb09830f36c1111b72a95420814225bd761c5.10
Vendor states this is fixed in 2dff8966a3a889dd9d248a7e15d963b4097efcc5 (fixed)
Vendor states this is fixed in 3ca2f09061736e72ef25eec2597d00f7f44094d3 (fixed)
Vendor states this is fixed in 43e5302d22334f1183dec3e0d5d8007eefe2817c (fixed)
Vendor states this is fixed in 6c6f419fa9c44a4b7149b0292e01bff47308ba14 (fixed)
Vendor states this is fixed in ca921be7a1174d5d58b28f84b683c2c0079f18c5 (fixed)
Vendor states this is fixed in d92e9a18f97a1d19d4c2ff81dcfbe43591f75b5a (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 6.1.167 (unaffected)
Vendor states this is fixed in 6.12.77 (unaffected)
Vendor states this is fixed in 6.18.17 (unaffected)
Vendor states this is fixed in 6.19.6 (unaffected)
Vendor states this is fixed in 6.6.130 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card