media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Venus media core can leak resources if venus_probe() encounters an error after a successful of_icc_get() call. The input does not describe an attacker action or specify whether access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the Venus media core fix; affected versions are not specified.