NULL pointer dereference in Linux
CVE-2022-49527
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 18.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5.18.3, 5.19, 4.19.247
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/2533acb652359c9e097dfa33587896af782e8a91 (Patch)
- git.kernel.org/stable/c/a21d15dde21d7e8ae047eb8368677407db45d840 (Patch)
- git.kernel.org/stable/c/0ac84ab50712879eac3c1dd2598440652a85d3d0 (Patch)
- git.kernel.org/stable/c/27ad46da44177a78a4a0cae6fe03906888c61aa1 (Patch)
- git.kernel.org/stable/c/9c385b961d4c378228e80f6abea8509cb67feab6 (Patch)
- git.kernel.org/stable/c/0ed5a643b1a4a46b9b7bfba5d468c10cc30e1359 (Patch)
- git.kernel.org/stable/c/b73ed0510bb8d9647cd8e8a4c4c8772bbe545c3a (Patch)
- git.kernel.org/stable/c/86594f6af867b5165d2ba7b5a71fae3a5961e56c (Patch)