In the Linux kernel, the following vulnerability has been resolved:
media: nuvoton: Fix an error check in npcmvideoece_init()
When function offinddevicebynode() fails, it returns NULL instead of an error code. So the corresponding error check logic should be modified to check whether the return value is NULL and set the error code to be returned as -ENODEV.
[
{
"target": {
"function": "npcm_video_ece_init",
"file": "drivers/media/platform/nuvoton/npcm-video.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4b7779abc6633677e6edb79e2809f4f61fde157",
"signature_version": "v1",
"id": "CVE-2024-58082-10b9adc0",
"signature_type": "Function",
"digest": {
"length": 1137.0,
"function_hash": "23214250613092044374698607212619024371"
}
},
{
"target": {
"function": "npcm_video_ece_init",
"file": "drivers/media/platform/nuvoton/npcm-video.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdd823b9d068284e1d998b962cfef29236365df3",
"signature_version": "v1",
"id": "CVE-2024-58082-74624472",
"signature_type": "Function",
"digest": {
"length": 1137.0,
"function_hash": "23214250613092044374698607212619024371"
}
},
{
"target": {
"file": "drivers/media/platform/nuvoton/npcm-video.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bdd823b9d068284e1d998b962cfef29236365df3",
"signature_version": "v1",
"id": "CVE-2024-58082-dd6c48d1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"126138759884214409169966130977937663397",
"69819364280939390119115032903250451874",
"303207864463994280001308008886427925686",
"9597580667976438253906316710904193165",
"312615180383085120923102902849410559817",
"216539728832130211143566020867261481677"
]
}
},
{
"target": {
"file": "drivers/media/platform/nuvoton/npcm-video.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c36b830754ae1dd1db41c27f57b29267878f9702",
"signature_version": "v1",
"id": "CVE-2024-58082-ee7a5024",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"126138759884214409169966130977937663397",
"69819364280939390119115032903250451874",
"303207864463994280001308008886427925686",
"9597580667976438253906316710904193165",
"312615180383085120923102902849410559817",
"216539728832130211143566020867261481677"
]
}
},
{
"target": {
"file": "drivers/media/platform/nuvoton/npcm-video.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4b7779abc6633677e6edb79e2809f4f61fde157",
"signature_version": "v1",
"id": "CVE-2024-58082-ee7b276a",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"126138759884214409169966130977937663397",
"69819364280939390119115032903250451874",
"303207864463994280001308008886427925686",
"9597580667976438253906316710904193165",
"312615180383085120923102902849410559817",
"216539728832130211143566020867261481677"
]
}
},
{
"target": {
"function": "npcm_video_ece_init",
"file": "drivers/media/platform/nuvoton/npcm-video.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c36b830754ae1dd1db41c27f57b29267878f9702",
"signature_version": "v1",
"id": "CVE-2024-58082-f3a7645e",
"signature_type": "Function",
"digest": {
"length": 1137.0,
"function_hash": "23214250613092044374698607212619024371"
}
}
]