{"id":"CVE-2024-27078","summary":"media: v4l2-tpg: fix some memleaks in tpg_alloc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-tpg: fix some memleaks in tpg_alloc\n\nIn tpg_alloc, resources should be deallocated in each and every\nerror-handling paths, since they are allocated in for statements.\nOtherwise there would be memleaks because tpg_free is called only when\ntpg_alloc return 0.","modified":"2026-03-20T12:35:23.327227Z","published":"2024-05-01T13:04:54.979Z","related":["SUSE-SU-2024:1643-1","SUSE-SU-2024:1646-1","SUSE-SU-2024:1870-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27078.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941"},{"type":"WEB","url":"https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27078.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27078"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4"},{"fixed":"0de691ff547d86dd54c24b40a81f9c925df8dd77"},{"fixed":"8269ab16415f2065cd792c49b0475543936cbd79"},{"fixed":"94303a06e1852a366e9671fff46d19459f88cb28"},{"fixed":"770a57922ce36a8476c43f7400b6501c554ea511"},{"fixed":"6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d"},{"fixed":"4c86c772fef06f5d7a66151bac42366825db0941"},{"fixed":"31096da07933598da8522c54bd007376fb152a09"},{"fixed":"622b1cf38521569869c8f7b9fbe9e4f1a289add7"},{"fixed":"8cf9c5051076e0eb958f4361d50d8b0c3ee6691c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27078.json"}}],"schema_version":"1.7.5"}