CVE-2022-49527 media: venus: hfi: avoid null dereference in deinit
A null pointer dereference in the Linux kernel Venus media driver can cause a system crash during device initialization failure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49527?
CVE-2022-49527 is a medium-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2022-49527?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49527?
Apply the vendor's patch.
Is CVE-2022-49527 being exploited?
There is no known exploitation of CVE-2022-49527 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49527, GHSA-hfcx-w85r-5686, UBUNTU-CVE-2022-49527.