media: mediatek: vcodec: Only free buffer VA that is not NULL (Linux Linux)

CVE-2023-52888
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Only free buffer VA that is not NULL In the MediaTek vcodec driver, while mtk_vcodec_mem_free() is mostly called only when the buffer to free exists, there are some instances that didn't do the check and triggered warnings in practice. We believe those checks were forgotten unintentionally. Add the checks back to fix the warnings.

Weaknesses (CWE)

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:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < 5c217253c76c94f76d1df31d0bbdcb88dc07be91 ; affected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < 303d01082edaf817ee2df53a40dca9da637a2c04 ; affected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < eb005c801ec70ff4307727bd3bd6e8280169ef32
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 6.6.39 ≤ 6.6.* ; unaffected 6.9.9 ≤ 6.9.* ; unaffected 6.10 ≤ *

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