CVE-2022-49016
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49016 is a vulnerability in the Linux kernel related to an unbalanced node reference count in the MDIO (Management Data Input/Output) bus subsystem. The issue was discovered during device load testing with CONFIG_OF_UNITTEST and CONFIG_OF_DYNAMIC enabled, specifically affecting the mscc-miim device driver (Kernel Commit).

Technical details

The vulnerability stems from a memory management issue where the 'fwnode' reference count is incremented in fwnode_mdiobus_phy_device_register() but never decremented when the device is freed in the normal path. For ACPI nodes, the opposite occurs - the reference is decremented in the error path without being previously incremented. This leads to an unbalanced reference count, resulting in a memory leak (Kernel Commit).

Impact

The primary impact of this vulnerability is a memory leak in the Linux kernel's MDIO bus subsystem. When triggered, the system reports an error indicating 'memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced' (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by adding proper reference count management: calling fwnode_handle_put() in phy_device_release() to prevent leaks for non-ACPI nodes, and calling fwnode_handle_get() before phy_device_register() for ACPI nodes to maintain balanced operations (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management