CVE-2024-27077Published May 1, 2024 · May 1Updated Oct 28
media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ be2fff656322e82f215730839063c2c2ca73d14b · < 90029b9c979b60de5cb2b70ade4bbf61d561bc5d| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's v4l2_m2m_register_entity function can leak an allocated entity name when it takes an error-handling path. The input does not specify how an attacker could trigger the leak or whether access or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions are not specified.