CVE-2025-38228

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38228
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38228.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38228
Downstream
Published
2025-07-04T13:37:42Z
Modified
2025-10-18T03:08:18.119788Z
Summary
media: imagination: fix a potential memory leak in e5010_probe()
Details

In the Linux kernel, the following vulnerability has been resolved:

media: imagination: fix a potential memory leak in e5010_probe()

Add videodevicerelease() to release the memory allocated by videodevicealloc() if something goes wrong.

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
a1e2940458853d00c178c842c889e4ae3ef5eaec
Fixed
2a2bd7df402decbdefd0acb64ba4e17a0a2a4117
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1e2940458853d00c178c842c889e4ae3ef5eaec
Fixed
fac3b9a91fa099d9bad29648127c0328d6c478c3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a1e2940458853d00c178c842c889e4ae3ef5eaec
Fixed
609ba05b9484856b08869f827a6edee51d51b5f3

Affected versions

v6.*

v6.10
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.14
v6.12.15
v6.12.16
v6.12.17
v6.12.18
v6.12.19
v6.12.2
v6.12.20
v6.12.21
v6.12.22
v6.12.23
v6.12.24
v6.12.25
v6.12.26
v6.12.27
v6.12.28
v6.12.29
v6.12.3
v6.12.30
v6.12.31
v6.12.32
v6.12.33
v6.12.34
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.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.15.1
v6.15.2
v6.15.3

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@609ba05b9484856b08869f827a6edee51d51b5f3",
        "id": "CVE-2025-38228-148d883c",
        "digest": {
            "function_hash": "34916824666030627480514544887754033607",
            "length": 2726.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "e5010_probe",
            "file": "drivers/media/platform/imagination/e5010-jpeg-enc.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fac3b9a91fa099d9bad29648127c0328d6c478c3",
        "id": "CVE-2025-38228-7dda7f97",
        "digest": {
            "line_hashes": [
                "197664418440775049863240541077628510553",
                "261955885557244257088734177094395199744",
                "19561920258305236903197107311359806361",
                "320855183208133959699501596243812189416",
                "258942247816271220508738533603629725796",
                "60864755878545472487302325719667294981",
                "304897579727455472908435030712843204494",
                "245342905253604567916110306494011292506",
                "97400555325214441612858786735722201295"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/media/platform/imagination/e5010-jpeg-enc.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@609ba05b9484856b08869f827a6edee51d51b5f3",
        "id": "CVE-2025-38228-c0f05f2d",
        "digest": {
            "line_hashes": [
                "197664418440775049863240541077628510553",
                "261955885557244257088734177094395199744",
                "19561920258305236903197107311359806361",
                "320855183208133959699501596243812189416",
                "258942247816271220508738533603629725796",
                "60864755878545472487302325719667294981",
                "304897579727455472908435030712843204494",
                "245342905253604567916110306494011292506",
                "97400555325214441612858786735722201295"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/media/platform/imagination/e5010-jpeg-enc.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a2bd7df402decbdefd0acb64ba4e17a0a2a4117",
        "id": "CVE-2025-38228-cb33fd10",
        "digest": {
            "line_hashes": [
                "197664418440775049863240541077628510553",
                "261955885557244257088734177094395199744",
                "19561920258305236903197107311359806361",
                "320855183208133959699501596243812189416",
                "258942247816271220508738533603629725796",
                "60864755878545472487302325719667294981",
                "304897579727455472908435030712843204494",
                "245342905253604567916110306494011292506",
                "97400555325214441612858786735722201295"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/media/platform/imagination/e5010-jpeg-enc.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a2bd7df402decbdefd0acb64ba4e17a0a2a4117",
        "id": "CVE-2025-38228-ce3af0cb",
        "digest": {
            "function_hash": "34916824666030627480514544887754033607",
            "length": 2726.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "e5010_probe",
            "file": "drivers/media/platform/imagination/e5010-jpeg-enc.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fac3b9a91fa099d9bad29648127c0328d6c478c3",
        "id": "CVE-2025-38228-eed0b152",
        "digest": {
            "function_hash": "34916824666030627480514544887754033607",
            "length": 2726.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "e5010_probe",
            "file": "drivers/media/platform/imagination/e5010-jpeg-enc.c"
        },
        "signature_type": "Function"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.35
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.4