CVE-2022-48818
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability was discovered in the mv88e6xxx DSA (Distributed Switch Architecture) driver's MDIO bus handling. The issue was disclosed on July 16, 2024, and affects the Linux kernel's networking subsystem, specifically the Marvell mv88e6xxx switch driver (NVD).

Technical details

The vulnerability occurs when mdiobusfree() is called from devmmdiobusfree() through the call chain devresreleaseall() -> _devicereleasedriver(), while the mdiobus was not previously unregistered. This issue specifically manifests when the DSA master device is on a bus that calls ->remove from ->shutdown (like dpaa2-eth on the fsl-mc bus). In such cases, there is a device link between the switch and the DSA master, causing devicelinksunbind_consumers() to unbind the Marvell switch driver during shutdown (Kernel Commit).

Impact

When triggered, this vulnerability causes a kernel panic during system shutdown, potentially leading to system instability and unexpected behavior. The issue specifically affects systems using the Marvell mv88e6xxx switch driver in conjunction with certain bus configurations (NVD).

Mitigation and workarounds

The issue has been fixed by modifying the driver to either use devres for both mdiobus allocation and registration or not use devres at all. The fix implements the latter approach, removing devres usage and properly handling mdiobus allocation and cleanup (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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

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