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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52857.json"
}[
{
"digest": {
"length": 513.0,
"function_hash": "110837170936321070938842078965617126440"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d8a1df39d3fc34560e2cc663b5c340d06a25396",
"deprecated": false,
"id": "CVE-2023-52857-0ff808d1",
"signature_type": "Function",
"target": {
"function": "mtk_drm_gem_dumb_create",
"file": "drivers/gpu/drm/mediatek/mtk_drm_gem.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"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"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0b0d811eac6b4c52cb9ad632fa6384cf48869e7",
"deprecated": false,
"id": "CVE-2023-52857-606d8da1",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/mediatek/mtk_drm_plane.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 513.0,
"function_hash": "110837170936321070938842078965617126440"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0b0d811eac6b4c52cb9ad632fa6384cf48869e7",
"deprecated": false,
"id": "CVE-2023-52857-65686e81",
"signature_type": "Function",
"target": {
"function": "mtk_drm_gem_dumb_create",
"file": "drivers/gpu/drm/mediatek/mtk_drm_gem.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1722.0,
"function_hash": "58505071058684764837475345023408633233"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d8a1df39d3fc34560e2cc663b5c340d06a25396",
"deprecated": false,
"id": "CVE-2023-52857-90380637",
"signature_type": "Function",
"target": {
"function": "mtk_plane_update_new_state",
"file": "drivers/gpu/drm/mediatek/mtk_drm_plane.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1722.0,
"function_hash": "58505071058684764837475345023408633233"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0b0d811eac6b4c52cb9ad632fa6384cf48869e7",
"deprecated": false,
"id": "CVE-2023-52857-9c2cf7a8",
"signature_type": "Function",
"target": {
"function": "mtk_plane_update_new_state",
"file": "drivers/gpu/drm/mediatek/mtk_drm_plane.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"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"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d8a1df39d3fc34560e2cc663b5c340d06a25396",
"deprecated": false,
"id": "CVE-2023-52857-9d40c701",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/mediatek/mtk_drm_plane.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"70016713178998293265475360264561969045",
"6271539924549084496738520986526655653",
"248446205871873212680108813357189536317",
"132400204359860052326483320914342132346"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0b0d811eac6b4c52cb9ad632fa6384cf48869e7",
"deprecated": false,
"id": "CVE-2023-52857-ee825d0b",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/mediatek/mtk_drm_gem.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"70016713178998293265475360264561969045",
"6271539924549084496738520986526655653",
"248446205871873212680108813357189536317",
"132400204359860052326483320914342132346"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d8a1df39d3fc34560e2cc663b5c340d06a25396",
"deprecated": false,
"id": "CVE-2023-52857-f0a654f9",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/mediatek/mtk_drm_gem.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52857.json"