net: stmmac: Fix leaks in probe

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004175: net: stmmac: fix leaks in probe. Affects Kernel versions >= 2bb4b98b60d7dc89fc0a5bb64534be348ab654df, < dd91bc60f305610401b2196bedb573693d6c8e46. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The stmmac driver is a network driver for Ethernet controllers based on the Synopsys DesignWare Ethernet MAC (stmmac) IP core. It is used in the Linux Kernel to provide network connectivity for various devices. The probe function in the stmmac driver is responsible for initializing and configuring the network interface. However, there are memory leaks in the probe function, which can lead to resource exhaustion and potential denial-of-service attacks.

Vulnerability Detail

The vulnerability in the stmmac driver's probe function allows an attacker to cause a denial-of-service condition by repeatedly triggering the probe function and exhausting system resources. This can be exploited by sending a specially crafted network packet to the affected device. The vulnerability was introduced in Linux Kernel version v5.14 and is fixed in version v5.18.13. The fix involves correcting the memory leaks in the probe function to ensure proper resource management.

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 apply the fix by updating the Linux Kernel.

Conclusion

The stmmac driver in the Linux Kernel is vulnerable to memory leaks in the probe function, which can be exploited to cause denial-of-service attacks. It is recommended to update the Linux Kernel to version v5.18.13 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource exhaustion and potential denial-of-service attacks on devices using the stmmac driver.

An attacker can exploit this vulnerability by sending specially crafted network packets to the affected device, triggering the probe function and causing resource exhaustion.

The vulnerability was introduced in Linux Kernel version v5.14 and is fixed in version v5.18.13.

No, there is no known workaround. It is necessary to update the Linux Kernel to fix the vulnerability.

You can find more information about this vulnerability in the GSD-2022-1004175 JSON file available in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1004xxx/GSD-2022-1004175.json).

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