CVE-2024-27078

published 1 May 2024 · updated 15 Oct 2026

media: v4l2-tpg: fix some memleaks in tpg_alloc

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0de691ff547d86dd54c24b40a81f9c925df8dd77, Kernel 31096da07933598da8522c54bd007376fb152a09, Kernel 4c86c772fef06f5d7a66151bac42366825db0941 and 6 more.

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-tpg: fix some memleaks in tpg_alloc In tpg_alloc, resources should be deallocated in each and every error-handling paths, since they are allocated in for statements. Otherwise there would be memleaks because tpg_free is called only when tpg_alloc return 0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.18, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <0de691ff547d86dd54c24b40a81f9c925df8dd77, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <31096da07933598da8522c54bd007376fb152a09, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <4c86c772fef06f5d7a66151bac42366825db0941, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <622b1cf38521569869c8f7b9fbe9e4f1a289add7, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <770a57922ce36a8476c43f7400b6501c554ea511, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <8269ab16415f2065cd792c49b0475543936cbd79, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <8cf9c5051076e0eb958f4361d50d8b0c3ee6691c, >=63881df94d3ecbb0deafa0b77da62ff2f32961c4 <94303a06e1852a366e9671fff46d19459f88cb280de691ff547d86dd54c24b40a81f9c925df8dd77, 31096da07933598da8522c54bd007376fb152a09, 4c86c772fef06f5d7a66151bac42366825db0941, 622b1cf38521569869c8f7b9fbe9e4f1a289add7, 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d, 770a57922ce36a8476c43f7400b6501c554ea511, 8269ab16415f2065cd792c49b0475543936cbd79, 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c, 94303a06e1852a366e9671fff46d19459f88cb28

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27078 severity on Zeptric[![CVE-2024-27078](https://zeptric.io/badge/cve/CVE-2024-27078.svg)](https://zeptric.io/cve/CVE-2024-27078)