net: dsa: ar9331: register the mdiobus under devres

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000508: net: dsa: ar9331: register the mdiobus under devres. Affects Kernel versions >= ac3a68d56651c3dad2c12c7afce065fe15267f44, < f1842a8cb71de4d7eb75a86f76e88c7ee739218c. 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: ar9331 package is a component of the Linux Kernel. It is responsible for managing the AR9331 switch found on certain devices. The package includes functionality to register the mdiobus under devres, which is a resource management framework in the kernel. This allows for proper handling of the mdiobus resource and ensures its cleanup when no longer needed.

Vulnerability Detail

The vulnerability in net: dsa: ar9331 arises from a failure to properly register the mdiobus under devres. This can lead to resource leaks and potential memory corruption. An attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v5.9 of the Linux Kernel and is fixed in version v5.16.10.

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 known workaround for this vulnerability. It is necessary to update to the fixed version of the Linux Kernel.

Conclusion

The net: dsa: ar9331 package in the Linux Kernel is vulnerable to a resource management issue. This vulnerability can lead to resource leaks and potential memory corruption, allowing attackers to execute arbitrary code or cause a denial of service. It is crucial to update to the fixed version of the Linux Kernel (v5.16.10 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Net: dsa: ar9331 is a component of the Linux Kernel responsible for managing the AR9331 switch found on certain devices.

Devres is a resource management framework in the Linux Kernel that allows for proper handling and cleanup of resources.

This vulnerability can lead to resource leaks and potential memory corruption. An attacker may be able to execute arbitrary code or cause a denial of service.

To fix this vulnerability, update to the latest version of the Linux Kernel (v5.16.10 or later).

No, there is no known workaround for this vulnerability. Updating to the fixed version of the Linux Kernel is necessary.

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