CVE-2022-49351
net: altera: Fix refcount leak in altera_tse_mdio_create
Check your servers for CVE-2022-49351
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49351 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: altera: Fix refcount leak in altera_tse_mdio_create
Every iteration of for_each_child_of_node() decrements the reference count of the previous node. When break from a for_each_child_of_node() loop, we need to explicitly call of_node_put() on the child node when not need anymore. Add missing of_node_put() to avoid refcount leak.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before a013fa884d8738ad8455aa1a843b8c9d80c6c833 affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 1fd12298a0e0ca23478c715e672ee64c85670584 affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 5cd0e22fa11f4a21a8c09cc258f20b1474c95801 affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 8174acbef87b8dd8bf3731eba2a5af1ac857e239 affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 96bf5ed057df2d157274d4e2079002f9a9404bb8 affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before e31d9ba169860687dba19bdc8fccbfd34077f655 affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 803b217f1fb49a2dbb2123acdb45111b9c48b8be affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 4f850fe0a32c3f1e19b76996a3b1ca32637a14de affected from bbd2190ce96d8fce031f0526c1f970b68adc9d1a, before 11ec18b1d8d92b9df307d31950dcba0b3dd7283c
Other versions: unaffected
|
| Linux |
affected 3.15 unaffected before 3.15 unaffected from 4.9.318 up to and including 4.9.* unaffected from 4.14.283 up to and including 4.14.* unaffected from 4.19.247 up to and including 4.19.* unaffected from 5.4.198 up to and including 5.4.* unaffected from 5.10.122 up to and including 5.10.* unaffected from 5.15.47 up to and including 5.15.* unaffected from 5.17.15 up to and including 5.17.* unaffected from 5.18.4 up to and including 5.18.* unaffected 5.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49351 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49351
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49351
trivy image --scanners vuln IMAGE | grep CVE-2022-49351
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a013fa884d8738ad8455aa1a843b8c9d80c6c833 git.kernel.org
- https://git.kernel.org/stable/c/1fd12298a0e0ca23478c715e672ee64c85670584 git.kernel.org
- https://git.kernel.org/stable/c/5cd0e22fa11f4a21a8c09cc258f20b1474c95801 git.kernel.org
- https://git.kernel.org/stable/c/8174acbef87b8dd8bf3731eba2a5af1ac857e239 git.kernel.org
- https://git.kernel.org/stable/c/96bf5ed057df2d157274d4e2079002f9a9404bb8 git.kernel.org
- https://git.kernel.org/stable/c/e31d9ba169860687dba19bdc8fccbfd34077f655 git.kernel.org
- https://git.kernel.org/stable/c/803b217f1fb49a2dbb2123acdb45111b9c48b8be git.kernel.org
- https://git.kernel.org/stable/c/4f850fe0a32c3f1e19b76996a3b1ca32637a14de git.kernel.org
- https://git.kernel.org/stable/c/11ec18b1d8d92b9df307d31950dcba0b3dd7283c git.kernel.org
Source: the record CVE-2022-49351 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse