CVE-2021-47043

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

State
Published
Severity
Not scored
Published
Feb 28, 2024
Updated
May 11, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to before 00b68a7478343afdf83f30c43e64db5296057030Affected
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to before 940d01eceb3a7866fbfca136a55a5625fc75a565Affected
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to before 711acdf0228dc71601247f28b56f13e850e395c8Affected
  • 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a to before 5a465c5391a856a0c1e9554964d660676c35d1b2Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.37 through 5.10.*Not affected
  • 5.11.21 through 5.11.*Not affected
  • 5.12.4 through 5.12.*Not affected
  • 5.13 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.