5.5medium
media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity The entity->name (i.e. name) is allocated in v4l2_m2m_register_entity but isn't freed in its following error-handling paths. This patch adds such deallocation to prevent memleak of entity->name.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from be2fff656322e82f215730839063c2c2ca73d14b before 3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333, from be2fff656322e82f215730839063c2c2ca73d14b before 0175f2d34c85744f9ad6554f696cf0afb5bd04e4, from be2fff656322e82f215730839063c2c2ca73d14b before afd2a82fe300032f63f8be5d6cd6981e75f8bbf2, from be2fff656322e82f215730839063c2c2ca73d14b before dc866b69cc51af9b8509b4731b8ce2a4950cd0ef, from be2fff656322e82f215730839063c2c2ca73d14b before 0c9550b032de48d6a7fa6a4ddc09699d64d9300d, from be2fff656322e82f215730839063c2c2ca73d14b before 90029b9c979b60de5cb2b70ade4bbf61d561bc5d, from be2fff656322e82f215730839063c2c2ca73d14b before 5dc319cc3c4f7b74f7dfba349aa26f87efb52458, from be2fff656322e82f215730839063c2c2ca73d14b before 9c23ef30e840fedc66948299509f6c2777c9cf4f and 2 more Not affected: before 4.19, from 4.19.311 up to 4.19.*, from 5.4.273 up to 5.4.*, from 5.10.214 up to 5.10.*, from 5.15.153 up to 5.15.*, from 6.1.83 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.19 before 4.19.311, from 4.20 before 5.4.273, from 5.5 before 5.10.214, from 5.11 before 5.15.153, from 5.16 before 6.1.83, from 6.2 before 6.6.23, from 6.7 before 6.7.11, from 6.8 before 6.8.2 | NVD |
| debian debian_linux | 10.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity The entity->name (i.e. name) is allocated in v4l2_m2m_register_entity but isn't freed in its following error-handling paths. This patch adds such deallocation to prevent memleak of entity->name.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: medio: v4l2-mem2mem: corrige una fuga de mem en v4l2_m2m_register_entity La entidad->nombre (es decir, nombre) se asigna en v4l2_m2m_register_entity pero no se libera en las siguientes rutas de manejo de errores. Este parche agrega dicha desasignación para evitar la fuga de memoria de entidad->nombre.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27077 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-27077 changed 2026-10-15 | Public domain |