{"id":"CVE-2024-27078","aliases":["CVE-2024-27078"],"related":[],"kind":"vulnerability","state":"published","title":"media: v4l2-tpg: fix some memleaks in tpg_alloc","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: medio: v4l2-tpg: corrige algunas fugas de memoria en tpg_alloc En tpg_alloc, los recursos deben desasignarse en todas y cada una de las rutas de manejo de errores, ya que se asignan en declaraciones for. De lo contrario, habría memleaks porque se llama a tpg_free solo cuando tpg_alloc devuelve 0.","source":"nvd"}],"published":"2024-05-01T13:04:54.979Z","modified":"2026-10-15T01:17:39.750Z","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":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"0de691ff547d86dd54c24b40a81f9c925df8dd77","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"8269ab16415f2065cd792c49b0475543936cbd79","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"94303a06e1852a366e9671fff46d19459f88cb28","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"770a57922ce36a8476c43f7400b6501c554ea511","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"4c86c772fef06f5d7a66151bac42366825db0941","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"31096da07933598da8522c54bd007376fb152a09","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"622b1cf38521569869c8f7b9fbe9e4f1a289add7","status":"affected"},{"type":"git","introduced":"63881df94d3ecbb0deafa0b77da62ff2f32961c4","fixed":"8cf9c5051076e0eb958f4361d50d8b0c3ee6691c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"4.19.311","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.273","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.214","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.153","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.83","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","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":"3.18","fixed":"4.19.311"},{"status":"affected","introduced":"4.20","fixed":"5.4.273"},{"status":"affected","introduced":"5.5","fixed":"5.10.214"},{"status":"affected","introduced":"5.11","fixed":"5.15.153"},{"status":"affected","introduced":"5.16","fixed":"6.1.83"},{"status":"affected","introduced":"6.2","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0de691ff547d86dd54c24b40a81f9c925df8dd77","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-12T15:32:05.412Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27078","url":"https://www.cve.org/CVERecord?id=CVE-2024-27078","licence":"CVE Terms of Use","modified":"2026-10-15T00:40:12.561Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27078","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27078","licence":"Public domain","modified":"2026-10-15T01:17:39.750Z"}],"updatedAt":"2026-11-25T22:58:39.811Z","epss":{"score":0.00289,"percentile":0.23088,"date":"2026-12-01T12:00:22.000Z"}}