CVE-2022-50360

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50360
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50360.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50360
Downstream
Related
Published
2025-09-17T14:56:12Z
Modified
2025-10-21T12:31:08.182905Z
Summary
drm/msm/dp: fix aux-bus EP lifetime
Details

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

drm/msm/dp: fix aux-bus EP lifetime

Device-managed resources allocated post component bind must be tied to the lifetime of the aggregate DRM device or they will not necessarily be released when binding of the aggregate device is deferred.

This can lead resource leaks or failure to bind the aggregate device when binding is later retried and a second attempt to allocate the resources is made.

For the DP aux-bus, an attempt to populate the bus a second time will simply fail ("DP AUX EP device already populated").

Fix this by tying the lifetime of the EP device to the DRM device rather than DP controller platform device.

Patchwork: https://patchwork.freedesktop.org/patch/502672/

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
c3bf8e21b38a89418f2e22173b229aaad2306815
Fixed
8768663188e4169333f66583e4d2432e65c421df
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c3bf8e21b38a89418f2e22173b229aaad2306815
Fixed
2b57f726611e294dc4297dd48eb8c98ef1938e82

Affected versions

v5.*

v5.18
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.0.6

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8768663188e4169333f66583e4d2432e65c421df",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "deprecated": false,
        "id": "CVE-2022-50360-227d04dc",
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "141564501334213462918162012185643394397",
                "287607288093926141424370332849621210219",
                "240914152933549700421367144351247049847",
                "234526108427319919053969035071518057585",
                "28681108713952107696935718376188156848",
                "49427712573289085187688265259936701474",
                "334006531906384060026607856494203306502",
                "31437397027040193438901366621125379136",
                "225949769572534081104019457337697967582",
                "108525243386404444831227345029016425236"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8768663188e4169333f66583e4d2432e65c421df",
        "target": {
            "function": "dp_display_get_next_bridge",
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "deprecated": false,
        "id": "CVE-2022-50360-577e37b2",
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 804.0,
            "function_hash": "80357234067645584538475491782117497807"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b57f726611e294dc4297dd48eb8c98ef1938e82",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "deprecated": false,
        "id": "CVE-2022-50360-e3138f78",
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "141564501334213462918162012185643394397",
                "287607288093926141424370332849621210219",
                "240914152933549700421367144351247049847",
                "234526108427319919053969035071518057585",
                "28681108713952107696935718376188156848",
                "49427712573289085187688265259936701474",
                "334006531906384060026607856494203306502",
                "31437397027040193438901366621125379136",
                "225949769572534081104019457337697967582",
                "108525243386404444831227345029016425236"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b57f726611e294dc4297dd48eb8c98ef1938e82",
        "target": {
            "function": "dp_display_get_next_bridge",
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "deprecated": false,
        "id": "CVE-2022-50360-e59bd8a7",
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 804.0,
            "function_hash": "80357234067645584538475491782117497807"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.0.7