Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-27078

MEDIUM 5.5EPSS 18%

media: v4l2-tpg: fix some memleaks in tpg_alloc

Mitigation

  • Upgrade Linux to 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c or later.

Who should check

  • Anyone running Linux >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0de691ff547d86dd54c24b40a81f9c925df8dd77; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8269ab16415f2065cd792c49b0475543936cbd79; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 94303a06e1852a366e9671fff46d19459f88cb28; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 770a57922ce36a8476c43f7400b6501c554ea511; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 4c86c772fef06f5d7a66151bac42366825db0941; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 31096da07933598da8522c54bd007376fb152a09; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 622b1cf38521569869c8f7b9fbe9e4f1a289add7; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
  • Anyone running Linux 3.18

Vulnerability facts

Affected
Linux >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0de691ff547d86dd54c24b40a81f9c925df8dd77; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8269ab16415f2065cd792c49b0475543936cbd79; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 94303a06e1852a366e9671fff46d19459f88cb28; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 770a57922ce36a8476c43f7400b6501c554ea511; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 4c86c772fef06f5d7a66151bac42366825db0941; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 31096da07933598da8522c54bd007376fb152a09; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 622b1cf38521569869c8f7b9fbe9e4f1a289add7; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c; Linux 3.18
Fixed in
Linux 0de691ff547d86dd54c24b40a81f9c925df8dd77, Linux 8269ab16415f2065cd792c49b0475543936cbd79, Linux 94303a06e1852a366e9671fff46d19459f88cb28, Linux 770a57922ce36a8476c43f7400b6501c554ea511, Linux 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d, Linux 4c86c772fef06f5d7a66151bac42366825db0941, Linux 31096da07933598da8522c54bd007376fb152a09, Linux 622b1cf38521569869c8f7b9fbe9e4f1a289add7, Linux 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-401
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0de691ff547d86dd54c24b40a81f9c925df8dd77; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8269ab16415f2065cd792c49b0475543936cbd79; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 94303a06e1852a366e9671fff46d19459f88cb28; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 770a57922ce36a8476c43f7400b6501c554ea511; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 4c86c772fef06f5d7a66151bac42366825db0941; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 31096da07933598da8522c54bd007376fb152a09; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 622b1cf38521569869c8f7b9fbe9e4f1a289add7; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c—cvelist
Linux3.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-27078. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27078.md
Affected: Linux >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0de691ff547d86dd54c24b40a81f9c925df8dd77; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8269ab16415f2065cd792c49b0475543936cbd79; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 94303a06e1852a366e9671fff46d19459f88cb28; >= 63881df94d3ecbb0deafa0b…
Fixed in: Linux 0de691ff547d86dd54c24b40a81f9c925df8dd77, Linux 8269ab16415f2065cd792c49b0475543936cbd79, Linux 94303a06e1852a366e9671fff46d19459f88cb28, Linux 770a57922ce36a8476c43f7400b6501c554ea511, Linux 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d, Linux 4c86c772fef06f5d7a66151bac42366825db0941, Linux 31096…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-27078 being exploited?

There is no confirmed exploitation: CVE-2024-27078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-27078?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-27078?

Linux >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 0de691ff547d86dd54c24b40a81f9c925df8dd77; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8269ab16415f2065cd792c49b0475543936cbd79; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 94303a06e1852a366e9671fff46d19459f88cb28; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 770a57922ce36a8476c43f7400b6501c554ea511; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 4c86c772fef06f5d7a66151bac42366825db0941; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 31096da07933598da8522c54bd007376fb152a09; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 622b1cf38521569869c8f7b9fbe9e4f1a289add7; >= 63881df94d3ecbb0deafa0b77da62ff2f32961c4, < 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c; Linux 3.18.

Is there a fix for CVE-2024-27078?

Yes. Fixed in Linux 0de691ff547d86dd54c24b40a81f9c925df8dd77, Linux 8269ab16415f2065cd792c49b0475543936cbd79, Linux 94303a06e1852a366e9671fff46d19459f88cb28, Linux 770a57922ce36a8476c43f7400b6501c554ea511, Linux 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145d, Linux 4c86c772fef06f5d7a66151bac42366825db0941, Linux 31096da07933598da8522c54bd007376fb152a09, Linux 622b1cf38521569869c8f7b9fbe9e4f1a289add7, Linux 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c. Upgrade Linux to 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c or later.

How do I check if I'm affected by CVE-2024-27078?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors