{"schema_version":"1.9.0","id":"CVE-2024-27077","published":"2024-05-01T13:04:51.518Z","modified":"2026-08-12T03:51:20.814514248Z","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"],"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->name (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->name.","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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.19.311"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.214"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.153"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.83"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.23"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.8.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27077.json"}}],"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27077.json"}}