# CVE-2022-50038: drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:39.487Z
- Modified: 2026-06-17T05:22:36.983Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bbbe775ec5b5dace43a35886da9924837da09ddd before 6a758f0ba11699837af9e1a0f7cbac6ef765a23e; from bbbe775ec5b5dace43a35886da9924837da09ddd before fc1fc2abfcb9235d0ece9a4d858426fb617cfa66; from bbbe775ec5b5dace43a35886da9924837da09ddd before d58ef256781398ad115aef44de0a02ad27ea6c3a; from bbbe775ec5b5dace43a35886da9924837da09ddd before 3aa710e96747c8b4e52ba12ffe09edcb2755897c; from bbbe775ec5b5dace43a35886da9924837da09ddd before fe71d84c1a6c0d54657431e8eeaefc9d24895304; from bbbe775ec5b5dace43a35886da9924837da09ddd before 8dec38e19f6928235d4009ce55f7add8af34e5c7; from bbbe775ec5b5dace43a35886da9924837da09ddd before 91b3c8dbe898df158fd2a84675f3a284ff6666f7; 4.10 (not affected: before 4.10; from 4.14.291 up to 4.14.*; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.138 up to 5.10.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.10 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.138; from 5.11 before 5.15.63; from 5.16 before 5.19.4; 6.0

## References

- <https://git.kernel.org/stable/c/6a758f0ba11699837af9e1a0f7cbac6ef765a23e> (patch)
- <https://git.kernel.org/stable/c/fc1fc2abfcb9235d0ece9a4d858426fb617cfa66> (patch)
- <https://git.kernel.org/stable/c/d58ef256781398ad115aef44de0a02ad27ea6c3a> (patch)
- <https://git.kernel.org/stable/c/3aa710e96747c8b4e52ba12ffe09edcb2755897c> (patch)
- <https://git.kernel.org/stable/c/fe71d84c1a6c0d54657431e8eeaefc9d24895304> (patch)
- <https://git.kernel.org/stable/c/8dec38e19f6928235d4009ce55f7add8af34e5c7> (patch)
- <https://git.kernel.org/stable/c/91b3c8dbe898df158fd2a84675f3a284ff6666f7> (patch)

## Sources

- CVE List: [CVE-2022-50038](https://www.cve.org/CVERecord?id=CVE-2022-50038), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50038](https://nvd.nist.gov/vuln/detail/CVE-2022-50038), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50038 · Whole record: https://cve.day/CVE-2022-50038.json · Rebuilt by cve.day 2026-11-25T22:58:21.021Z
