Vulnerability in Kernel Package: Array Overflow in hns_dsaf_ge_srst_by_port()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002413: ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port(). Affects Kernel versions < dd07f8971b81ad98cc754b179b331b57f35aa1ff. 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 Kernel package is a critical component of the Linux operating system, responsible for managing core system functions and providing an interface between hardware and software. It includes various subsystems and drivers to support different hardware devices. One of these subsystems is the Ethernet driver for Hisilicon chips, known as hns (HiSilicon Network Subsystem). The hns_dsaf_misc module within the hns subsystem contains the function hns_dsaf_ge_srst_by_port(), which is susceptible to an array overflow vulnerability.

Vulnerability Detail

The vulnerability in hns_dsaf_ge_srst_by_port() function within the hns_dsaf_misc module can lead to an array overflow. An attacker could exploit this vulnerability by providing malicious input, causing the function to write beyond the boundaries of an array. This could potentially result in memory corruption, leading to a system crash or the execution of arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in the Linux Kernel version v4.19.220 by commit dd07f8971b81ad98cc754b179b331b57f35aa1ff. To address this issue, users are advised to update their Linux Kernel to version v4.19.220 or later. It is recommended to regularly update the Kernel to ensure the latest security patches are applied.

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

Conclusion

The vulnerability in the hns_dsaf_ge_srst_by_port() function within the hns_dsaf_misc module of the Kernel package can result in an array overflow. It is crucial to update the Linux Kernel to version v4.19.220 or later to mitigate this vulnerability. Regularly updating the Kernel is recommended to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system, responsible for managing core system functions and providing an interface between hardware and software.

The hns (HiSilicon Network Subsystem) is an Ethernet driver subsystem within the Kernel package, specifically designed for Hisilicon chips.

The hns_dsaf_misc module is a part of the hns subsystem and contains various functions related to the management of Hisilicon Ethernet devices.

An array overflow vulnerability occurs when a program writes data beyond the boundaries of an array, potentially leading to memory corruption and other security issues.

To fix this vulnerability, update your Linux Kernel to version v4.19.220 or later, which includes the necessary patch to address the array overflow issue.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in the Linux Kernel version v4.19.220 by commit dd07f8971b81ad98cc754b179b331b57f35aa1ff. To address this issue, users are advised to update their Linux Kernel to version v4.19.220 or later. It is recommended to regularly update the Kernel to ensure the latest security patches are applied.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.