CVE-2022-49351

Source
https://cve.org/CVERecord?id=CVE-2022-49351
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49351.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49351
Downstream
Related
Published
2025-02-26T02:11:04.014Z
Modified
2026-04-11T12:43:56.404821Z
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
net: altera: Fix refcount leak in altera_tse_mdio_create
Details

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

net: altera: Fix refcount leak in alteratsemdio_create

Every iteration of foreachchildofnode() decrements the reference count of the previous node. When break from a foreachchildofnode() loop, we need to explicitly call ofnodeput() on the child node when not need anymore. Add missing ofnodeput() to avoid refcount leak.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49351.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
bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Fixed
a013fa884d8738ad8455aa1a843b8c9d80c6c833
Fixed
1fd12298a0e0ca23478c715e672ee64c85670584
Fixed
5cd0e22fa11f4a21a8c09cc258f20b1474c95801
Fixed
8174acbef87b8dd8bf3731eba2a5af1ac857e239
Fixed
96bf5ed057df2d157274d4e2079002f9a9404bb8
Fixed
e31d9ba169860687dba19bdc8fccbfd34077f655
Fixed
803b217f1fb49a2dbb2123acdb45111b9c48b8be
Fixed
4f850fe0a32c3f1e19b76996a3b1ca32637a14de
Fixed
11ec18b1d8d92b9df307d31950dcba0b3dd7283c

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.15.0
Fixed
4.9.318
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.283
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.247
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.198
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.122
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.47
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.15
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.4

Database specific

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