CVE-2024-27078

media: v4l2-tpg: fix some memleaks in tpg_alloc

State
Published
Severity
Not scored
Published
May 1, 2024
Updated
Oct 15, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 0de691ff547d86dd54c24b40a81f9c925df8dd77Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 8269ab16415f2065cd792c49b0475543936cbd79Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 94303a06e1852a366e9671fff46d19459f88cb28Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 770a57922ce36a8476c43f7400b6501c554ea511Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145dAffected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 4c86c772fef06f5d7a66151bac42366825db0941Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 31096da07933598da8522c54bd007376fb152a09Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 622b1cf38521569869c8f7b9fbe9e4f1a289add7Affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to before 8cf9c5051076e0eb958f4361d50d8b0c3ee6691cAffected
LinuxLinux
  • 3.18Affected
  • before 3.18Not affected
  • 4.19.311 through 4.19.*Not affected
  • 5.4.273 through 5.4.*Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.