CVE-2024-27077: Linux kernel · media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1128.138~18.04.1 : update Linux kernel when convenient.
Data as of 12 Nov 2026, 18:52 UTC
- Patch
- Available – fixed in 5.4.0-1128.138~18.04.1, 5.4.0-1133.140~18.04.1, 5.4.0-1132.141~18.04.1 +65
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6871-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied to affected Linux kernel versions. Fixed versions include 5.4.0-1127.136~18.04.1 and later. Users should update their kernel to one of the fixed versions as listed in the vendor advisories. No other mitigation is required.
Description
A memory leak vulnerability was identified and fixed in the Linux kernel's media subsystem, specifically in the v4l2-mem2mem component. The issue involved the entity->name allocation in the v4l2_m2m_register_entity function not being freed properly in error-handling paths, leading to a memory leak. This flaw has been addressed by adding the necessary deallocation to prevent the leak.
References
- ubuntu.com/security/CVE-2024-27077 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-27077 (opens in a new tab)
- git.kernel.org/linus/8f94b49a5b5d386c038e355bef6347298aabd211 (opens in a new tab)
- git.kernel.org/stable/c/3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333 (opens in a new tab)
- git.kernel.org/stable/c/0175f2d34c85744f9ad6554f696cf0afb5bd04e4 (opens in a new tab)
- git.kernel.org/stable/c/afd2a82fe300032f63f8be5d6cd6981e75f8bbf2 (opens in a new tab)
- git.kernel.org/stable/c/dc866b69cc51af9b8509b4731b8ce2a4950cd0ef (opens in a new tab)
- git.kernel.org/stable/c/0c9550b032de48d6a7fa6a4ddc09699d64d9300d (opens in a new tab)
- git.kernel.org/stable/c/90029b9c979b60de5cb2b70ade4bbf61d561bc5d (opens in a new tab)
- git.kernel.org/stable/c/5dc319cc3c4f7b74f7dfba349aa26f87efb52458 (opens in a new tab)
- git.kernel.org/stable/c/9c23ef30e840fedc66948299509f6c2777c9cf4f (opens in a new tab)
- git.kernel.org/stable/c/8f94b49a5b5d386c038e355bef6347298aabd211 (opens in a new tab)
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)