Repeated Calls to hns3_nic_net_open in net: hns3
Summary
GSD-2021-1001718: net: hns3: do not allow call hns3_nic_net_open repeatedly. Affects Kernel versions >= e888402789b9db5de4fcda361331d66dbf0cd9fd, < 3dac38bdce7932901b9f0b71c62331852c809e61. 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 net: hns3 package is a network driver for Huawei HiSilicon Network SoCs. It provides support for the HNS3 Ethernet controller. The hns3_nic_net_open function is responsible for opening the network device and initializing its resources. However, a vulnerability exists in the package that allows for repeated calls to hns3_nic_net_open, leading to potential security issues.
Vulnerability Detail
The vulnerability in net: hns3 arises from the ability to call hns3_nic_net_open repeatedly. This can result in resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability by repeatedly opening and closing the network device, causing the system to become unresponsive. The impact and attack plausibility of this vulnerability have not been proven yet.
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 specific workaround mentioned for this vulnerability.
Conclusion
The net: hns3 package is vulnerable to repeated calls to hns3_nic_net_open, which can lead to resource exhaustion and potential denial-of-service attacks. It is recommended to update the Linux Kernel to version v5.14.10 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net: hns3 package is a network driver for Huawei HiSilicon Network SoCs, providing support for the HNS3 Ethernet controller.
hns3_nic_net_open is a function in the net: hns3 package responsible for opening the network device and initializing its resources.
The impact of this vulnerability is potential resource exhaustion and denial-of-service attacks due to repeated calls to hns3_nic_net_open.
An attacker can exploit this vulnerability by repeatedly opening and closing the network device, causing the system to become unresponsive.
Yes, the vulnerability is fixed in Linux Kernel version v5.14.10 by commit 3dac38bdce7932901b9f0b71c62331852c809e61.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.