CVE-2022-49527
JSON

5.5medium

media: venus: hfi: avoid null dereference in deinit

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom eeefa2eae8fc82ad757a2241b9f82ac33e99e6b4 before 27ad46da44177a78a4a0cae6fe03906888c61aa1, from 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 before 9c385b961d4c378228e80f6abea8509cb67feab6, from 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 before 0ed5a643b1a4a46b9b7bfba5d468c10cc30e1359, from 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 before b73ed0510bb8d9647cd8e8a4c4c8772bbe545c3a, from 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 before 86594f6af867b5165d2ba7b5a71fae3a5961e56c, 54f1727a0956bcbed3a88540577c5e7dbab93aec, from 5.10.94 before 5.10.121, from 5.12.3 before 5.13 and 1 more
Not affected: before 5.13, from 5.10.121 up to 5.10.*, from 5.15.46 up to 5.15.*, from 5.17.14 up to 5.17.*, from 5.18.3 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelbefore 4.14.283, from 4.15 before 4.19.247, from 4.20 before 5.4.198, from 5.5 before 5.10.121, from 5.11 before 5.15.46, from 5.16 before 5.17.14, from 5.18 before 5.18.3NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: venus: hfi: evitar la desreferencia nula en deinit Si venus_probe falla en pm_runtime_put_sync, la gestión de errores primero llama a hfi_destroy y luego a hfi_core_deinit. Como hfi_destroy establece core->ops en NULL, hfi_core_deinit ya no puede llamar a la función core_deinit. Evite esta desreferencia de puntero nulo omitiendo la llamada cuando sea necesario.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49527 changed 2026-08-15CVE Terms of Use
NVDCVE-2022-49527 changed 2026-08-15Public domain