CVE-2022-49367
net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
Check your servers for CVE-2022-49367
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-49367 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: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when done.
mv88e6xxx_mdio_register() pass the device node to of_mdiobus_register(). We don't need the device node after it.
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.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.4% 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 a3c53be55c955b7150cda17874c3fcb4eeb97a89, before dc1cf8c6f9793546696fded437a5b4c84944c48b affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before 86c3c5f8e4bd1325e24f6fba9017cade29933377 affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before a101793994c0a14c70bb4e44c7fda597eeebba0a affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before 42658e47f1abbbe592007d3ba303de466114d0bb affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before c1df9cb756e5a9ba1841648c44ee5d92306b9c65 affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before e0d763d0c7665c7897e4f5a0847ab0c82543345f affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before 8a1a1255152da4fb934290e7ababc66f24985520 affected from a3c53be55c955b7150cda17874c3fcb4eeb97a89, before 02ded5a173619b11728b8bf75a3fd995a2c1ff28
Other versions: unaffected
|
| Linux |
affected 4.11 unaffected before 4.11 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-49367 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49367
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-49367
trivy image --scanners vuln IMAGE | grep CVE-2022-49367
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/dc1cf8c6f9793546696fded437a5b4c84944c48b git.kernel.org
- https://git.kernel.org/stable/c/86c3c5f8e4bd1325e24f6fba9017cade29933377 git.kernel.org
- https://git.kernel.org/stable/c/a101793994c0a14c70bb4e44c7fda597eeebba0a git.kernel.org
- https://git.kernel.org/stable/c/42658e47f1abbbe592007d3ba303de466114d0bb git.kernel.org
- https://git.kernel.org/stable/c/c1df9cb756e5a9ba1841648c44ee5d92306b9c65 git.kernel.org
- https://git.kernel.org/stable/c/e0d763d0c7665c7897e4f5a0847ab0c82543345f git.kernel.org
- https://git.kernel.org/stable/c/8a1a1255152da4fb934290e7ababc66f24985520 git.kernel.org
- https://git.kernel.org/stable/c/02ded5a173619b11728b8bf75a3fd995a2c1ff28 git.kernel.org
Source: the record CVE-2022-49367 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