CVE-2022-49367

net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:11 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.11 ≤ v < 4.14.2834.11 ≤ v < 4.19.2474.11 ≤ v < 5.10.1224.11 ≤ v < 5.15.474.11 ≤ v < 5.17.154.11 ≤ v < 5.18.44.11 ≤ v < 5.194.11 ≤ v < 5.4.1984.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.45.5 ≤ v < 5.10.1224.11a3c53be55c955b7150cda17874c3fcb4eeb97a89
Vendor states this is fixed in 02ded5a173619b11728b8bf75a3fd995a2c1ff28 (fixed)
Vendor states this is fixed in 42658e47f1abbbe592007d3ba303de466114d0bb (fixed)
Vendor states this is fixed in 86c3c5f8e4bd1325e24f6fba9017cade29933377 (fixed)
Vendor states this is fixed in 8a1a1255152da4fb934290e7ababc66f24985520 (fixed)
Vendor states this is fixed in a101793994c0a14c70bb4e44c7fda597eeebba0a (fixed)
Vendor states this is fixed in c1df9cb756e5a9ba1841648c44ee5d92306b9c65 (fixed)
Vendor states this is fixed in dc1cf8c6f9793546696fded437a5b4c84944c48b (fixed)
Vendor states this is fixed in e0d763d0c7665c7897e4f5a0847ab0c82543345f (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/02ded5a173619b11728b8bf75a3fd995a2c1ff28
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/42658e47f1abbbe592007d3ba303de466114d0bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/86c3c5f8e4bd1325e24f6fba9017cade29933377
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a1a1255152da4fb934290e7ababc66f24985520
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a101793994c0a14c70bb4e44c7fda597eeebba0a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c1df9cb756e5a9ba1841648c44ee5d92306b9c65
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dc1cf8c6f9793546696fded437a5b4c84944c48b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0d763d0c7665c7897e4f5a0847ab0c82543345f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card