CVE-2024-27078
media: v4l2-tpg: fix some memleaks in tpg_alloc
Check your servers for CVE-2024-27078
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-27078 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-tpg: fix some memleaks in tpg_alloc
In tpg_alloc, resources should be deallocated in each and every error-handling paths, since they are allocated in for statements. Otherwise there would be memleaks because tpg_free is called only when tpg_alloc return 0.
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, 12 Jun 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 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 0de691ff547d86dd54c24b40a81f9c925df8dd77 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 8269ab16415f2065cd792c49b0475543936cbd79 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 94303a06e1852a366e9671fff46d19459f88cb28 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 770a57922ce36a8476c43f7400b6501c554ea511 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 4c86c772fef06f5d7a66151bac42366825db0941 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 31096da07933598da8522c54bd007376fb152a09 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 622b1cf38521569869c8f7b9fbe9e4f1a289add7 affected from 63881df94d3ecbb0deafa0b77da62ff2f32961c4, before 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 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-27078 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27078
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-27078
trivy image --scanners vuln IMAGE | grep CVE-2024-27078
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/0de691ff547d86dd54c24b40a81f9c925df8dd77 git.kernel.org
- https://git.kernel.org/stable/c/8269ab16415f2065cd792c49b0475543936cbd79 git.kernel.org
- https://git.kernel.org/stable/c/94303a06e1852a366e9671fff46d19459f88cb28 git.kernel.org
- https://git.kernel.org/stable/c/770a57922ce36a8476c43f7400b6501c554ea511 git.kernel.org
- https://git.kernel.org/stable/c/6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d git.kernel.org
- https://git.kernel.org/stable/c/4c86c772fef06f5d7a66151bac42366825db0941 git.kernel.org
- https://git.kernel.org/stable/c/31096da07933598da8522c54bd007376fb152a09 git.kernel.org
- https://git.kernel.org/stable/c/622b1cf38521569869c8f7b9fbe9e4f1a289add7 git.kernel.org
- https://git.kernel.org/stable/c/8cf9c5051076e0eb958f4361d50d8b0c3ee6691c 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-27078 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