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 dma_addr_t variable directly.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/mediatek/mtk_drm_gem.c",
"drivers/gpu/drm/mediatek/mtk_drm_plane.c"
],
"versions": [
{
"version": "1a64a7aff8da",
"lessThan": "0d8a1df39d3f",
"status": "affected",
"versionType": "git"
},
{
"version": "1a64a7aff8da",
"lessThan": "96312a251d4d",
"status": "affected",
"versionType": "git"
},
{
"version": "1a64a7aff8da",
"lessThan": "b0b0d811eac6",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/mediatek/mtk_drm_gem.c",
"drivers/gpu/drm/mediatek/mtk_drm_plane.c"
],
"versions": [
{
"version": "5.14",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.14",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.5.12",
"lessThanOrEqual": "6.5.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.2",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]