Medium · published February 26, 2025
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 4.14.283 | 4.14.283 |
| linux/linux_kernel | ≥ 4.15, < 4.19.247 | 4.19.247 |
| linux/linux_kernel | ≥ 4.20, < 5.4.198 | 5.4.198 |
| linux/linux_kernel | ≥ 5.5, < 5.10.121 | 5.10.121 |
| linux/linux_kernel | ≥ 5.11, < 5.15.46 | 5.15.46 |
| linux/linux_kernel | ≥ 5.16, < 5.17.14 | 5.17.14 |
| linux/linux_kernel | ≥ 5.18, < 5.18.3 | 5.18.3 |