Vulnerability in Kernel Package: Array Overflow in hns_dsaf_ge_srst_by_port()
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.