CVE-2026-43162

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

published May 6, 2026

CVSS
—
EPSS
0%
Percentile
5.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.1th percentile
Published
2026-05-06T11:27Z
EPSS history
Timeline
  • 06 MAY 11:27Z
    media: tegra-video: Fix memory leak in __tegra_channel_try_format()
    cvelistv5