In the Linux kernel, the following vulnerability has been resolved:
drm/mediatek: Fix coverity issue with unintentional integer overflow
Instead of multiplying 2 variable of different types. Change to assign a value of one variable and then multiply the other variable.
Add a int variable for multiplier calculation instead of calculating different types multiplier with dmaaddrt variable directly.
{ "vanir_signatures": [ { "id": "CVE-2023-52857-0fbbfde7", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/mediatek/mtk_drm_plane.c", "function": "mtk_plane_update_new_state" }, "signature_version": "v1", "digest": { "length": 1722.0, "function_hash": "58505071058684764837475345023408633233" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96312a251d4dcee5d36e32edba3002bfde0ddd9c" }, { "id": "CVE-2023-52857-3a9a9f80", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/mediatek/mtk_drm_plane.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "234061151760765866418565098478250050137", "286874956723717979454822702493577048002", "242669987051494532992447755960091730837", "66858690539452961028029417700174823458", "213341931440859268652789649238314710087", "44587783960831525650130960542664819980", "285292887189350489683664849021818092401", "259856301958090321885233379325215653877", "308650097182277232686717444617573891233", "305391355898882139661700018542197231210", "82999284907760989654888320477845127193", "286342325941021287028131922583090928251", "145966069462348433593093747020383976619", "5401912246583883007471049422478536296", "157132496586435697023599663615474968339", "262760561574255470711844718133718086133", "93030315061339791070353330621515553578", "204303135672889206739446141501004245834", "244533716578415410883938711277533476072", "309592325865056770690723626440483564509", "64134050375392862300522944620584716694", "24573786255280433493156825442470351821", "58549670588417464243225787106231994279" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96312a251d4dcee5d36e32edba3002bfde0ddd9c" }, { "id": "CVE-2023-52857-8a4f87db", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/mediatek/mtk_drm_gem.c", "function": "mtk_drm_gem_dumb_create" }, "signature_version": "v1", "digest": { "length": 513.0, "function_hash": "110837170936321070938842078965617126440" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96312a251d4dcee5d36e32edba3002bfde0ddd9c" }, { "id": "CVE-2023-52857-c5ed20b5", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/mediatek/mtk_drm_gem.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "70016713178998293265475360264561969045", "6271539924549084496738520986526655653", "248446205871873212680108813357189536317", "132400204359860052326483320914342132346" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96312a251d4dcee5d36e32edba3002bfde0ddd9c" } ] }