Vulnerability in Kernel: net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002755: net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup. Affects Kernel versions >= 3bb3d6b1c1957e88bfc5e77a4557f7e6ba761fe3, < 0b4a5d1e15ce72f69be48f38dc0401dab890ae0f. 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 critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It is responsible for managing system resources, including memory, processes, and input/output operations. The stmmac driver is a subsystem within the Kernel that handles Ethernet network interfaces. The dwmac-rk driver is a specific implementation for Rockchip SoCs. This driver is used to configure and control the GMAC (Gigabit Media Access Controller) on Rockchip-based devices. The vulnerability in question affects the rk_gmac_setup function within the dwmac-rk driver.

Vulnerability Detail

The vulnerability in the rk_gmac_setup function of the dwmac-rk driver allows for an out-of-bounds read. An attacker could exploit this vulnerability to read sensitive information from kernel memory, potentially leading to the disclosure of sensitive data or the execution of arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v5.14 by commit 3bb3d6b1c1957e88bfc5e77a4557f7e6ba761fe3 and has been fixed in version v5.15.11 by commit 0b4a5d1e15ce72f69be48f38dc0401dab890ae0f.

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 at this time.

Conclusion

The vulnerability in the dwmac-rk driver of the Kernel could allow for an out-of-bounds read, potentially leading to the disclosure of sensitive information or the execution of arbitrary code. It is crucial to update the Linux Kernel to version v5.15.11 or later to mitigate this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially lead to the disclosure of sensitive data or the execution of arbitrary code.

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 analyze the dependencies and alert you if any vulnerabilities are found.

At the time of this report, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate the risk.

The details regarding the remote exploitability of this vulnerability have not been disclosed. However, it is important to apply the necessary security updates to protect against potential remote attacks.

The only known mitigation for this vulnerability is to update the Linux Kernel to a version that includes the fix. It is recommended to follow the provided steps in the 'how_to_fix' section to apply the necessary updates.

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