CVE-2022-49752

Source
https://cve.org/CVERecord?id=CVE-2022-49752
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49752.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49752
Downstream
Published
2025-03-27T16:43:00Z
Modified
2026-08-12T03:30:48Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
Details

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

device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()

The 'parent' returned by fwnode_graph_get_port_parent() with refcount incremented when 'prev' is not NULL, it needs be put when finish using it.

Because the parent is const, introduce a new variable to store the returned fwnode, then put it before returning from fwnode_graph_get_next_endpoint().

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49752.json"
}
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
91b31ca76300fd36d5049c5879e68dfb3edc7a5c
Fixed
e0472947bead3af94cc968ce35fc0414803a2f65
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b5b41ab6b0c1bb70fe37a0d193006c969e3b5909
Fixed
7701a4bd45c11f9a289d8f262fad05705a012339
Fixed
e75485fc589ec729cc182aa9b41dfb6c15ae6f6e
Fixed
39af728649b05e88a2b40e714feeee6451c3f18e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49752.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.91
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49752.json"