CVE-2026-43162 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's Tegra video driver. The issue arises in the '__tegra_channel_try_format()' function, where the state object allocated by '__v4l2_subdev_state_alloc()' is not properly freed before the function returns. This oversight creates a memory leak, as two error paths fail to release the allocated 'sd_state' object after a 'v4l2_subdev_call()' failure. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the '__tegra_channel_try_format()' function to include a cleanup label. This change ensures that the '__v4l2_subdev_state_free()' function is called to free the 'sd_state' object before the function exits, effectively preventing the memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2dff8966a3a889dd9d248a7e15d963b4097efcc5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3ca2f09061736e72ef25eec2597d00f7f44094d3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/43e5302d22334f1183dec3e0d5d8007eefe2817c | kernel.org | Patch |
| https://git.kernel.org/stable/c/6c6f419fa9c44a4b7149b0292e01bff47308ba14 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ca921be7a1174d5d58b28f84b683c2c0079f18c5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d92e9a18f97a1d19d4c2ff81dcfbe43591f75b5a | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10, < 6.1.167 >= 6.2, < 6.6.130 >= 6.7, < 6.12.77 >= 6.13, < 6.18.17 >= 6.19, < 6.19.6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 13, 2026 | Initial Analysis | [email protected] |
| May 6, 2026 | New CVE Received | kernel.org |