CVE-2021-47043

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

published February 28, 2024

CVSS
—
EPSS
0%
Percentile
14.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00239 · 14.2th percentile
Published
2024-02-28T08:13Z
EPSS history
Timeline
  • 28 FEB 08:13Z
    media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
    cvelistv5