CVE-2022-49365

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49365
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49365.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49365
Downstream
Related
Published
2025-02-26T02:11:10Z
Modified
2025-10-21T09:59:54.585205Z
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/amdgpu: Off by one in dm_dmub_outbox1_low_irq()
Details

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

drm/amdgpu: Off by one in dmdmuboutbox1lowirq()

The > ARRAYSIZE() should be >= ARRAYSIZE() to prevent an out of bounds access.

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
734d5ce02cb069cccedc993d8f1dc0ea41cfa3dd
Fixed
ec9ec3bc08b18c5b1b2feafd306ea7c348013898
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e27c41d5b0681c597ac1894f4e02cf626e062250
Fixed
b0808b7a04157b3f56e919f27023fec37a075fad
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e27c41d5b0681c597ac1894f4e02cf626e062250
Fixed
607c5cd1a08e196d9f2bd3b25a8083ed27ad7ceb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e27c41d5b0681c597ac1894f4e02cf626e062250
Fixed
a35faec3db0e13aac8ea720bc1a3503081dd5a3d

Affected versions

v5.*

v5.14
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.17.1
v5.17.10
v5.17.11
v5.17.12
v5.17.13
v5.17.14
v5.17.2
v5.17.3
v5.17.4
v5.17.5
v5.17.6
v5.17.7
v5.17.8
v5.17.9
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
v5.18.3

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@607c5cd1a08e196d9f2bd3b25a8083ed27ad7ceb",
        "target": {
            "function": "dm_dmub_outbox1_low_irq",
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-02ac07eb",
        "signature_version": "v1",
        "digest": {
            "length": 1911.0,
            "function_hash": "263372174647783773450729601231709523076"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a35faec3db0e13aac8ea720bc1a3503081dd5a3d",
        "target": {
            "function": "dm_dmub_outbox1_low_irq",
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-207b079d",
        "signature_version": "v1",
        "digest": {
            "length": 1911.0,
            "function_hash": "263372174647783773450729601231709523076"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec9ec3bc08b18c5b1b2feafd306ea7c348013898",
        "target": {
            "function": "dm_dmub_outbox1_low_irq",
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-38521e82",
        "signature_version": "v1",
        "digest": {
            "length": 1432.0,
            "function_hash": "116317109310147118295223269500281126263"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0808b7a04157b3f56e919f27023fec37a075fad",
        "target": {
            "function": "dm_dmub_outbox1_low_irq",
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-77adc294",
        "signature_version": "v1",
        "digest": {
            "length": 1911.0,
            "function_hash": "263372174647783773450729601231709523076"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a35faec3db0e13aac8ea720bc1a3503081dd5a3d",
        "target": {
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-a20faa49",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "45267779698702431983271602968309088938",
                "92291299218056049976012251395562424520",
                "322780144116514041659100992985048140405",
                "207037693962226503990701515278412936380"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@607c5cd1a08e196d9f2bd3b25a8083ed27ad7ceb",
        "target": {
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-b06ef773",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "45267779698702431983271602968309088938",
                "92291299218056049976012251395562424520",
                "322780144116514041659100992985048140405",
                "207037693962226503990701515278412936380"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b0808b7a04157b3f56e919f27023fec37a075fad",
        "target": {
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-bb1a529a",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "45267779698702431983271602968309088938",
                "92291299218056049976012251395562424520",
                "322780144116514041659100992985048140405",
                "207037693962226503990701515278412936380"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec9ec3bc08b18c5b1b2feafd306ea7c348013898",
        "target": {
            "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
        },
        "deprecated": false,
        "id": "CVE-2022-49365-e800830e",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "329353198568747737212397774703245420811",
                "59118699594711509502438236595766550494",
                "77769339550228988691272154558349841619",
                "68365249119170966812162844277146142182"
            ]
        },
        "signature_type": "Line"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.15
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.4