net: dsa: bcm_sf2: don't use devres for mdiobus

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000429: net: dsa: bcm_sf2: don't use devres for mdiobus. Affects Kernel versions >= ac3a68d56651c3dad2c12c7afce065fe15267f44, < caabb5f64f5c32fceed93356bb688ef1ec6c5783. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The net: dsa: bcm_sf2 package is a component of the Linux Kernel that provides support for Broadcom SF2 Ethernet switches. It includes drivers and functionality for managing the switch's MDIO bus, which is used for communication with external PHY devices. The MDIO bus is responsible for configuring and monitoring the PHY devices connected to the switch.

Vulnerability Detail

The vulnerability in net: dsa: bcm_sf2 arises from the improper use of devres for mdiobus. Devres is a resource management framework in the Linux Kernel that allows drivers to automatically release resources when they are no longer needed. However, in this case, using devres for mdiobus can lead to a security vulnerability. The specific technical details of the vulnerability have not been disclosed, but it is important to note that the impact and attack plausibility have not yet been proven.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No workaround has been provided for this vulnerability.

Conclusion

The net: dsa: bcm_sf2 package in the Linux Kernel is vulnerable to a security issue related to the improper use of devres for mdiobus. Users should update their Linux Kernel to version v5.15.24 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net: dsa: bcm_sf2 package is a component of the Linux Kernel that provides support for Broadcom SF2 Ethernet switches.

The MDIO bus is a communication bus used for configuring and monitoring PHY devices connected to the Broadcom SF2 Ethernet switch.

Devres is a resource management framework in the Linux Kernel that allows drivers to automatically release resources when they are no longer needed.

You can use Vulert's playground (https://vulert.com/scanner) to check if your Linux Kernel is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback