CVE-2022-50292

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50292
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50292.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50292
Downstream
Related
Published
2025-09-15T14:45:48Z
Modified
2025-10-21T12:20:35.469489Z
Summary
drm/msm/dp: fix bridge lifetime
Details

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

drm/msm/dp: fix bridge 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 bridges, previously allocated bridges will leak on probe deferral.

Fix this by amending the DP parser interface and tying the lifetime of the bridge device to the DRM device rather than DP platform device.

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

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
7eda6977e8058dd45607a5bbc6517a0f42ccd6c9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c3bf8e21b38a89418f2e22173b229aaad2306815
Fixed
16194958f888d63839042d1190f7001e5ddec47b

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@7eda6977e8058dd45607a5bbc6517a0f42ccd6c9",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "id": "CVE-2022-50292-0769dbcf",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "90219355682959871431303449154885291523",
                "99646687374016784692291325088615243353",
                "318840331688183817602698127654033274832",
                "104798346224869667739186573995198491702"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7eda6977e8058dd45607a5bbc6517a0f42ccd6c9",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_parser.h"
        },
        "id": "CVE-2022-50292-67913f32",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "97602831822389416390621716983631875668",
                "176802505103424384700303278648987625497"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7eda6977e8058dd45607a5bbc6517a0f42ccd6c9",
        "target": {
            "function": "dp_parser_find_next_bridge",
            "file": "drivers/gpu/drm/msm/dp/dp_parser.c"
        },
        "id": "CVE-2022-50292-7051cf47",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "89052467160103117475116480285552817693",
            "length": 229.0
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16194958f888d63839042d1190f7001e5ddec47b",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_parser.c"
        },
        "id": "CVE-2022-50292-a181c123",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "260604384740132160117610462793455060026",
                "4179258764196553554466750173953998548",
                "169578346974359522631831710283804486144",
                "336170721873688540504687030447618843479",
                "5822516745493719342462243624217425768",
                "203671694999936497090643233071868306776",
                "268641435745796593758257079334603848872",
                "65689035777749950945829007561946332359"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7eda6977e8058dd45607a5bbc6517a0f42ccd6c9",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_parser.c"
        },
        "id": "CVE-2022-50292-c3c86431",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "260604384740132160117610462793455060026",
                "4179258764196553554466750173953998548",
                "169578346974359522631831710283804486144",
                "336170721873688540504687030447618843479",
                "5822516745493719342462243624217425768",
                "203671694999936497090643233071868306776",
                "268641435745796593758257079334603848872",
                "65689035777749950945829007561946332359"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16194958f888d63839042d1190f7001e5ddec47b",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_parser.h"
        },
        "id": "CVE-2022-50292-cfeecf5d",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "97602831822389416390621716983631875668",
                "176802505103424384700303278648987625497"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16194958f888d63839042d1190f7001e5ddec47b",
        "target": {
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "id": "CVE-2022-50292-d69228a3",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "90219355682959871431303449154885291523",
                "99646687374016784692291325088615243353",
                "318840331688183817602698127654033274832",
                "104798346224869667739186573995198491702"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16194958f888d63839042d1190f7001e5ddec47b",
        "target": {
            "function": "dp_parser_find_next_bridge",
            "file": "drivers/gpu/drm/msm/dp/dp_parser.c"
        },
        "id": "CVE-2022-50292-d9a43629",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "89052467160103117475116480285552817693",
            "length": 229.0
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7eda6977e8058dd45607a5bbc6517a0f42ccd6c9",
        "target": {
            "function": "dp_display_get_next_bridge",
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "id": "CVE-2022-50292-e17dc21f",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "241544542227342402516072069189998721174",
            "length": 925.0
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16194958f888d63839042d1190f7001e5ddec47b",
        "target": {
            "function": "dp_display_get_next_bridge",
            "file": "drivers/gpu/drm/msm/dp/dp_display.c"
        },
        "id": "CVE-2022-50292-e87d3a6c",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "241544542227342402516072069189998721174",
            "length": 925.0
        },
        "signature_type": "Function"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.0.7