Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2021-47043

media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'

Description

In the Linux kernel, the following vulnerability has been resolved: media: venus: core: Fix some resource leaks in the error path of 'venus_probe()' If an error occurs after a successful 'of_icc_get()' call, it must be undone. Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak. Update the remove function accordingly and axe the now unneeded 'icc_put()' calls.

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

  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to < 00b68a7478343afdf83f30c43e64db5296057030affected
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to < 940d01eceb3a7866fbfca136a55a5625fc75a565affected
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to < 711acdf0228dc71601247f28b56f13e850e395c8affected
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to < 5a465c5391a856a0c1e9554964d660676c35d1b2affected

Linux Linux

Default version status: affected

  • 5.5affected
  • 0 to < 5.5unaffected
  • 5.10.37 to ≤ 5.10.*unaffected
  • 5.11.21 to ≤ 5.11.*unaffected
  • 5.12.4 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References