drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.291, 4.19.256, 5.10.138, 5.15.63, 5.19.4, 5.4.211
- CVEs
- CVE-2022-50038
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:26 UTC · Revision 1
Source evidence
drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
core-osv · Original sourcePublished 18 Jun 2025, 11:01 UTC
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.
osv:CVE-2022-50038
Kernel
Fixed versions: 4.14.291, 4.19.256, 5.4.211, 5.10.138, 5.15.63, 5.19.4
Complete source record
{
"id": "2bbc9a2aee90d41dd03b2283b941803653743803f22d5ed04db0df913bf0a3de",
"url": "https://osv.dev/vulnerability/CVE-2022-50038",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()",
"summary": "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.",
"evidence": "osv:CVE-2022-50038",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.291",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.256",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.211",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.138",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.63",
"evidence": "/affected/1/ranges"
},
{
"value": "5.19.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-50038",
"aliases": [
"CVE-2022-50038"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "bbbe775ec5b5dace43a35886da9924837da09ddd"
},
{
"fixed": "6a758f0ba11699837af9e1a0f7cbac6ef765a23e"
},
{
"fixed": "fc1fc2abfcb9235d0ece9a4d858426fb617cfa66"
},
{
"fixed": "d58ef256781398ad115aef44de0a02ad27ea6c3a"
},
{
"fixed": "3aa710e96747c8b4e52ba12ffe09edcb2755897c"
},
{
"fixed": "fe71d84c1a6c0d54657431e8eeaefc9d24895304"
},
{
"fixed": "8dec38e19f6928235d4009ce55f7add8af34e5c7"
},
{
"fixed": "91b3c8dbe898df158fd2a84675f3a284ff6666f7"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50038.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.10.0"
},
{
"fixed": "4.14.291"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.256"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.211"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.138"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.63"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.19.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50038.json"
}
}
],
"modified": "2026-10-28T02:30:26.454450109Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3aa710e96747c8b4e52ba12ffe09edcb2755897c",
"https://git.kernel.org/stable/c/6a758f0ba11699837af9e1a0f7cbac6ef765a23e",
"https://git.kernel.org/stable/c/8dec38e19f6928235d4009ce55f7add8af34e5c7",
"https://git.kernel.org/stable/c/91b3c8dbe898df158fd2a84675f3a284ff6666f7",
"https://git.kernel.org/stable/c/d58ef256781398ad115aef44de0a02ad27ea6c3a",
"https://git.kernel.org/stable/c/fc1fc2abfcb9235d0ece9a4d858426fb617cfa66",
"https://git.kernel.org/stable/c/fe71d84c1a6c0d54657431e8eeaefc9d24895304",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50038.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50038",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50038.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50038",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 492704,
"published_at": "2025-06-18T11:01:39.487+00:00"
}