{"id":"CVE-2026-43162","aliases":["CVE-2026-43162"],"related":[],"kind":"vulnerability","state":"published","title":"media: tegra-video: Fix memory leak in __tegra_channel_try_format()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: tegra-video: Fix memory leak in __tegra_channel_try_format()\n\nThe state object allocated by __v4l2_subdev_state_alloc() must be freed\nwith __v4l2_subdev_state_free() when it is no longer needed.\n\nIn __tegra_channel_try_format(), two error paths return directly after\nv4l2_subdev_call() fails, without freeing the allocated 'sd_state'\nobject. This violates the requirement and causes a memory leak.\n\nFix this by introducing a cleanup label and using goto statements in the\nerror paths to ensure that __v4l2_subdev_state_free() is always called\nbefore the function returns.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: tegra-video: Fix memory leak in __tegra_channel_try_format()\n\nThe state object allocated by __v4l2_subdev_state_alloc() must be freed\nwith __v4l2_subdev_state_free() when it is no longer needed.\n\nIn __tegra_channel_try_format(), two error paths return directly after\nv4l2_subdev_call() fails, without freeing the allocated 'sd_state'\nobject. This violates the requirement and causes a memory leak.\n\nFix this by introducing a cleanup label and using goto statements in the\nerror paths to ensure that __v4l2_subdev_state_free() is always called\nbefore the function returns.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmedia: tegra-video: Corrección de fuga de memoria en __tegra_channel_try_format()\n\nEl objeto de estado asignado por __v4l2_subdev_state_alloc() debe ser liberado con __v4l2_subdev_state_free() cuando ya no es necesario.\n\nEn __tegra_channel_try_format(), dos rutas de error regresan directamente después de que v4l2_subdev_call() falla, sin liberar el objeto ’sd_state’ asignado. Esto viola el requisito y causa una fuga de memoria.\n\nSoluciona esto introduciendo una etiqueta de limpieza y usando sentencias goto en las rutas de error para asegurar que __v4l2_subdev_state_free() siempre sea llamado antes de que la función regrese.","source":"nvd"}],"published":"2026-05-06T11:27:40.580Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"1ebaeb09830f36c1111b72a95420814225bd761c","fixed":"6c6f419fa9c44a4b7149b0292e01bff47308ba14","status":"affected"},{"type":"git","introduced":"1ebaeb09830f36c1111b72a95420814225bd761c","fixed":"ca921be7a1174d5d58b28f84b683c2c0079f18c5","status":"affected"},{"type":"git","introduced":"1ebaeb09830f36c1111b72a95420814225bd761c","fixed":"3ca2f09061736e72ef25eec2597d00f7f44094d3","status":"affected"},{"type":"git","introduced":"1ebaeb09830f36c1111b72a95420814225bd761c","fixed":"2dff8966a3a889dd9d248a7e15d963b4097efcc5","status":"affected"},{"type":"git","introduced":"1ebaeb09830f36c1111b72a95420814225bd761c","fixed":"d92e9a18f97a1d19d4c2ff81dcfbe43591f75b5a","status":"affected"},{"type":"git","introduced":"1ebaeb09830f36c1111b72a95420814225bd761c","fixed":"43e5302d22334f1183dec3e0d5d8007eefe2817c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.77","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.17","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.77"},{"status":"affected","introduced":"6.13","fixed":"6.18.17"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6c6f419fa9c44a4b7149b0292e01bff47308ba14","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca921be7a1174d5d58b28f84b683c2c0079f18c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ca2f09061736e72ef25eec2597d00f7f44094d3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2dff8966a3a889dd9d248a7e15d963b4097efcc5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d92e9a18f97a1d19d4c2ff81dcfbe43591f75b5a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43e5302d22334f1183dec3e0d5d8007eefe2817c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43162","url":"https://www.cve.org/CVERecord?id=CVE-2026-43162","licence":"CVE Terms of Use","modified":"2026-05-11T22:18:57.725Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43162","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43162","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.706Z","epss":{"score":0.00128,"percentile":0.02655,"date":"2026-12-01T12:00:22.000Z"}}