Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-27078

media: v4l2-tpg: fix some memleaks in tpg_alloc

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 0de691ff547d86dd54c24b40a81f9c925df8dd77affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 8269ab16415f2065cd792c49b0475543936cbd79affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 94303a06e1852a366e9671fff46d19459f88cb28affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 770a57922ce36a8476c43f7400b6501c554ea511affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 6bf5c2fade8ed53b2d26fa9875e5b04f36c7145daffected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 4c86c772fef06f5d7a66151bac42366825db0941affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 31096da07933598da8522c54bd007376fb152a09affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 622b1cf38521569869c8f7b9fbe9e4f1a289add7affected
  • 63881df94d3ecbb0deafa0b77da62ff2f32961c4 to < 8cf9c5051076e0eb958f4361d50d8b0c3ee6691caffected

Linux Linux

Default version status: affected

  • 3.18affected
  • 0 to < 3.18unaffected
  • 4.19.311 to ≤ 4.19.*unaffected
  • 5.4.273 to ≤ 5.4.*unaffected
  • 5.10.214 to ≤ 5.10.*unaffected
  • 5.15.153 to ≤ 5.15.*unaffected
  • 6.1.83 to ≤ 6.1.*unaffected
  • 6.6.23 to ≤ 6.6.*unaffected
  • 6.7.11 to ≤ 6.7.*unaffected
  • 6.8.2 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References