In the Linux kernel, the following vulnerability has been resolved:
media: platform: mediatek: vpu: fix NULL ptr dereference
If pdev is NULL, then it is still dereferenced.
This fixes this smatch warning:
drivers/media/platform/mediatek/vpu/mtkvpu.c:570 vpuload_firmware() warn: address of NULL pointer 'pdev'
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53425.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53425.json"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1409.0,
"function_hash": "94253195813001969850814605224374744079"
},
"signature_type": "Function",
"id": "CVE-2023-53425-0209c683",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4d299e6e0ac3cf8ab4517dc29c9294bc4bf72398",
"target": {
"function": "vpu_load_firmware",
"file": "drivers/media/platform/mediatek/vpu/mtk_vpu.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"122104965864128719829785401690912710126",
"332675148542377050121053827004895225569",
"147005172712477744023137858108417052560",
"332798993642829793128832758802799858222",
"59027764407202271295700187772214776242",
"258753568009572490029059555624445181077",
"175789202576240357196727018362986002567",
"202721899772895598045560234137808483246",
"553186953678273205390417392346497293",
"984052666554087783905068535534300553"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53425-1278f93b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4d299e6e0ac3cf8ab4517dc29c9294bc4bf72398",
"target": {
"file": "drivers/media/platform/mediatek/vpu/mtk_vpu.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1409.0,
"function_hash": "94253195813001969850814605224374744079"
},
"signature_type": "Function",
"id": "CVE-2023-53425-53452793",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3df55cd773e8603b623425cc97b05e542854ad27",
"target": {
"function": "vpu_load_firmware",
"file": "drivers/media/platform/mediatek/vpu/mtk_vpu.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1409.0,
"function_hash": "94253195813001969850814605224374744079"
},
"signature_type": "Function",
"id": "CVE-2023-53425-8377bfc4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2caeb722f0ea5d2d24af30bb1753a89d449b6aa0",
"target": {
"function": "vpu_load_firmware",
"file": "drivers/media/platform/mtk-vpu/mtk_vpu.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"122104965864128719829785401690912710126",
"332675148542377050121053827004895225569",
"147005172712477744023137858108417052560",
"332798993642829793128832758802799858222",
"59027764407202271295700187772214776242",
"258753568009572490029059555624445181077",
"175789202576240357196727018362986002567",
"202721899772895598045560234137808483246",
"553186953678273205390417392346497293",
"984052666554087783905068535534300553"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53425-a7b1baba",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2caeb722f0ea5d2d24af30bb1753a89d449b6aa0",
"target": {
"file": "drivers/media/platform/mtk-vpu/mtk_vpu.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"122104965864128719829785401690912710126",
"332675148542377050121053827004895225569",
"147005172712477744023137858108417052560",
"332798993642829793128832758802799858222",
"59027764407202271295700187772214776242",
"258753568009572490029059555624445181077",
"175789202576240357196727018362986002567",
"202721899772895598045560234137808483246",
"553186953678273205390417392346497293",
"984052666554087783905068535534300553"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53425-eb8fb821",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3df55cd773e8603b623425cc97b05e542854ad27",
"target": {
"file": "drivers/media/platform/mediatek/vpu/mtk_vpu.c"
}
}
]