CVE-2024-27077
media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
Check your servers for CVE-2024-27077
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27077 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from be2fff656322e82f215730839063c2c2ca73d14b, before 3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333 affected from be2fff656322e82f215730839063c2c2ca73d14b, before 0175f2d34c85744f9ad6554f696cf0afb5bd04e4 affected from be2fff656322e82f215730839063c2c2ca73d14b, before afd2a82fe300032f63f8be5d6cd6981e75f8bbf2 affected from be2fff656322e82f215730839063c2c2ca73d14b, before dc866b69cc51af9b8509b4731b8ce2a4950cd0ef affected from be2fff656322e82f215730839063c2c2ca73d14b, before 0c9550b032de48d6a7fa6a4ddc09699d64d9300d affected from be2fff656322e82f215730839063c2c2ca73d14b, before 90029b9c979b60de5cb2b70ade4bbf61d561bc5d affected from be2fff656322e82f215730839063c2c2ca73d14b, before 5dc319cc3c4f7b74f7dfba349aa26f87efb52458 affected from be2fff656322e82f215730839063c2c2ca73d14b, before 9c23ef30e840fedc66948299509f6c2777c9cf4f affected from be2fff656322e82f215730839063c2c2ca73d14b, before 8f94b49a5b5d386c038e355bef6347298aabd211
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.19.311 up to and including 4.19.* unaffected from 5.4.273 up to and including 5.4.* unaffected from 5.10.214 up to and including 5.10.* unaffected from 5.15.153 up to and including 5.15.* unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27077 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27077
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-27077
trivy image --scanners vuln IMAGE | grep CVE-2024-27077
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3dd8abb0ed0e0a7c66d6d677c86ccb188cc39333 git.kernel.org
- https://git.kernel.org/stable/c/0175f2d34c85744f9ad6554f696cf0afb5bd04e4 git.kernel.org
- https://git.kernel.org/stable/c/afd2a82fe300032f63f8be5d6cd6981e75f8bbf2 git.kernel.org
- https://git.kernel.org/stable/c/dc866b69cc51af9b8509b4731b8ce2a4950cd0ef git.kernel.org
- https://git.kernel.org/stable/c/0c9550b032de48d6a7fa6a4ddc09699d64d9300d git.kernel.org
- https://git.kernel.org/stable/c/90029b9c979b60de5cb2b70ade4bbf61d561bc5d git.kernel.org
- https://git.kernel.org/stable/c/5dc319cc3c4f7b74f7dfba349aa26f87efb52458 git.kernel.org
- https://git.kernel.org/stable/c/9c23ef30e840fedc66948299509f6c2777c9cf4f git.kernel.org
- https://git.kernel.org/stable/c/8f94b49a5b5d386c038e355bef6347298aabd211 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-27077 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse