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

CVE-2023-52888
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
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.

Faiblesses (CWE)

  • CWE-415 — Double libération

Références

Scores

VersionScoreVecteurÉvalué par
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)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < 56d27b9fca840c68f67706e3cc5f2000c17bce39 ; affected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < 5c217253c76c94f76d1df31d0bbdcb88dc07be91 ; affected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < 303d01082edaf817ee2df53a40dca9da637a2c04 ; affected 590577a4e5257ac3ed72999a94666ad6ba8f24bc < eb005c801ec70ff4307727bd3bd6e8280169ef32
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 6.1.191 ≤ 6.1.* ; 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