Vulnerability in Kernel: 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-1000370: net: dsa: bcm_sf2: don't use devres for mdiobus. Affects Kernel versions >= ac3a68d56651c3dad2c12c7afce065fe15267f44, < 2770b795294ed312375c11ef1d0b810499c66b83. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a crucial component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to enable the proper functioning of the system. The specific vulnerability affects the bcm_sf2 driver in the Kernel, which is responsible for managing the Broadcom SF2 Ethernet switch. This driver utilizes the devres mechanism for managing resources, including the mdiobus (MDIO bus) used for communication with Ethernet PHYs. However, this approach introduces a security vulnerability that could potentially be exploited.

Vulnerability Detail

The vulnerability arises from the improper use of devres for mdiobus in the bcm_sf2 driver. By leveraging this vulnerability, an attacker could potentially gain unauthorized access or execute arbitrary code on the system. The exact impact and attack vectors have not been proven yet, but it is crucial to address this vulnerability to ensure the security and integrity of the system. The vulnerability was introduced in Kernel version v5.9 by commit ac3a68d56651c3dad2c12c7afce065fe15267f44 and has been fixed in version v5.10.101 by commit 2770b795294ed312375c11ef1d0b810499c66b83.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the Kernel's bcm_sf2 driver poses a potential security risk that could lead to unauthorized access or arbitrary code execution. It is crucial to update the Kernel to version v5.10.101 or later to mitigate this vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it could potentially allow an attacker to gain unauthorized access or execute arbitrary code on the system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

Yes, a patch is available in Kernel version v5.10.101. It is recommended to update to this version or later to fix the vulnerability.

Updating the Kernel is the recommended approach to mitigate the risk. However, if updating is not feasible, you can consider implementing additional security measures, such as network segmentation and access control, to reduce the potential impact of the vulnerability.

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