CVE-2022-49499

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49499
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49499.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49499
Downstream
Related
Published
2025-02-26T02:13:33.569Z
Modified
2025-11-28T07:44:03.220451Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/msm: Fix null pointer dereferences without iommu
Details

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

drm/msm: Fix null pointer dereferences without iommu

Check if 'aspace' is set before using it as it will stay null without IOMMU, such as on msm8974.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49499.json"
}
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
bc2112583a0b473f5c4ba87c00da84abd5d0b3fd
Fixed
f09937e80f9bc792965476c9a528f26c8fdc9179
Fixed
36a1d1bda77e1851bddfa9cf4e8ada94476dbaff

Affected versions

v5.*

v5.17
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.18.1
v5.18.2

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49499.json"

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "254496379794977940770723304881413309097",
                "108490846407581051741647887541721505525",
                "108403241734268424010500729544313971657",
                "307712641323046907092386788646230730249"
            ]
        },
        "id": "CVE-2022-49499-2e0bf615",
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36a1d1bda77e1851bddfa9cf4e8ada94476dbaff",
        "target": {
            "file": "drivers/gpu/drm/msm/adreno/adreno_gpu.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 1779.0,
            "function_hash": "218164754633825685945212594110482231591"
        },
        "id": "CVE-2022-49499-37733310",
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f09937e80f9bc792965476c9a528f26c8fdc9179",
        "target": {
            "file": "drivers/gpu/drm/msm/msm_gpu.c",
            "function": "recover_worker"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "254496379794977940770723304881413309097",
                "108490846407581051741647887541721505525",
                "108403241734268424010500729544313971657",
                "307712641323046907092386788646230730249"
            ]
        },
        "id": "CVE-2022-49499-52d12df8",
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f09937e80f9bc792965476c9a528f26c8fdc9179",
        "target": {
            "file": "drivers/gpu/drm/msm/adreno/adreno_gpu.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 1676.0,
            "function_hash": "56852361128451452460537588490644034296"
        },
        "id": "CVE-2022-49499-945b6ec5",
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36a1d1bda77e1851bddfa9cf4e8ada94476dbaff",
        "target": {
            "file": "drivers/gpu/drm/msm/adreno/adreno_gpu.c",
            "function": "adreno_get_param"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 1350.0,
            "function_hash": "249958779370643157944473323076093742958"
        },
        "id": "CVE-2022-49499-a438a3e7",
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f09937e80f9bc792965476c9a528f26c8fdc9179",
        "target": {
            "file": "drivers/gpu/drm/msm/adreno/adreno_gpu.c",
            "function": "adreno_get_param"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 1637.0,
            "function_hash": "25709101390684724609995429972209000320"
        },
        "id": "CVE-2022-49499-d88e65fe",
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36a1d1bda77e1851bddfa9cf4e8ada94476dbaff",
        "target": {
            "file": "drivers/gpu/drm/msm/msm_gpu.c",
            "function": "recover_worker"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "114303558850635399277029045712012660310",
                "178475968640079637788524537306825828163",
                "22050770089929495956166196162059565632",
                "77627543392448098091589232690745383682"
            ]
        },
        "id": "CVE-2022-49499-db03477c",
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f09937e80f9bc792965476c9a528f26c8fdc9179",
        "target": {
            "file": "drivers/gpu/drm/msm/msm_gpu.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "29948716664008545346549742536478782653",
                "198602704831375544351178150192574729102",
                "202974967778185889979683858682027343968",
                "57325579509640593647516918367431963374"
            ]
        },
        "id": "CVE-2022-49499-f8a1400f",
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36a1d1bda77e1851bddfa9cf4e8ada94476dbaff",
        "target": {
            "file": "drivers/gpu/drm/msm/msm_gpu.c"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.3

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49499.json"