CVEvulnerability

CVE-2026-43162

5.5 MEDIUM Published 2026-05-06 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-05-06
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-401

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 configurations

• linux linux kernel (>= 5.10 < 6.1.167) • linux linux kernel (>= 6.2 < 6.6.130) • linux linux kernel (>= 6.7 < 6.12.77) • linux linux kernel (>= 6.13 < 6.18.17) • linux linux kernel (>= 6.19 < 6.19.6)

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References