media: venus: hfi: avoid null dereference in deinit (Linux Linux)

CVE-2022-49527
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected eeefa2eae8fc82ad757a2241b9f82ac33e99e6b4 < 27ad46da44177a78a4a0cae6fe03906888c61aa1 ; affected 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 < 9c385b961d4c378228e80f6abea8509cb67feab6 ; affected 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 < 0ed5a643b1a4a46b9b7bfba5d468c10cc30e1359 ; affected 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 < b73ed0510bb8d9647cd8e8a4c4c8772bbe545c3a ; affected 08b1cf474b7f72750adebe0f0a35f8e9a3eb75f6 < 86594f6af867b5165d2ba7b5a71fae3a5961e56c ; affected 54f1727a0956bcbed3a88540577c5e7dbab93aec
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.10.121 ≤ 5.10.* ; unaffected 5.15.46 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD