net: hns3: fix kernel crash problem in concurrent scenario
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: hns3: fix kernel crash problem in concurrent scenario
When link status change, the nic driver need to notify the roce driver to handle this event, but at this time, the roce driver may uninit, then cause kernel crash.
To fix the problem, when link status change, need to check whether the roce registered, and when uninit, need to wait link update finish.
From the CVE record · Linux
The Linux kernel hns3 network driver can crash when a link-status change occurs while the RoCE driver is being uninitialized. The input does not specify whether an attacker can trigger this condition, or whether network access, authentication, or user interaction is required.
Engineers running Linux systems that use the hns3 network driver should check their kernel; affected versions are not specified.