{"id":"CVE-2024-27077","summary":"media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity\n\nThe entity-\u003ename (i.e. name) is allocated in v4l2_m2m_register_entity\nbut isn't freed in its following error-handling paths. This patch\nadds such deallocation to prevent memleak of entity-\u003ename.","modified":"2026-04-02T10:07:08.760625Z","published":"2024-05-01T13:04:51.518Z","related":["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-27077.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0175f2d34c85744f9ad6554f696cf0afb5bd04e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0c9550b032de48d6a7fa6a4ddc09699d64d9300d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dc319cc3c4f7b74f7dfba349aa26f87efb52458"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f94b49a5b5d386c038e355bef6347298aabd211"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90029b9c979b60de5cb2b70ade4bbf61d561bc5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c23ef30e840fedc66948299509f6c2777c9cf4f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/afd2a82fe300032f63f8be5d6cd6981e75f8bbf2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc866b69cc51af9b8509b4731b8ce2a4950cd0ef"},{"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-27077.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27077"},{"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":"be2fff656322e82f215730839063c2c2ca73d14b"},{"fixed":"3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333"},{"fixed":"0175f2d34c85744f9ad6554f696cf0afb5bd04e4"},{"fixed":"afd2a82fe300032f63f8be5d6cd6981e75f8bbf2"},{"fixed":"dc866b69cc51af9b8509b4731b8ce2a4950cd0ef"},{"fixed":"0c9550b032de48d6a7fa6a4ddc09699d64d9300d"},{"fixed":"90029b9c979b60de5cb2b70ade4bbf61d561bc5d"},{"fixed":"5dc319cc3c4f7b74f7dfba349aa26f87efb52458"},{"fixed":"9c23ef30e840fedc66948299509f6c2777c9cf4f"},{"fixed":"8f94b49a5b5d386c038e355bef6347298aabd211"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27077.json"}}],"schema_version":"1.7.5"}