CVE-2022-50038

drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:01 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors() In this function, there are two refcount leak bugs: (1) when breaking out of for_each_endpoint_of_node(), we need call the of_node_put() for the 'ep'; (2) we should call of_node_put() for the reference returned by of_graph_get_remote_port() when it is not used anymore.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.2914.10 ≤ v < 4.19.2564.10 ≤ v < 5.10.1384.10 ≤ v < 5.15.634.10 ≤ v < 5.19.44.10 ≤ v < 5.4.2114.10 ≤ v < 6.04.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.635.16 ≤ v < 5.19.45.5 ≤ v < 5.10.1384.106.0 rc1bbbe775ec5b5dace43a35886da9924837da09ddd
Vendor states this is fixed in 3aa710e96747c8b4e52ba12ffe09edcb2755897c (fixed)
Vendor states this is fixed in 6a758f0ba11699837af9e1a0f7cbac6ef765a23e (fixed)
Vendor states this is fixed in 8dec38e19f6928235d4009ce55f7add8af34e5c7 (fixed)
Vendor states this is fixed in 91b3c8dbe898df158fd2a84675f3a284ff6666f7 (fixed)
Vendor states this is fixed in d58ef256781398ad115aef44de0a02ad27ea6c3a (fixed)
Vendor states this is fixed in fc1fc2abfcb9235d0ece9a4d858426fb617cfa66 (fixed)
Vendor states this is fixed in fe71d84c1a6c0d54657431e8eeaefc9d24895304 (fixed)
Vendor states this is fixed in 4.10 (unaffected)
Vendor states this is fixed in 4.14.291 (unaffected)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 5.10.138 (unaffected)
Vendor states this is fixed in 5.15.63 (unaffected)
Vendor states this is fixed in 5.19.4 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3aa710e96747c8b4e52ba12ffe09edcb2755897c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a758f0ba11699837af9e1a0f7cbac6ef765a23e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8dec38e19f6928235d4009ce55f7add8af34e5c7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91b3c8dbe898df158fd2a84675f3a284ff6666f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d58ef256781398ad115aef44de0a02ad27ea6c3a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fc1fc2abfcb9235d0ece9a4d858426fb617cfa66
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe71d84c1a6c0d54657431e8eeaefc9d24895304

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card