What’s Vulnerable › Vulnerabilities

CVE-2022-49527: media: venus: hfi: avoid null dereference in deinit

Description

In the Linux kernel, the following vulnerability has been resolved: media: venus: hfi: avoid null dereference in deinit If venus_probe fails at pm_runtime_put_sync the error handling first calls hfi_destroy and afterwards hfi_core_deinit. As hfi_destroy sets core->ops to NULL, hfi_core_deinit cannot call the core_deinit function anymore. Avoid this null pointer derefence by skipping the call when necessary.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.283, 4.19.247, 5.10.121, 5.15.46. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49527 or the next vulnerability affects your stack