CVE-2024-58082

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-58082
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58082.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58082
Downstream
Related
Published
2025-03-06T16:13:44Z
Modified
2025-10-17T20:25:53.220372Z
Summary
media: nuvoton: Fix an error check in npcm_video_ece_init()
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
46c15a4ff1f4fe078c5b250fb2570020211eab38
Fixed
bdd823b9d068284e1d998b962cfef29236365df3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
46c15a4ff1f4fe078c5b250fb2570020211eab38
Fixed
c36b830754ae1dd1db41c27f57b29267878f9702
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
46c15a4ff1f4fe078c5b250fb2570020211eab38
Fixed
c4b7779abc6633677e6edb79e2809f4f61fde157

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.10
v6.12.11
v6.12.12
v6.12.13
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1
v6.13.2
v6.6
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "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"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.14
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.3